diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-10-22 14:36:11 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-10-22 14:36:11 +0000 |
| commit | 391b1d758dcc162c1ce1544d0708c768b69510fb (patch) | |
| tree | 2e0c60431c18d062390c511daa5eb45f53b66d91 /lib/libc/posix1e/mac_set.c | |
| parent | db83b66868ddb31f01f054328c8b111e5bb88bbe (diff) | |
Notes
Diffstat (limited to 'lib/libc/posix1e/mac_set.c')
| -rw-r--r-- | lib/libc/posix1e/mac_set.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/libc/posix1e/mac_set.c b/lib/libc/posix1e/mac_set.c index fd94244cf12e..4e09576cbb44 100644 --- a/lib/libc/posix1e/mac_set.c +++ b/lib/libc/posix1e/mac_set.c @@ -35,21 +35,28 @@ #include <sys/mac.h> int -mac_set_file(const char *path_p, mac_t label) +mac_set_fd(int fd, struct mac *label) { - return (__mac_set_file(path_p, label)); + return (__mac_set_fd(fd, label)); } int -mac_set_fd(int fd, mac_t label) +mac_set_file(const char *path, struct mac *label) { - return (__mac_set_fd(fd, label)); + return (__mac_set_file(path, label)); +} + +int +mac_set_link(const char *path, struct mac *label) +{ + + return (__mac_set_link(path, label)); } int -mac_set_proc(mac_t label) +mac_set_proc(struct mac *label) { return (__mac_set_proc(label)); |
