diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-07-25 03:37:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-07-25 03:37:36 +0000 |
commit | ea88a1acb47801eed83a9396f1257353b4da8ed0 (patch) | |
tree | c4d02bd1a80f9600a6b31b4d28e7fbf800f7c904 /sys/kern/kern_cap.c | |
parent | 9cf81bab1e8cb1fdca2ff2ef481673520bc20be3 (diff) | |
download | FreeBSD-src-ea88a1acb47801eed83a9396f1257353b4da8ed0.zip FreeBSD-src-ea88a1acb47801eed83a9396f1257353b4da8ed0.tar.gz |
o Add missing function return types from capability syscall call stubs,
fix compiler warning.
Submitted by: jake
Diffstat (limited to 'sys/kern/kern_cap.c')
-rw-r--r-- | sys/kern/kern_cap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_cap.c b/sys/kern/kern_cap.c index c0e1824..da34795 100644 --- a/sys/kern/kern_cap.c +++ b/sys/kern/kern_cap.c @@ -69,12 +69,14 @@ __cap_set_proc(struct proc *p, struct __cap_set_proc_args *uap) * Syscalls to allow a process to retrieve capabilities associated with * files, if permitted. */ +int __cap_get_fd(struct proc *p, struct __cap_get_fd_args *uap) { return (ENOSYS); } +int __cap_get_file(struct proc *p, struct __cap_get_file_args *uap) { @@ -85,12 +87,14 @@ __cap_get_file(struct proc *p, struct __cap_get_file_args *uap) * Syscalls to allow a process to set capabilities associated with files, * if permitted. */ +int __cap_set_fd(struct proc *p, struct __cap_set_fd_args *uap) { return (ENOSYS); } +int __cap_set_file(struct proc *p, struct __cap_set_file_args *uap) { |