mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
sys_linux: allow F_GETFL in seccomp filter
This is needed for fdopen().
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user