diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-10-24 13:54:56 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-10-24 13:54:56 +0000 |
commit | e5a8e69a646dbc2bdc4910086d1c4d8afc21f742 (patch) | |
tree | 723ea9b25cc2b622fbd285c520a85affeaa7d4ca /sys/compat/freebsd32 | |
parent | 60192de8e9cae156ec93abdb86136cdf657a1fca (diff) | |
download | FreeBSD-src-e5a8e69a646dbc2bdc4910086d1c4d8afc21f742.zip FreeBSD-src-e5a8e69a646dbc2bdc4910086d1c4d8afc21f742.tar.gz |
Regenerate.
Diffstat (limited to 'sys/compat/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_proto.h | 52 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscall.h | 11 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscalls.c | 20 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_sysent.c | 20 |
4 files changed, 81 insertions, 22 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index e87be5e..e82dc0c 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.82 2006/10/06 08:22:08 davidxu Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.84 2006/10/24 13:49:44 rwatson Exp */ #ifndef _FREEBSD32_SYSPROTO_H_ @@ -298,6 +298,38 @@ struct freebsd32_umtx_unlock_args { struct freebsd32_thr_suspend_args { char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; }; +struct audit_args { + char record_l_[PADL_(const void *)]; const void * record; char record_r_[PADR_(const void *)]; + char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)]; +}; +struct auditon_args { + char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; + char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; + char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)]; +}; +struct getauid_args { + char auid_l_[PADL_(uid_t *)]; uid_t * auid; char auid_r_[PADR_(uid_t *)]; +}; +struct setauid_args { + char auid_l_[PADL_(uid_t *)]; uid_t * auid; char auid_r_[PADR_(uid_t *)]; +}; +struct getaudit_args { + char auditinfo_l_[PADL_(struct auditinfo *)]; struct auditinfo * auditinfo; char auditinfo_r_[PADR_(struct auditinfo *)]; +}; +struct setaudit_args { + char auditinfo_l_[PADL_(struct auditinfo *)]; struct auditinfo * auditinfo; char auditinfo_r_[PADR_(struct auditinfo *)]; +}; +struct getaudit_addr_args { + char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)]; + char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)]; +}; +struct setaudit_addr_args { + char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)]; + char length_l_[PADL_(u_int)]; u_int length; char length_r_[PADR_(u_int)]; +}; +struct auditctl_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; +}; struct freebsd32_umtx_op_args { char obj_l_[PADL_(void *)]; void * obj; char obj_r_[PADR_(void *)]; char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; @@ -360,6 +392,15 @@ int freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *); int freebsd32_umtx_lock(struct thread *, struct freebsd32_umtx_lock_args *); int freebsd32_umtx_unlock(struct thread *, struct freebsd32_umtx_unlock_args *); int freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *); +int audit(struct thread *, struct audit_args *); +int auditon(struct thread *, struct auditon_args *); +int getauid(struct thread *, struct getauid_args *); +int setauid(struct thread *, struct setauid_args *); +int getaudit(struct thread *, struct getaudit_args *); +int setaudit(struct thread *, struct setaudit_args *); +int getaudit_addr(struct thread *, struct getaudit_addr_args *); +int setaudit_addr(struct thread *, struct setaudit_addr_args *); +int auditctl(struct thread *, struct auditctl_args *); int freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *); int freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *); @@ -502,6 +543,15 @@ int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigr #define FREEBSD32_SYS_AUE_freebsd32_umtx_lock AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_umtx_unlock AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_thr_suspend AUE_NULL +#define FREEBSD32_SYS_AUE_audit AUE_AUDIT +#define FREEBSD32_SYS_AUE_auditon AUE_AUDITON +#define FREEBSD32_SYS_AUE_getauid AUE_GETAUID +#define FREEBSD32_SYS_AUE_setauid AUE_SETAUID +#define FREEBSD32_SYS_AUE_getaudit AUE_GETAUDIT +#define FREEBSD32_SYS_AUE_setaudit AUE_SETAUDIT +#define FREEBSD32_SYS_AUE_getaudit_addr AUE_GETAUDIT_ADDR +#define FREEBSD32_SYS_AUE_setaudit_addr AUE_SETAUDIT_ADDR +#define FREEBSD32_SYS_AUE_auditctl AUE_AUDITCTL #define FREEBSD32_SYS_AUE_freebsd32_umtx_op AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_thr_new AUE_NULL diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h index 4e62931..27a0c6d 100644 --- a/sys/compat/freebsd32/freebsd32_syscall.h +++ b/sys/compat/freebsd32/freebsd32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.82 2006/10/06 08:22:08 davidxu Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.84 2006/10/24 13:49:44 rwatson Exp */ #define FREEBSD32_SYS_syscall 0 @@ -312,6 +312,15 @@ #define FREEBSD32_SYS_freebsd32_thr_suspend 442 #define FREEBSD32_SYS_thr_wake 443 #define FREEBSD32_SYS_kldunloadf 444 +#define FREEBSD32_SYS_audit 445 +#define FREEBSD32_SYS_auditon 446 +#define FREEBSD32_SYS_getauid 447 +#define FREEBSD32_SYS_setauid 448 +#define FREEBSD32_SYS_getaudit 449 +#define FREEBSD32_SYS_setaudit 450 +#define FREEBSD32_SYS_getaudit_addr 451 +#define FREEBSD32_SYS_setaudit_addr 452 +#define FREEBSD32_SYS_auditctl 453 #define FREEBSD32_SYS_freebsd32_umtx_op 454 #define FREEBSD32_SYS_freebsd32_thr_new 455 #define FREEBSD32_SYS_sigqueue 456 diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c index 9a2f440..337873d 100644 --- a/sys/compat/freebsd32/freebsd32_syscalls.c +++ b/sys/compat/freebsd32/freebsd32_syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.82 2006/10/06 08:22:08 davidxu Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.84 2006/10/24 13:49:44 rwatson Exp */ const char *freebsd32_syscallnames[] = { @@ -452,15 +452,15 @@ const char *freebsd32_syscallnames[] = { "freebsd32_thr_suspend", /* 442 = freebsd32_thr_suspend */ "thr_wake", /* 443 = thr_wake */ "kldunloadf", /* 444 = kldunloadf */ - "#445", /* 445 = audit */ - "#446", /* 446 = auditon */ - "#447", /* 447 = getauid */ - "#448", /* 448 = setauid */ - "#449", /* 449 = getaudit */ - "#450", /* 450 = setaudit */ - "#451", /* 451 = getaudit_addr */ - "#452", /* 452 = setaudit_addr */ - "#453", /* 453 = auditctl */ + "audit", /* 445 = audit */ + "auditon", /* 446 = auditon */ + "getauid", /* 447 = getauid */ + "setauid", /* 448 = setauid */ + "getaudit", /* 449 = getaudit */ + "setaudit", /* 450 = setaudit */ + "getaudit_addr", /* 451 = getaudit_addr */ + "setaudit_addr", /* 452 = setaudit_addr */ + "auditctl", /* 453 = auditctl */ "freebsd32_umtx_op", /* 454 = freebsd32_umtx_op */ "freebsd32_thr_new", /* 455 = freebsd32_thr_new */ "sigqueue", /* 456 = sigqueue */ diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c index 5f0ad32..4c6aa45 100644 --- a/sys/compat/freebsd32/freebsd32_sysent.c +++ b/sys/compat/freebsd32/freebsd32_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.82 2006/10/06 08:22:08 davidxu Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.84 2006/10/24 13:49:44 rwatson Exp */ #include "opt_compat.h" @@ -477,15 +477,15 @@ struct sysent freebsd32_sysent[] = { { AS(freebsd32_thr_suspend_args), (sy_call_t *)freebsd32_thr_suspend, AUE_NULL, NULL, 0, 0 }, /* 442 = freebsd32_thr_suspend */ { AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL, NULL, 0, 0 }, /* 443 = thr_wake */ { AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_MODUNLOAD, NULL, 0, 0 }, /* 444 = kldunloadf */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 445 = audit */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 446 = auditon */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 447 = getauid */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 448 = setauid */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 449 = getaudit */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 450 = setaudit */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 451 = getaudit_addr */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 452 = setaudit_addr */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 453 = auditctl */ + { AS(audit_args), (sy_call_t *)audit, AUE_AUDIT, NULL, 0, 0 }, /* 445 = audit */ + { AS(auditon_args), (sy_call_t *)auditon, AUE_AUDITON, NULL, 0, 0 }, /* 446 = auditon */ + { AS(getauid_args), (sy_call_t *)getauid, AUE_GETAUID, NULL, 0, 0 }, /* 447 = getauid */ + { AS(setauid_args), (sy_call_t *)setauid, AUE_SETAUID, NULL, 0, 0 }, /* 448 = setauid */ + { AS(getaudit_args), (sy_call_t *)getaudit, AUE_GETAUDIT, NULL, 0, 0 }, /* 449 = getaudit */ + { AS(setaudit_args), (sy_call_t *)setaudit, AUE_SETAUDIT, NULL, 0, 0 }, /* 450 = setaudit */ + { AS(getaudit_addr_args), (sy_call_t *)getaudit_addr, AUE_GETAUDIT_ADDR, NULL, 0, 0 }, /* 451 = getaudit_addr */ + { AS(setaudit_addr_args), (sy_call_t *)setaudit_addr, AUE_SETAUDIT_ADDR, NULL, 0, 0 }, /* 452 = setaudit_addr */ + { AS(auditctl_args), (sy_call_t *)auditctl, AUE_AUDITCTL, NULL, 0, 0 }, /* 453 = auditctl */ { AS(freebsd32_umtx_op_args), (sy_call_t *)freebsd32_umtx_op, AUE_NULL, NULL, 0, 0 }, /* 454 = freebsd32_umtx_op */ { AS(freebsd32_thr_new_args), (sy_call_t *)freebsd32_thr_new, AUE_NULL, NULL, 0, 0 }, /* 455 = freebsd32_thr_new */ { AS(sigqueue_args), (sy_call_t *)sigqueue, AUE_NULL, NULL, 0, 0 }, /* 456 = sigqueue */ |