DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sat, 23 Jul 2005 20:57:16 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]