diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2017-03-29 22:33:56 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2017-03-29 22:33:56 +0000 |
commit | d8ca0a2b7035288a09eee76d622235051f3c67a8 (patch) | |
tree | 5e2cfb304f67d17fe8d9f08c5428c7f7ae2544fc /sys/sys/sysproto.h | |
parent | 70aca7c8e8dc8f506e97c08927c597e15a775bb1 (diff) | |
download | src-d8ca0a2b7035288a09eee76d622235051f3c67a8.tar.gz src-d8ca0a2b7035288a09eee76d622235051f3c67a8.zip |
Hook up new audit event identifiers for various non-Orange Book/CAPP
system calls supported by OpenBSM 1.2-alpha5.
Obtained from: TrustedBSD Project
MFC after: 3 weeks
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=316182
Diffstat (limited to 'sys/sys/sysproto.h')
-rw-r--r-- | sys/sys/sysproto.h | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index fd0ceda7038f..07e8682e5901 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -2666,7 +2666,7 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_shmsys AUE_SHMSYS #define SYS_AUE_freebsd6_pread AUE_PREAD #define SYS_AUE_freebsd6_pwrite AUE_PWRITE -#define SYS_AUE_setfib AUE_NULL +#define SYS_AUE_setfib AUE_SETFIB #define SYS_AUE_ntp_adjtime AUE_NTP_ADJTIME #define SYS_AUE_setgid AUE_SETGID #define SYS_AUE_setegid AUE_SETEGID @@ -2720,9 +2720,9 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_rfork AUE_RFORK #define SYS_AUE_issetugid AUE_ISSETUGID #define SYS_AUE_lchown AUE_LCHOWN -#define SYS_AUE_aio_read AUE_NULL -#define SYS_AUE_aio_write AUE_NULL -#define SYS_AUE_lio_listio AUE_NULL +#define SYS_AUE_aio_read AUE_AIO_READ +#define SYS_AUE_aio_write AUE_AIO_WRITE +#define SYS_AUE_lio_listio AUE_LIO_LISTIO #define SYS_AUE_getdents AUE_O_GETDENTS #define SYS_AUE_lchmod AUE_LCHMOD #define SYS_AUE_lutimes AUE_LUTIMES @@ -2747,13 +2747,13 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_getsid AUE_GETSID #define SYS_AUE_setresuid AUE_SETRESUID #define SYS_AUE_setresgid AUE_SETRESGID -#define SYS_AUE_aio_return AUE_NULL -#define SYS_AUE_aio_suspend AUE_NULL -#define SYS_AUE_aio_cancel AUE_NULL -#define SYS_AUE_aio_error AUE_NULL -#define SYS_AUE_freebsd6_aio_read AUE_NULL -#define SYS_AUE_freebsd6_aio_write AUE_NULL -#define SYS_AUE_freebsd6_lio_listio AUE_NULL +#define SYS_AUE_aio_return AUE_AIO_RETURN +#define SYS_AUE_aio_suspend AUE_AIO_SUSPEND +#define SYS_AUE_aio_cancel AUE_AIO_CANCEL +#define SYS_AUE_aio_error AUE_AIO_ERROR +#define SYS_AUE_freebsd6_aio_read AUE_AIO_READ +#define SYS_AUE_freebsd6_aio_write AUE_AIO_WRITE +#define SYS_AUE_freebsd6_lio_listio AUE_LIO_LISTIO #define SYS_AUE_yield AUE_NULL #define SYS_AUE_mlockall AUE_MLOCKALL #define SYS_AUE_munlockall AUE_MUNLOCKALL @@ -2778,27 +2778,27 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_freebsd4_sigreturn AUE_SIGRETURN #define SYS_AUE_sigtimedwait AUE_SIGWAIT #define SYS_AUE_sigwaitinfo AUE_NULL -#define SYS_AUE___acl_get_file AUE_NULL -#define SYS_AUE___acl_set_file AUE_NULL -#define SYS_AUE___acl_get_fd AUE_NULL -#define SYS_AUE___acl_set_fd AUE_NULL -#define SYS_AUE___acl_delete_file AUE_NULL -#define SYS_AUE___acl_delete_fd AUE_NULL -#define SYS_AUE___acl_aclcheck_file AUE_NULL -#define SYS_AUE___acl_aclcheck_fd AUE_NULL +#define SYS_AUE___acl_get_file AUE_ACL_GET_FILE +#define SYS_AUE___acl_set_file AUE_ACL_SET_FILE +#define SYS_AUE___acl_get_fd AUE_ACL_GET_FD +#define SYS_AUE___acl_set_fd AUE_ACL_SET_FD +#define SYS_AUE___acl_delete_file AUE_ACL_DELETE_FILE +#define SYS_AUE___acl_delete_fd AUE_ACL_DELETE_FD +#define SYS_AUE___acl_aclcheck_file AUE_ACL_CHECK_FILE +#define SYS_AUE___acl_aclcheck_fd AUE_ACL_CHECK_FD #define SYS_AUE_extattrctl AUE_EXTATTRCTL #define SYS_AUE_extattr_set_file AUE_EXTATTR_SET_FILE #define SYS_AUE_extattr_get_file AUE_EXTATTR_GET_FILE #define SYS_AUE_extattr_delete_file AUE_EXTATTR_DELETE_FILE -#define SYS_AUE_aio_waitcomplete AUE_NULL +#define SYS_AUE_aio_waitcomplete AUE_AIO_WAITCOMPLETE #define SYS_AUE_getresuid AUE_GETRESUID #define SYS_AUE_getresgid AUE_GETRESGID #define SYS_AUE_kqueue AUE_KQUEUE -#define SYS_AUE_kevent AUE_NULL +#define SYS_AUE_kevent AUE_KEVENT #define SYS_AUE_extattr_set_fd AUE_EXTATTR_SET_FD #define SYS_AUE_extattr_get_fd AUE_EXTATTR_GET_FD #define SYS_AUE_extattr_delete_fd AUE_EXTATTR_DELETE_FD -#define SYS_AUE___setugid AUE_NULL +#define SYS_AUE___setugid AUE_SETUGID #define SYS_AUE_eaccess AUE_EACCESS #define SYS_AUE_afs3_syscall AUE_NULL #define SYS_AUE_nmount AUE_NMOUNT @@ -2817,15 +2817,15 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_statfs AUE_STATFS #define SYS_AUE_fstatfs AUE_FSTATFS #define SYS_AUE_fhstatfs AUE_FHSTATFS -#define SYS_AUE_ksem_close AUE_NULL -#define SYS_AUE_ksem_post AUE_NULL -#define SYS_AUE_ksem_wait AUE_NULL -#define SYS_AUE_ksem_trywait AUE_NULL -#define SYS_AUE_ksem_init AUE_NULL -#define SYS_AUE_ksem_open AUE_NULL -#define SYS_AUE_ksem_unlink AUE_NULL -#define SYS_AUE_ksem_getvalue AUE_NULL -#define SYS_AUE_ksem_destroy AUE_NULL +#define SYS_AUE_ksem_close AUE_SEMCLOSE +#define SYS_AUE_ksem_post AUE_SEMPOST +#define SYS_AUE_ksem_wait AUE_SEMWAIT +#define SYS_AUE_ksem_trywait AUE_SEMTRYWAIT +#define SYS_AUE_ksem_init AUE_SEMINIT +#define SYS_AUE_ksem_open AUE_SEMOPEN +#define SYS_AUE_ksem_unlink AUE_SEMUNLINK +#define SYS_AUE_ksem_getvalue AUE_SEMGETVALUE +#define SYS_AUE_ksem_destroy AUE_SEMDESTROY #define SYS_AUE___mac_get_pid AUE_NULL #define SYS_AUE___mac_get_link AUE_NULL #define SYS_AUE___mac_set_link AUE_NULL @@ -2839,20 +2839,20 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_setcontext AUE_NULL #define SYS_AUE_swapcontext AUE_NULL #define SYS_AUE_swapoff AUE_SWAPOFF -#define SYS_AUE___acl_get_link AUE_NULL -#define SYS_AUE___acl_set_link AUE_NULL -#define SYS_AUE___acl_delete_link AUE_NULL -#define SYS_AUE___acl_aclcheck_link AUE_NULL +#define SYS_AUE___acl_get_link AUE_ACL_GET_LINK +#define SYS_AUE___acl_set_link AUE_ACL_SET_LINK +#define SYS_AUE___acl_delete_link AUE_ACL_DELETE_LINK +#define SYS_AUE___acl_aclcheck_link AUE_ACL_CHECK_LINK #define SYS_AUE_sigwait AUE_SIGWAIT -#define SYS_AUE_thr_create AUE_NULL -#define SYS_AUE_thr_exit AUE_NULL +#define SYS_AUE_thr_create AUE_THR_CREATE +#define SYS_AUE_thr_exit AUE_THR_EXIT #define SYS_AUE_thr_self AUE_NULL -#define SYS_AUE_thr_kill AUE_NULL -#define SYS_AUE_jail_attach AUE_NULL +#define SYS_AUE_thr_kill AUE_THR_KILL +#define SYS_AUE_jail_attach AUE_JAIL_ATTACH #define SYS_AUE_extattr_list_fd AUE_EXTATTR_LIST_FD #define SYS_AUE_extattr_list_file AUE_EXTATTR_LIST_FILE #define SYS_AUE_extattr_list_link AUE_EXTATTR_LIST_LINK -#define SYS_AUE_ksem_timedwait AUE_NULL +#define SYS_AUE_ksem_timedwait AUE_SEMWAIT #define SYS_AUE_thr_suspend AUE_NULL #define SYS_AUE_thr_wake AUE_NULL #define SYS_AUE_kldunloadf AUE_MODUNLOAD @@ -2866,29 +2866,29 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_setaudit_addr AUE_SETAUDIT_ADDR #define SYS_AUE_auditctl AUE_AUDITCTL #define SYS_AUE__umtx_op AUE_NULL -#define SYS_AUE_thr_new AUE_NULL +#define SYS_AUE_thr_new AUE_THR_NEW #define SYS_AUE_sigqueue AUE_NULL -#define SYS_AUE_kmq_open AUE_NULL -#define SYS_AUE_kmq_setattr AUE_NULL -#define SYS_AUE_kmq_timedreceive AUE_NULL -#define SYS_AUE_kmq_timedsend AUE_NULL -#define SYS_AUE_kmq_notify AUE_NULL -#define SYS_AUE_kmq_unlink AUE_NULL +#define SYS_AUE_kmq_open AUE_MQ_OPEN +#define SYS_AUE_kmq_setattr AUE_MQ_SETATTR +#define SYS_AUE_kmq_timedreceive AUE_MQ_TIMEDRECEIVE +#define SYS_AUE_kmq_timedsend AUE_MQ_TIMEDSEND +#define SYS_AUE_kmq_notify AUE_MQ_NOTIFY +#define SYS_AUE_kmq_unlink AUE_MQ_UNLINK #define SYS_AUE_abort2 AUE_NULL #define SYS_AUE_thr_set_name AUE_NULL -#define SYS_AUE_aio_fsync AUE_NULL +#define SYS_AUE_aio_fsync AUE_AIO_FSYNC #define SYS_AUE_rtprio_thread AUE_RTPRIO -#define SYS_AUE_sctp_peeloff AUE_NULL -#define SYS_AUE_sctp_generic_sendmsg AUE_NULL -#define SYS_AUE_sctp_generic_sendmsg_iov AUE_NULL -#define SYS_AUE_sctp_generic_recvmsg AUE_NULL +#define SYS_AUE_sctp_peeloff AUE_SCTP_PEELOFF +#define SYS_AUE_sctp_generic_sendmsg AUE_SCTP_GENERIC_SENDMSG +#define SYS_AUE_sctp_generic_sendmsg_iov AUE_SCTP_GENERIC_SENDMSG_IOV +#define SYS_AUE_sctp_generic_recvmsg AUE_SCTP_GENERIC_RECVMSG #define SYS_AUE_pread AUE_PREAD #define SYS_AUE_pwrite AUE_PWRITE #define SYS_AUE_mmap AUE_MMAP #define SYS_AUE_lseek AUE_LSEEK #define SYS_AUE_truncate AUE_TRUNCATE #define SYS_AUE_ftruncate AUE_FTRUNCATE -#define SYS_AUE_thr_kill2 AUE_KILL +#define SYS_AUE_thr_kill2 AUE_THR_KILL2 #define SYS_AUE_shm_open AUE_SHMOPEN #define SYS_AUE_shm_unlink AUE_SHMUNLINK #define SYS_AUE_cpuset AUE_NULL @@ -2913,9 +2913,9 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_unlinkat AUE_UNLINKAT #define SYS_AUE_posix_openpt AUE_POSIX_OPENPT #define SYS_AUE_gssd_syscall AUE_NULL -#define SYS_AUE_jail_get AUE_NULL -#define SYS_AUE_jail_set AUE_NULL -#define SYS_AUE_jail_remove AUE_NULL +#define SYS_AUE_jail_get AUE_JAIL_GET +#define SYS_AUE_jail_set AUE_JAIL_SET +#define SYS_AUE_jail_remove AUE_JAIL_REMOVE #define SYS_AUE_closefrom AUE_CLOSEFROM #define SYS_AUE___semctl AUE_SEMCTL #define SYS_AUE_msgctl AUE_MSGCTL @@ -2928,15 +2928,15 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_pdkill AUE_PDKILL #define SYS_AUE_pdgetpid AUE_PDGETPID #define SYS_AUE_pselect AUE_SELECT -#define SYS_AUE_getloginclass AUE_NULL -#define SYS_AUE_setloginclass AUE_NULL +#define SYS_AUE_getloginclass AUE_GETLOGINCLASS +#define SYS_AUE_setloginclass AUE_SETLOGINCLASS #define SYS_AUE_rctl_get_racct AUE_NULL #define SYS_AUE_rctl_get_rules AUE_NULL #define SYS_AUE_rctl_get_limits AUE_NULL #define SYS_AUE_rctl_add_rule AUE_NULL #define SYS_AUE_rctl_remove_rule AUE_NULL -#define SYS_AUE_posix_fallocate AUE_NULL -#define SYS_AUE_posix_fadvise AUE_NULL +#define SYS_AUE_posix_fallocate AUE_POSIX_FALLOCATE +#define SYS_AUE_posix_fadvise AUE_POSIX_FADVISE #define SYS_AUE_wait6 AUE_WAIT6 #define SYS_AUE_cap_rights_limit AUE_CAP_RIGHTS_LIMIT #define SYS_AUE_cap_ioctls_limit AUE_CAP_IOCTLS_LIMIT @@ -2948,8 +2948,8 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *); #define SYS_AUE_chflagsat AUE_CHFLAGSAT #define SYS_AUE_accept4 AUE_ACCEPT #define SYS_AUE_pipe2 AUE_PIPE -#define SYS_AUE_aio_mlock AUE_NULL -#define SYS_AUE_procctl AUE_NULL +#define SYS_AUE_aio_mlock AUE_AIO_MLOCK +#define SYS_AUE_procctl AUE_PROCCTL #define SYS_AUE_ppoll AUE_POLL #define SYS_AUE_futimens AUE_FUTIMES #define SYS_AUE_utimensat AUE_FUTIMESAT |