Page MenuHomeFreeBSD

D10937.1796510532.diff
No OneTemporary

Authored By
Unknown
Size
587 B
Referenced Files
None
Subscribers
None

D10937.1796510532.diff

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

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)

Event Timeline