From owner-p4-projects@FreeBSD.ORG Sun Feb 5 23:09:26 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 23B2B16A426; Sun, 5 Feb 2006 23:09:26 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B664416A430 for ; Sun, 5 Feb 2006 23:09:25 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 731C843D45 for ; Sun, 5 Feb 2006 23:09:25 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k15N9PA1081948 for ; Sun, 5 Feb 2006 23:09:25 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k15N9PhE081945 for perforce@freebsd.org; Sun, 5 Feb 2006 23:09:25 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 5 Feb 2006 23:09:25 GMT Message-Id: <200602052309.k15N9PhE081945@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 91192 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 23:09:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=91192 Change 91192 by rwatson@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); }