summaryrefslogtreecommitdiff
path: root/sys/kern/kern_cap.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-07-13 20:31:24 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-07-13 20:31:24 +0000
commit92eebb8a9bf93e0054ca8802b186723e04d6fdba (patch)
tree900bc70e705c299e5aca52b03c80cccdf7b73ed6 /sys/kern/kern_cap.c
parent73acacf4ca1c7bbc84b34f9524eb5c733104294a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_cap.c')
-rw-r--r--sys/kern/kern_cap.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/kern/kern_cap.c b/sys/kern/kern_cap.c
index 6c5dc58dce41..c0e182407c79 100644
--- a/sys/kern/kern_cap.c
+++ b/sys/kern/kern_cap.c
@@ -64,3 +64,35 @@ __cap_set_proc(struct proc *p, struct __cap_set_proc_args *uap)
return (ENOSYS);
}
+
+/*
+ * Syscalls to allow a process to retrieve capabilities associated with
+ * files, if permitted.
+ */
+__cap_get_fd(struct proc *p, struct __cap_get_fd_args *uap)
+{
+
+ return (ENOSYS);
+}
+
+__cap_get_file(struct proc *p, struct __cap_get_file_args *uap)
+{
+
+ return (ENOSYS);
+}
+
+/*
+ * Syscalls to allow a process to set capabilities associated with files,
+ * if permitted.
+ */
+__cap_set_fd(struct proc *p, struct __cap_set_fd_args *uap)
+{
+
+ return (ENOSYS);
+}
+
+__cap_set_file(struct proc *p, struct __cap_set_file_args *uap)
+{
+
+ return (ENOSYS);
+}