Page MenuHomeFreeBSD

D10937.id.diff
No OneTemporary

D10937.id.diff

Index: head/lib/libcapsicum/capsicum_helpers.h
===================================================================
--- head/lib/libcapsicum/capsicum_helpers.h
+++ head/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
Tue, Sep 29, 9:59 PM (7 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39901701
Default Alt Text
D10937.id.diff (602 B)

Event Timeline