lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] driver core: add uid and gid to devtmpfs
Greg KH <gregkh@linuxfoundation.org> writes:

> On Wed, Apr 10, 2013 at 09:10:12PM -0700, Eric W. Biederman wrote:
>> Still it approaches being twisted to have files like
>> /sys/class/net/eth0/uevent that anyone can read that will only return
>> values in the initial user namespace.
>
> Side note, I don't think that ethernet network devices have uids :)

I didn't think any devices had uids... :)

The generic uevent file was the first place I could think of where we
output this information to userspace. And I don't think that uevent file
is specific network devices.

There isn't anything that limits our netlink messages to clients in the
initial user namespace either.

Nothing huge, but there are some goofy kernel/user interaction cases
that show up when you add this functionality.

Eric


\
 
 \ /
  Last update: 2013-04-11 19:41    [W:0.421 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site