sys_linux: allow ioctl(TCGETS) in seccomp filter
This seems to be needed to allow fopen() called on /dev/urandom to check if it's a terminal.
This commit is contained in:
parent
f660aa9d7a
commit
f21e5f6cc5
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
|
|||
const static int fcntls[] = { F_GETFD, F_SETFD };
|
||||
|
||||
const static unsigned long ioctls[] = {
|
||||
FIONREAD,
|
||||
FIONREAD, TCGETS,
|
||||
#ifdef FEAT_PPS
|
||||
PTP_SYS_OFFSET,
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue