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-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html