https://bugzilla.redhat.com/show_bug.cgi?id=1332014
--- Comment #4 from Nathan Scott <nathans@xxxxxxxxxx> ---
Hi Lukas,
pmdalinux may issue these ioctls ...
proc_net_dev.c: if (!(ioctl(fd, SIOCGIFMTU, &ifr) < 0))
proc_net_dev.c: if (!(ioctl(fd, SIOCGIFFLAGS, &ifr) < 0)) {
proc_net_dev.c: if (!(ioctl(fd, SIOCETHTOOL, &ifr) < 0)) {
proc_net_dev.c: } else if (!(ioctl(fd, SIOCGIWRATE, &iwreq) < 0)) {
proc_net_dev.c: if (ioctl(fd, SIOCGIFADDR, &ifr) >= 0) {
proc_net_dev.c: if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) {
... it uses these as a fallback only, if the same information cannot be
accessed via /sys/class/net/[IF]/* from the kernel.
The only other privilege-requiring operation in pmdalinux is setns(2).
cheers.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=AmJvgo0HUG&a=cc_unsubscribe
|