From: Matthew Clarkson Date: Thu, 19 Nov 2020 19:15:12 +0000 (+0000) Subject: privsep: adjust comment for prior X-Git-Tag: v9.3.3~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=450a51cc1b6eda96687fa52ede208034b7ec2e12;p=thirdparty%2Fdhcpcd.git privsep: adjust comment for prior Note that this is a requirement for printf over serial terminals. --- diff --git a/src/privsep-linux.c b/src/privsep-linux.c index 306eb249..e588ecd7 100644 --- a/src/privsep-linux.c +++ b/src/privsep-linux.c @@ -257,7 +257,7 @@ static struct sock_filter ps_seccomp_filter[] = { 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 */