login
Header Space

 
 

Re: [patch 07/10] unprivileged mounts: add sysctl tunable for "safe" property

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <serue@...>, <akpm@...>, <hch@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Thursday, February 7, 2008 - 12:57 pm

Quoting Miklos Szeredi (miklos@szeredi.hu):

I like how simple it appears to be :)

At first I missed the fact that owning uid is always 0 so I thought the
uid processing wasn't quite enough.  But since it's always 0, the only
question is whether there are any /proc/sys files whose users currently
depend on being setgid 0 and setgid non-0 with no capabilities.

On my laptop, 'find /proc/sys -type f -perm -020' gives me no results,
so that is promising.

So this certainly seems like a good first step.  In fact, combined with
/proc/sys/ being partially remounted per container like /proc/sys/net is
doing, we may not even need to do anything with CAP_NS_OVERRIDE.

thanks,
-serge

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 07/10] unprivileged mounts: add sysctl tunable fo..., Serge E. Hallyn, (Thu Feb 7, 12:57 pm)
speck-geostationary