Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178332365
D10937.1796510532.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
587 B
Referenced Files
None
Subscribers
None
D10937.1796510532.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
Sat, Dec 5, 10:42 PM (11 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42242876
Default Alt Text
D10937.1796510532.diff (587 B)
Attached To
Mode
D10937: capsicum_helpers: Add FIODTYPE to default ioctls allowed
Attached
Detach File
Event Timeline