From 42075cf7f0d0f626e8a49ed6a31461cf930f3c59 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 17 Jan 2001 01:37:51 +0000 Subject: 2001-01-17 Marcus Brinkmann * iioctl-ops.c (siocsifXaddr): Remove incorrect comment about isroot. (S_iioctl_siocsifflags): Likewise. (S_iioctl_siocsifmtu): And one more time. --- pfinet/ChangeLog | 7 +++++++ pfinet/iioctl-ops.c | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'pfinet') 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 + + * 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 * 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) -- cgit v1.2.3