PERFORCE change 91192 for review
Robert Watson
rwatson at FreeBSD.org
Sun Feb 5 23:09:25 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=91192
Change 91192 by rwatson at rwatson_peppercorn on 2006/02/05 23:08:48
Follow same general strategy for syscalls.isc as other syscall
tables: don't assign signal-related AUE event numbers that are
actually AUE_NULL.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_syscall.h#4 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_sysent.c#4 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/syscalls.isc#4 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_syscall.h#4 (text+ko) ====
==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_sysent.c#4 (text+ko) ====
@@ -22,21 +22,21 @@
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 1 = isc_setostype */
{ SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_RENAME }, /* 2 = ibcs2_rename */
- { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_SIGACTION }, /* 3 = ibcs2_sigaction */
- { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_SIGPROCMASK }, /* 4 = ibcs2_sigprocmask */
- { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_SIGPENDING }, /* 5 = ibcs2_sigpending */
+ { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 3 = ibcs2_sigaction */
+ { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 4 = ibcs2_sigprocmask */
+ { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 5 = ibcs2_sigpending */
{ SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS }, /* 6 = getgroups */
{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS }, /* 7 = setgroups */
{ SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_PATHCONF }, /* 8 = ibcs2_pathconf */
{ SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_FPATHCONF }, /* 9 = ibcs2_fpathconf */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 10 = nosys */
- { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_O_WAIT }, /* 11 = ibcs2_wait */
+ { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_WAIT4 }, /* 11 = ibcs2_wait */
{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID }, /* 12 = setsid */
{ SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_GETPID }, /* 13 = getpid */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 14 = isc_adduser */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 15 = isc_setuser */
{ SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 16 = ibcs2_sysconf */
- { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_SIGSUSPEND }, /* 17 = ibcs2_sigsuspend */
+ { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 17 = ibcs2_sigsuspend */
{ SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK }, /* 18 = ibcs2_symlink */
{ SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK }, /* 19 = ibcs2_readlink */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 20 = isc_getmajor */
==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/syscalls.isc#4 (text+ko) ====
@@ -11,13 +11,13 @@
0 AUE_NULL UNIMPL nosys
1 AUE_NULL UNIMPL isc_setostype
2 AUE_RENAME MNOPROTO { int ibcs2_rename(char *from, char *to); }
-3 AUE_SIGACTION MNOPROTO { int ibcs2_sigaction(int sig, \
+3 AUE_NULL MNOPROTO { int ibcs2_sigaction(int sig, \
struct ibcs2_sigaction *act, \
struct ibcs2_sigaction *oact); }
-4 AUE_SIGPROCMASK NOPROTO { int ibcs2_sigprocmask(int how, \
+4 AUE_NULL NOPROTO { int ibcs2_sigprocmask(int how, \
ibcs2_sigset_t *set, \
ibcs2_sigset_t *oset); }
-5 AUE_SIGPENDING MNOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); }
+5 AUE_NULL MNOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); }
6 AUE_GETGROUPS MNOPROTO { int getgroups(u_int gidsetsize, \
gid_t *gidset); }
7 AUE_SETGROUPS MNOPROTO { int setgroups(u_int gidsetsize, \
@@ -25,13 +25,13 @@
8 AUE_PATHCONF MNOPROTO { int ibcs2_pathconf(char *path, int name); }
9 AUE_FPATHCONF MNOPROTO { int ibcs2_fpathconf(int fd, int name); }
10 AUE_NULL UNIMPL nosys
-11 AUE_O_WAIT MNOPROTO { int ibcs2_wait(int a1, int a2, int a3); }
+11 AUE_WAIT4 MNOPROTO { int ibcs2_wait(int a1, int a2, int a3); }
12 AUE_SETSID MNOPROTO { int setsid(void); }
13 AUE_GETPID MNOPROTO { pid_t getpid(void); }
14 AUE_NULL UNIMPL isc_adduser
15 AUE_NULL UNIMPL isc_setuser
16 AUE_NULL MNOPROTO { int ibcs2_sysconf(int name); }
-17 AUE_SIGSUSPEND MNOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
+17 AUE_NULL MNOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
18 AUE_SYMLINK MNOPROTO { int ibcs2_symlink(char *path, char *link); }
19 AUE_READLINK MNOPROTO { int ibcs2_readlink(char *path, char *buf, \
int count); }
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list