Mercurial > hg > dhcpcd
changeset 5542:5b709860f86c draft
privsep: adjust comment for prior
Note that this is a requirement for printf over serial terminals.
| author | Matthew Clarkson <mclarkson@reliablecontrols.com> |
|---|---|
| date | Thu, 19 Nov 2020 19:15:12 +0000 |
| parents | f233c9381c56 |
| children | cf699f8d6df7 |
| files | src/privsep-linux.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */
