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:
Miroslav Lichvar 2015-11-18 12:42:38 +01:00
parent f660aa9d7a
commit f21e5f6cc5

View file

@ -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