# HG changeset patch # User Matthew Clarkson # Date 1605813312 0 # Node ID 5b709860f86c613d4ae0a581101c339894ca9492 # Parent f233c9381c56b0878d7f8db9a925c3759ff9a0da privsep: adjust comment for prior Note that this is a requirement for printf over serial terminals. diff -r f233c9381c56 -r 5b709860f86c src/privsep-linux.c --- a/src/privsep-linux.c Thu Nov 19 15:37:33 2020 +0000 +++ b/src/privsep-linux.c Thu Nov 19 19:15:12 2020 +0000 @@ -257,7 +257,7 @@ SECCOMP_ALLOW_ARG(__NR_ioctl, 1, SIOCGIFINDEX), SECCOMP_ALLOW_ARG(__NR_ioctl, 1, SIOCGIFMTU), SECCOMP_ALLOW_ARG(__NR_ioctl, 1, SIOCGIFVLAN), - /* printf on some platforms seems to use this ioctl */ + /* printf over serial terminal requires this */ SECCOMP_ALLOW_ARG(__NR_ioctl, 1, TCGETS), /* SECCOMP BPF is newer than nl80211 so we don't need SIOCGIWESSID * which lives in the impossible to include linux/wireless.h header */