Re: [PATCH] SELinux: Create a common helper to determine an inode label [ver #2]

From: David Howells
Date: Thu Jun 18 2015 - 14:23:44 EST


Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:

> >> + rc = selinux_determine_inode_label(d_inode(dentry), name,
> >
> > We want d_inode(dentry->d_parent) here.
>
> Not sure why the caller didn't just pass in the dir inode in the first
> place.

Might be something in one of the other LSMs?

David
--
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/