aboutsummaryrefslogtreecommitdiffstats
path: root/sys/freebsd/capsicum.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-11-10 21:54:37 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2021-11-12 16:32:52 +0100
commit0afefce7b7d6ac6f7f4489b6c0b9d06f8be2f5a6 (patch)
tree041b37340a6d0f7de15c496b9095553eedac7587 /sys/freebsd/capsicum.txt
parent0dd854679a8119610343853c6d9229d1d041fde0 (diff)
sys: remove confusing comments that fake directives
It's a somewhat common mistake to write comments instead of directives: #include <foo> #define FOO BAR because that's how it's done in C. In preparation for warning about such cases remove all existing comments that fake directives.
Diffstat (limited to 'sys/freebsd/capsicum.txt')
-rw-r--r--sys/freebsd/capsicum.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/freebsd/capsicum.txt b/sys/freebsd/capsicum.txt
index 142c03027..1cd188229 100644
--- a/sys/freebsd/capsicum.txt
+++ b/sys/freebsd/capsicum.txt
@@ -1,9 +1,6 @@
# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-#include <sys/types.h>
-#include <sys/capsicum.h>
-
cap_enter()
cap_getmode(mode ptr[out, int32])
cap_rights_limit(fd fd, rights ptr[in, array[int64, 2]])