mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 05:35:06 -05:00
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:
@@ -504,7 +504,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
|
|||||||
const static int fcntls[] = { F_GETFD, F_SETFD };
|
const static int fcntls[] = { F_GETFD, F_SETFD };
|
||||||
|
|
||||||
const static unsigned long ioctls[] = {
|
const static unsigned long ioctls[] = {
|
||||||
FIONREAD,
|
FIONREAD, TCGETS,
|
||||||
#ifdef FEAT_PPS
|
#ifdef FEAT_PPS
|
||||||
PTP_SYS_OFFSET,
|
PTP_SYS_OFFSET,
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user