When MPSAFE ttys were merged, a new BSM audit event identifier was

allocated for posix_openpt(2).  Unfortunately, that identifier
conflicts with other events already allocated to other systems in
OpenBSM.  Assign a new globally unique identifier and conform
better to the AUE_ event naming scheme.

This is a stopgap until a new OpenBSM import is done with the
correct identifier, so we'll maintain this as a local diff in svn
until then.

Discussed with:	ed
Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2008-08-24 21:20:35 +00:00
parent 474dee38bf
commit e484af13ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182123
3 changed files with 3 additions and 3 deletions

View File

@ -548,7 +548,7 @@
#define AUE_MKNODAT 43150 /* FreeBSD. */
#define AUE_READLINKAT 43151 /* FreeBSD. */
#define AUE_SYMLINKAT 43152 /* FreeBSD. */
#define AUE_POSIXOPENPT 43153 /* FreeBSD. */
#define AUE_POSIX_OPENPT 43185 /* FreeBSD. */
/*
* Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the

View File

@ -853,4 +853,4 @@
char *path2); }
503 AUE_UNLINKAT NOPROTO { int unlinkat(int fd, char *path, \
int flag); }
504 AUE_POSIXOPENPT NOPROTO { int posix_openpt(int flags); }
504 AUE_POSIX_OPENPT NOPROTO { int posix_openpt(int flags); }

View File

@ -894,6 +894,6 @@
502 AUE_SYMLINKAT STD { int symlinkat(char *path1, int fd, \
char *path2); }
503 AUE_UNLINKAT STD { int unlinkat(int fd, char *path, int flag); }
504 AUE_POSIXOPENPT STD { int posix_openpt(int flags); }
504 AUE_POSIX_OPENPT STD { int posix_openpt(int flags); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master