sys_linux: allow F_GETFL in seccomp filter
This is needed for fdopen().
This commit is contained in:
parent
7a4c396bba
commit
429c4468b0
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
|
||||||
#endif
|
#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[] = {
|
const static unsigned long ioctls[] = {
|
||||||
FIONREAD, TCGETS,
|
FIONREAD, TCGETS,
|
||||||
|
|
Loading…
Reference in a new issue