summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)