cvs commit: src/sys/vfs/ufs ufs_vnops.c

Joerg Sonnenberger joerg at britannica.bec.de
Sat Jul 23 13:12:51 PDT 2005


On Sat, Jul 23, 2005 at 11:08:50AM -0700, Matthew Dillon wrote:
> dillon      2005/07/23 11:08:50 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sys/vfs/ufs          ufs_vnops.c 
>   Log:
>   Support disablement of chflags in a jail, part 2/2.  This actually isn't
>   a complete disablement.  Like FreeBSD user-level chflags always work.  This
>   syctl just controls whether root-level chflags should operate as a root
>   chflags or a user chflags inside a jail.

Wouldn't it be more consistent to merge the check into the suser_cred
above by leaving out the PRISON_ROOT based on the variable?

Joerg





More information about the Commits mailing list