Date: Mon, 30 Jan 2006 21:36:36 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90720 for review Message-ID: <200601302136.k0ULaaXc059824@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90720 Change 90720 by rwatson@rwatson_zoo on 2006/01/30 21:35:49 Use AUE_GETDIRENTRIES instead of AUE_O_GETDIRENTRIES as that's the OpenSolaris event identifier. Use AUE_SYSCTL for hostname system calls which are actually just wrappers around sysctl(), and will audit as though it is sysctl(), not as though it were the hostname calls. AUE_NFS_GETFH is the OpenSolaris name for AUE_GETFH. We may want to rename AUE_LGETFH to match this naming scheme. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/kern/syscalls.master#26 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/kern/syscalls.master#26 (text+ko) ==== @@ -304,7 +304,7 @@ 154 AUE_NULL UNIMPL nosys ; 155 is initialized by the NFS code, if present. 155 AUE_NFSSVC MNOIMPL { int nfssvc(int flag, caddr_t argp); } -156 AUE_O_GETDIRENTRIES COMPAT { int getdirentries(int fd, char *buf, \ +156 AUE_GETDIRENTRIES COMPAT { int getdirentries(int fd, char *buf, \ u_int count, long *basep); } 157 AUE_STATFS MCOMPAT4 { int statfs(char *path, \ struct ostatfs *buf); } @@ -313,11 +313,11 @@ 159 AUE_NULL UNIMPL nosys 160 AUE_LGETFH MSTD { int lgetfh(char *fname, \ struct fhandle *fhp); } -161 AUE_GETFH MSTD { int getfh(char *fname, \ +161 AUE_NFS_GETFH MSTD { int getfh(char *fname, \ struct fhandle *fhp); } -162 AUE_O_GETDOMAINNAME MSTD { int getdomainname(char *domainname, \ +162 AUE_SYSCTL MSTD { int getdomainname(char *domainname, \ int len); } -163 AUE_O_SETDOMAINNAME MSTD { int setdomainname(char *domainname, \ +163 AUE_SYSCTL MSTD { int setdomainname(char *domainname, \ int len); } 164 AUE_NULL MSTD { int uname(struct utsname *name); } 165 AUE_NULL MSTD { int sysarch(int op, char *parms); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601302136.k0ULaaXc059824>