diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-22 14:22:24 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-22 14:22:24 +0000 |
commit | a3ad68f14a56085f1520776e09a7a5d5aa19bea9 (patch) | |
tree | 59edf2ea114c6488d7570d0b68d7bdd43174e837 | |
parent | 96b853f537bb380489c2d2f4cd83830523fb1c7e (diff) | |
download | FreeBSD-src-a3ad68f14a56085f1520776e09a7a5d5aa19bea9.zip FreeBSD-src-a3ad68f14a56085f1520776e09a7a5d5aa19bea9.tar.gz |
Flesh out prototypes for __mac_get_pid, __mac_get_link, and
__mac_set_link, based on __mac_get_proc() except with a pid,
and __mac_get_file(), __mac_set_file() except that they do
not follow symlinks. First in a series of commits to flesh
out the user API.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
-rw-r--r-- | sys/kern/syscalls.master | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index e5e7609..a0172b8 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -587,9 +587,11 @@ 406 MNOSTD BSD { int ksem_unlink(const char *name); } 407 MNOSTD BSD { int ksem_getvalue(semid_t id, int *val); } 408 MNOSTD BSD { int ksem_destroy(semid_t id); } -409 UNIMPL BSD __mac_get_pid -410 UNIMPL BSD __mac_get_link -411 UNIMPL BSD __mac_set_link +409 MSTD BSD { int __mac_get_pid(pid_t pid, struct mac *mac_p); } +410 MSTD BSD { int __mac_get_link(const char *path_p, \ + struct mac *mac_p); } +411 MSTD BSD { int __mac_set_link(const char *path_p, \ + struct mac *mac_p); } 412 STD BSD { int extattr_set_link(const char *path, \ int attrnamespace, const char *attrname, \ void *data, size_t nbytes); } |