/linux-2.6.21.1-rsbac-1.3.4/include/rsbac/syscall_rsbac.h

Go to the documentation of this file.
00001 /************************************ */
00002 /* Rule Set Based Access Control      */
00003 /*                                    */
00004 /* Author and (c) 1999-2004:          */
00005 /*   Amon Ott <ao@rsbac.org>          */
00006 /*                                    */
00007 /* System Calls                       */
00008 /*                                    */
00009 /* Last modified: 13/Apr/2004         */
00010 /************************************ */
00011 
00012 #ifndef __RSBAC_SYSCALL_RSBAC_H
00013 #define __RSBAC_SYSCALL_RSBAC_H
00014 
00015 /* to keep include/asm-alpha/unistd.h happy */
00016 //#define __LIBRARY__
00017 
00018 #include <linux/unistd.h>
00019 #include <rsbac/types.h>
00020 #include <rsbac/syscalls.h>
00021 
00022 #ifdef __PIC__
00023 #undef _syscall3
00024 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
00025         type name(type1 arg1,type2 arg2,type3 arg3) \
00026 {\
00027                 return syscall(__NR_##name, arg1, arg2, arg3);\
00028 }
00029 #endif
00030 
00031 static inline _syscall3(int, rsbac,
00032                 rsbac_version_t, version,
00033                 enum rsbac_syscall_t, call,
00034                 union rsbac_syscall_arg_t *, arg_p);
00035 
00036 #define sys_rsbac(a,b,c) rsbac(a,b,c)
00037 #endif

Generated on Wed May 16 11:53:28 2007 for RSBAC by  doxygen 1.5.1