On Thu, 2009-04-09 at 08:07 -0700, Kais Belgaied wrote:
> On 04/09/09 07:02, Sebastien Roy wrote:
> > Folks,
> >
> > Why does the DLDIOC_MACADDRGET ioctl require the sys_dl_config
> > privilege?  Is this a bug?
> >   
> 
> ifconfig as documented, when run by a noon privileged user, it is 
> expected to not show the ether address.

That's an artifact of how DLPI works (implementation leaking through to
the user interface).  A long standing (and oft-requested) feature has
been to have ifconfig display MAC addresses for all users, and more
generally to provide non-privileged access to MAC addresses.

I don't see a reason why this ioctl needs to be a privileged operation.
There's nothing secret about MAC addresses.

-Seb



Reply via email to