From: "David S. Miller" <davem@redhat.com>
To: akumar@omnesysindia.com
Cc: netdev@oss.sgi.com
Subject: Re: SIOCETHTOOL history ?
Date: Tue, 06 May 2003 04:49:26 -0700 (PDT) [thread overview]
Message-ID: <20030506.044926.132916721.davem@redhat.com> (raw)
In-Reply-To: <01f301c313cc$4e6cb8b0$243205c0@otp.com>
From: "arun" <akumar@omnesysindia.com>
Date: Tue, 6 May 2003 18:07:48 +0530
I have used SIOCGMIIPHY before and it seemed not to require
any su rights or capabilities.
Yes it does:
/*
* These ioctl calls:
* - require superuser power.
* - require strict serialization.
* - return a value
*/
case SIOCETHTOOL:
case SIOCGMIIPHY:
case SIOCGMIIREG:
if (!capable(CAP_NET_ADMIN))
return -EPERM;
next prev parent reply other threads:[~2003-05-06 11:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-06 12:37 SIOCETHTOOL history ? arun
2003-05-06 11:49 ` David S. Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-06 13:24 arun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030506.044926.132916721.davem@redhat.com \
--to=davem@redhat.com \
--cc=akumar@omnesysindia.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).