sys_linux: allow F_GETFL in seccomp filter

This is needed for fdopen().
This commit is contained in:
Miroslav Lichvar 2019-10-24 12:42:02 +02:00
parent 7a4c396bba
commit 429c4468b0

View file

@ -529,7 +529,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
#endif
};
const static int fcntls[] = { F_GETFD, F_SETFD, F_SETFL };
const static int fcntls[] = { F_GETFD, F_SETFD, F_GETFL, F_SETFL };
const static unsigned long ioctls[] = {
FIONREAD, TCGETS,