summaryrefslogtreecommitdiff
path: root/pfinet/iioctl-ops.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-01-17 01:37:51 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-01-17 01:37:51 +0000
commit42075cf7f0d0f626e8a49ed6a31461cf930f3c59 (patch)
tree083d5ade5f05ef4c9f86d65b6b1cb40d17284125 /pfinet/iioctl-ops.c
parentafe57c7088e936383ec019caab4954c792951652 (diff)
2001-01-17 Marcus Brinkmann <marcus@gnu.org>
* iioctl-ops.c (siocsifXaddr): Remove incorrect comment about isroot. (S_iioctl_siocsifflags): Likewise. (S_iioctl_siocsifmtu): And one more time.
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)