summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorwsalamon <wsalamon@FreeBSD.org>2006-07-05 15:46:02 +0000
committerwsalamon <wsalamon@FreeBSD.org>2006-07-05 15:46:02 +0000
commit93c3d5f3e68530c5ceeeacf71dc9c213eaa6c32a (patch)
treeaf31baca0080b07409091e0a7c3aca360cc31334 /sys/kern
parent328d4e80f3e2e4c173171e5a90601e698090e2c5 (diff)
downloadFreeBSD-src-93c3d5f3e68530c5ceeeacf71dc9c213eaa6c32a.zip
FreeBSD-src-93c3d5f3e68530c5ceeeacf71dc9c213eaa6c32a.tar.gz
Add audit events for the extended attribute system calls.
Obtained from: TrustedBSD Project Approved by: rwatson (mentor)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/syscalls.master48
1 files changed, 26 insertions, 22 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 1209e13..ba53824 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -618,16 +618,18 @@
acl_type_t type, struct acl *aclp); }
354 AUE_NULL MSTD { int __acl_aclcheck_fd(int filedes, \
acl_type_t type, struct acl *aclp); }
-355 AUE_NULL MSTD { int extattrctl(const char *path, int cmd, \
+355 AUE_EXTATTRCTL MSTD { int extattrctl(const char *path, int cmd, \
const char *filename, int attrnamespace, \
const char *attrname); }
-356 AUE_NULL MSTD { int extattr_set_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-357 AUE_NULL MSTD { ssize_t extattr_get_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-358 AUE_NULL MSTD { int extattr_delete_file(const char *path, \
+356 AUE_EXTATTR_SET_FILE MSTD { int extattr_set_file( \
+ const char *path, int attrnamespace, \
+ const char *attrname, void *data, \
+ size_t nbytes); }
+357 AUE_EXTATTR_GET_FILE MSTD { ssize_t extattr_get_file( \
+ const char *path, int attrnamespace, \
+ const char *attrname, void *data, \
+ size_t nbytes); }
+358 AUE_EXTATTR_DELETE_FILE MSTD { int extattr_delete_file(const char *path, \
int attrnamespace, \
const char *attrname); }
359 AUE_NULL MNOSTD { int aio_waitcomplete( \
@@ -649,13 +651,13 @@
368 AUE_NULL UNIMPL __cap_set_fd
369 AUE_NULL UNIMPL __cap_set_file
370 AUE_NULL NODEF lkmressys lkmressys nosys_args int
-371 AUE_NULL MSTD { int extattr_set_fd(int fd, \
+371 AUE_EXTATTR_SET_FD MSTD { int extattr_set_fd(int fd, \
int attrnamespace, const char *attrname, \
void *data, size_t nbytes); }
-372 AUE_NULL MSTD { ssize_t extattr_get_fd(int fd, \
+372 AUE_EXTATTR_GET_FD MSTD { ssize_t extattr_get_fd(int fd, \
int attrnamespace, const char *attrname, \
void *data, size_t nbytes); }
-373 AUE_NULL MSTD { int extattr_delete_fd(int fd, \
+373 AUE_EXTATTR_DELETE_FD MSTD { int extattr_delete_fd(int fd, \
int attrnamespace, \
const char *attrname); }
374 AUE_NULL MSTD { int __setugid(int flag); }
@@ -718,14 +720,16 @@
struct mac *mac_p); }
411 AUE_NULL MSTD { int __mac_set_link(const char *path_p, \
struct mac *mac_p); }
-412 AUE_NULL MSTD { int extattr_set_link(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-413 AUE_NULL MSTD { ssize_t extattr_get_link(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-414 AUE_NULL MSTD { int extattr_delete_link(const char *path, \
- int attrnamespace, \
+412 AUE_EXTATTR_SET_LINK MSTD { int extattr_set_link( \
+ const char *path, int attrnamespace, \
+ const char *attrname, void *data, \
+ size_t nbytes); }
+413 AUE_EXTATTR_GET_LINK MSTD { ssize_t extattr_get_link( \
+ const char *path, int attrnamespace, \
+ const char *attrname, void *data, \
+ size_t nbytes); }
+414 AUE_EXTATTR_DELETE_LINK MSTD { int extattr_delete_link( \
+ const char *path, int attrnamespace, \
const char *attrname); }
415 AUE_NULL MSTD { int __mac_execve(char *fname, char **argv, \
char **envv, struct mac *mac_p); }
@@ -761,13 +765,13 @@
434 AUE_NULL MSTD { int _umtx_lock(struct umtx *umtx); }
435 AUE_NULL MSTD { int _umtx_unlock(struct umtx *umtx); }
436 AUE_NULL MSTD { int jail_attach(int jid); }
-437 AUE_NULL MSTD { ssize_t extattr_list_fd(int fd, \
+437 AUE_EXTATTR_LIST_FD MSTD { ssize_t extattr_list_fd(int fd, \
int attrnamespace, void *data, \
size_t nbytes); }
-438 AUE_NULL MSTD { ssize_t extattr_list_file( \
+438 AUE_EXTATTR_LIST_FILE MSTD { ssize_t extattr_list_file( \
const char *path, int attrnamespace, \
void *data, size_t nbytes); }
-439 AUE_NULL MSTD { ssize_t extattr_list_link( \
+439 AUE_EXTATTR_LIST_LINK MSTD { ssize_t extattr_list_link( \
const char *path, int attrnamespace, \
void *data, size_t nbytes); }
440 AUE_NULL MSTD { int kse_switchin( \
OpenPOWER on IntegriCloud