Re: group ownership of tun devices -- nonfunctional?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rene Herman <rene.herman@...>
Cc: <7eggert@...>, Mike Mohr <akihana@...>, <linux-kernel@...>
Date: Sunday, August 19, 2007 - 5:42 pm

On Sun, 19 Aug 2007, Rene Herman wrote:


Argh, I edited asuming the same order of variables. Substitute 
current->e{uid,gid} for one of the sides.


The intended semantics is If the user is not
 * the allowed user
or
 * member of the allowed group
or
 * cabable of CAP_NET_ADMIN
then error out. I'm asuming  

Thinking about it, maybe you should check each group, not just the 
effective group. In that case, my change would be still wrong. However, 
I'm not going to fix this anytime soon.

-- 
Funny quotes:
15. I drive way too fast to worry about cholesterol.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: group ownership of tun devices -- nonfunctional?, Bodo Eggert, (Sun Aug 19, 12:05 pm)
Re: group ownership of tun devices -- nonfunctional?, Rene Herman, (Sun Aug 19, 12:10 pm)
Re: group ownership of tun devices -- nonfunctional?, Bodo Eggert, (Sun Aug 19, 5:42 pm)
Re: group ownership of tun devices -- nonfunctional?, Guido Guenther, (Thu Aug 23, 3:13 am)
Re: group ownership of tun devices -- nonfunctional?, Rene Herman, (Sun Aug 19, 7:24 pm)
Re: group ownership of tun devices -- nonfunctional?, Bodo Eggert, (Mon Aug 20, 7:45 am)