diff options
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r-- | lib/libc/posix1e/mac_exec.c | 3 | ||||
-rw-r--r-- | lib/libc/posix1e/mac_get.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/posix1e/mac_exec.c b/lib/libc/posix1e/mac_exec.c index b89a73e..fb3f994 100644 --- a/lib/libc/posix1e/mac_exec.c +++ b/lib/libc/posix1e/mac_exec.c @@ -34,6 +34,9 @@ #include <sys/types.h> #include <sys/mac.h> +extern int __mac_execve(char *fname, char **argv, char **envv, + struct mac *mac_p); + int mac_execve(char *fname, char **argv, char **envv, struct mac *label) { diff --git a/lib/libc/posix1e/mac_get.c b/lib/libc/posix1e/mac_get.c index c5f11f3..7c8f790 100644 --- a/lib/libc/posix1e/mac_get.c +++ b/lib/libc/posix1e/mac_get.c @@ -37,6 +37,12 @@ #include <errno.h> #include <stdlib.h> +extern int __mac_get_fd(int fd, struct mac *mac_p); +extern int __mac_get_file(const char *path_p, struct mac *mac_p); +extern int __mac_get_link(const char *path_p, struct mac *mac_p); +extern int __mac_get_pid(pid_t pid, struct mac *mac_p); +extern int __mac_get_proc(struct mac *mac_p); + int mac_get_fd(int fd, struct mac *label) { |