tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: More duplicate code, vnode locking question
On Tue, 21 Apr 2009 00:25:32 +0300
Elad Efrat <elad%NetBSD.org@localhost> wrote:
> int
> common_mount_allowed(kauth_cred_t cred, struct vnode *vp,
> bool vnode_locked, int mode)
> {
> /* if root, always allow. */
> ...
I'm actually unsure if security level has to be taken into account at
this layer, but if so, I just want to remind that even the superuser
shouldn't be able to mount new file systems under security level >1,
which still might imply a call to kauth in uid == 0 case so the 44bsd
secmodel may enforce security level policy?
Thanks,
--
Matt
Home |
Main Index |
Thread Index |
Old Index