Re: [patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-17 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): > > > > MNT_USER and MNT_USERMNT? I claim no way will people keep those > > > > straight. How about MNT_ALLOWUSER and MNT_USER? > > > > > > Umm, is "allowuser" more clear than "usermnt"? What is allowed to the > > > > I think so, yes. One makes it c

Re: [patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-17 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): > > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > > > If MNT_USERMNT flag is not set in the target vfsmount, then > > > > MNT_USER and MNT_USERMNT? I claim no way will people keep those > > straight. How about MNT_ALLOWUSER and MNT_USER? > > Umm

Re: [patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-17 Thread Miklos Szeredi
> > > MNT_USER and MNT_USERMNT? I claim no way will people keep those > > > straight. How about MNT_ALLOWUSER and MNT_USER? > > > > Umm, is "allowuser" more clear than "usermnt"? What is allowed to the > > I think so, yes. One makes it clear that we're talking about allowing > user (something

Re: [patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-17 Thread Miklos Szeredi
> > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > If MNT_USERMNT flag is not set in the target vfsmount, then > > MNT_USER and MNT_USERMNT? I claim no way will people keep those > straight. How about MNT_ALLOWUSER and MNT_USER? Umm, is "allowuser" more clear than "usermnt"? What is allowed

Re: [patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-16 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): > From: Miklos Szeredi <[EMAIL PROTECTED]> > > If MNT_USERMNT flag is not set in the target vfsmount, then MNT_USER and MNT_USERMNT? I claim no way will people keep those straight. How about MNT_ALLOWUSER and MNT_USER? -serge > unprivileged mounts w

[patch 05/10] Add "permit user submounts" flag to vfsmount

2007-04-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> If MNT_USERMNT flag is not set in the target vfsmount, then unprivileged mounts will be denied. By default this flag is cleared, and can be set on new mounts, on remounts or with the MS_SETFLAGS option. Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> --