/daten/src/linux-2.4.27-rsbac-v1.2.3/include/rsbac/unistd-i386.h

Go to the documentation of this file.
00001 /************************************ */ 00002 /* Rule Set Based Access Control */ 00003 /* Author and (c) 1999-2002: Amon Ott */ 00004 /* System Call definitions - i386 */ 00005 /* Last modified: 20/Mar/2002 */ 00006 /************************************ */ 00007 00008 #ifndef __RSBAC_UNISTD_I386_H 00009 #define __RSBAC_UNISTD_I386_H 00010 00011 #ifndef __NR_security 00012 #define __NR_security 223 00013 #endif 00014 #define __NR_rsbac __NR_security 00015 00016 #define rsbac_syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ 00017 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 00018 { \ 00019 long __res; \ 00020 __asm__ volatile ("int $0x80" \ 00021 : "=a" (__res) \ 00022 : "0" (__NR_##name),"D" ((long)(arg1)),"c" ((long)(arg2)), \ 00023 "d" ((long)(arg3)),"S" ((long)(arg4))); \ 00024 __syscall_return(type,__res); \ 00025 } 00026 00027 #endif

Generated on Tue Aug 31 10:05:22 2004 for RSBAC by doxygen 1.3.8