Add audit events for the extended attribute system calls.

Obtained from: TrustedBSD Project
Approved by: rwatson (mentor)
This commit is contained in:
Wayne Salamon 2006-07-05 15:46:02 +00:00
parent ac4312607d
commit bbe5d0318d

View File

@ -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( \