Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151845035
D46994.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
820 B
Referenced Files
None
Subscribers
None
D46994.diff
View Options
diff --git a/contrib/capsicum-test/capsicum-freebsd.h b/contrib/capsicum-test/capsicum-freebsd.h
--- a/contrib/capsicum-test/capsicum-freebsd.h
+++ b/contrib/capsicum-test/capsicum-freebsd.h
@@ -59,10 +59,9 @@
// Too many links
#define E_TOO_MANY_LINKS EMLINK
-// TODO(FreeBSD): uncomment if/when FreeBSD propagates rights on accept.
-// FreeBSD does not generate a capability from accept(cap_fd,...).
-// https://bugs.freebsd.org/201052
-// #define CAP_FROM_ACCEPT
+// As of commit 85b0f9de11c3 ("capsicum: propagate rights on accept(2)")
+// FreeBSD generates a capability from accept(cap_fd,...).
+#define CAP_FROM_ACCEPT
// TODO(FreeBSD): uncomment if/when FreeBSD propagates rights on sctp_peeloff.
// FreeBSD does not generate a capability from sctp_peeloff(cap_fd,...).
// https://bugs.freebsd.org/201052
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 1:35 AM (3 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31268075
Default Alt Text
D46994.diff (820 B)
Attached To
Mode
D46994: capsicum-test: rights are propagated on accept(2)
Attached
Detach File
Event Timeline
Log In to Comment