summaryrefslogtreecommitdiff
path: root/pfinet/iioctl-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/iioctl-ops.c')
-rw-r--r--pfinet/iioctl-ops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pfinet/iioctl-ops.c b/pfinet/iioctl-ops.c
index 0f82f622..a2a37144 100644
--- a/pfinet/iioctl-ops.c
+++ b/pfinet/iioctl-ops.c
@@ -136,8 +136,6 @@ siocsifXaddr (io_t port,
dev = get_dev (ifnam);
- /* Only root is allowed to change the interface configuration.
- XXX Check the underlying node as well. */
if (!user->isroot)
err = EPERM;
else if (!dev)
@@ -177,8 +175,6 @@ S_iioctl_siocsifflags (io_t port,
dev = get_dev (ifnam);
- /* Only root is allowed to change the interface configuration.
- XXX Check the underlying node as well. */
if (!user->isroot)
err = EPERM;
else if (!dev)
@@ -302,8 +298,6 @@ S_iioctl_siocsifmtu (io_t port,
dev = get_dev (ifnam);
- /* Only root is allowed to change the interface configuration.
- XXX Check the underlying node as well. */
if (!user->isroot)
err = EPERM;
if (!dev)