Re: [PATCH 5/7] SELinux: Handle opening of a unioned file

From: Stephen Smalley
Date: Thu Jun 18 2015 - 08:17:48 EST


On 06/18/2015 06:32 AM, David Howells wrote:
> Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
>
>> It is may_create() that has the duplicated logic
>
> Not precisely. may_create() doesn't use SECURITY_FS_USE_MNTPOINT and
> sbsec->mntpoint_sid. Should it?

Yes, they should all use exactly the same logic.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/