Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151149515
D10937.id28859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
587 B
Referenced Files
None
Subscribers
None
D10937.id28859.diff
View Options
Index: lib/libcapsicum/capsicum_helpers.h
===================================================================
--- lib/libcapsicum/capsicum_helpers.h
+++ lib/libcapsicum/capsicum_helpers.h
@@ -31,6 +31,7 @@
#include <sys/param.h>
#include <sys/capsicum.h>
+#include <sys/ioctl.h>
#include <errno.h>
#include <nl_types.h>
@@ -47,7 +48,7 @@
caph_limit_stream(int fd, int flags)
{
cap_rights_t rights;
- unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ };
+ unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ, FIODTYPE };
cap_rights_init(&rights, CAP_FCNTL, CAP_FSTAT, CAP_IOCTL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 10:39 AM (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31026087
Default Alt Text
D10937.id28859.diff (587 B)
Attached To
Mode
D10937: capsicum_helpers: Add FIODTYPE to default ioctls allowed
Attached
Detach File
Event Timeline
Log In to Comment