/usr/include/rsbac/syscall_rsbac.h is in librsbac-dev 1.4.0-repack-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /************************************ */
/* Rule Set Based Access Control */
/* */
/* Author and (c) 1999-2004: */
/* Amon Ott <ao@rsbac.org> */
/* */
/* System Calls */
/* */
/* Last modified: 13/Apr/2004 */
/************************************ */
#ifndef __RSBAC_SYSCALL_RSBAC_H
#define __RSBAC_SYSCALL_RSBAC_H
/* to keep include/asm-alpha/unistd.h happy */
//#define __LIBRARY__
#include <linux/unistd.h>
#include <rsbac/types.h>
#include <rsbac/syscalls.h>
#ifdef __PIC__
#undef _syscall3
#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
type name(type1 arg1,type2 arg2,type3 arg3) \
{\
return syscall(__NR_##name, arg1, arg2, arg3);\
}
#endif
static inline _syscall3(int, rsbac,
rsbac_version_t, version,
enum rsbac_syscall_t, call,
union rsbac_syscall_arg_t *, arg_p);
#define sys_rsbac(a,b,c) rsbac(a,b,c)
#endif
|