[PATCH v11 2/4] smack: Set the SMACK64TRANSMUTE xattr in smack_inode_init_security()
Roberto Sassu
roberto.sassu at huaweicloud.com
Sat Jun 10 07:01:35 UTC 2023
On 6/9/2023 9:26 AM, Jarkko Sakkinen wrote:
> On Mon Jun 5, 2023 at 11:38 AM EEST, Roberto Sassu wrote:
>> On Sat, 2023-06-03 at 21:15 +0200, Roberto Sassu wrote:
>>> From: Roberto Sassu <roberto.sassu at huawei.com>
>>>
>>> With the newly added ability of LSMs to supply multiple xattrs, set
>>> SMACK64TRASMUTE in smack_inode_init_security(), instead of d_instantiate().
>
> nit: TRANSMUTE
>
> Sorry, just hit into my eye. I skimmed it because I implemented original
> feature :-)
Cool!
Currently the transmute xattr is defined as:
#define XATTR_SMACK_TRANSMUTE "SMACK64TRANSMUTE"
so, should be good to say the full xattr name, right?
Thanks
Roberto
More information about the Linux-security-module-archive
mailing list