summaryrefslogtreecommitdiff
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
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.
-rw-r--r--pfinet/ChangeLog7
-rw-r--r--pfinet/iioctl-ops.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog
index a848cf18..5de70e3a 100644
--- a/pfinet/ChangeLog
+++ b/pfinet/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* pfinet-ops.c: New file to implement hurd/pfinet.defs.
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)