Le lundi 20 juin 2016 à 10:34 +0000, Datta, Souvik a écrit :
Hello,
I would like to assign a SMACK label to a mount point during
mounting.
Can someone please tell me how this can be done? Does the “context”
parameter in mount command holds good for SMACK?
There are many Smack's options when mounting a file system.
The one you probably want is the default labelling. It can be set using
mount -o smackfsdef=THE_DEFAULT_CONTEXT_THAT_YOU_WISH ...
Details can be found here:
https://www.kernel.org/doc/Documentation/security/Smack.txt
Best regards
José Bollo
Thanks and Regards,
Souvik
_______________________________________________
SMACK-discuss mailing list
SMACK-discuss(a)lists.01.org
https://lists.01.org/mailman/listinfo/smack-discuss