summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Clarkson <mclarkson@reliablecontrols.com>2020-11-19 19:15:12 +0000
committerRoy Marples <roy@marples.name>2020-11-19 19:15:12 +0000
commit450a51cc1b6eda96687fa52ede208034b7ec2e12 (patch)
tree9277303a23519037df9e49ff76e01b15606ac5fe
parent3a32f22b03b30961ee922ff864ee525fb75fd488 (diff)
downloaddhcpcd-450a51cc1b6eda96687fa52ede208034b7ec2e12.tar.xz
privsep: adjust comment for prior
Note that this is a requirement for printf over serial terminals.
-rw-r--r--src/privsep-linux.c2
1 files changed, 1 insertions, 1 deletions
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 */