Lines Matching refs:smack

3  *  Simplified MAC Kernel (smack) security module
5 * This file contains the smack hook function implementations.
45 #include "smack.h"
59 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s}
270 * smk_fetch - Fetch the smack label from a file.
394 * Returns a converted MAY_* mode usable by smack rules
961 * smack_inode_init_security - copy out the smack from an inode
1430 * smack_inode_getsecurity - get smack xattrs
1797 * Returns 0 if a subject with the object's smack could
2005 * Sets the secid to contain a u32 version of the smack label.
2112 * Sets the secid to contain a u32 version of the smack label.
2233 * smack_task_to_inode - copy task smack into the inode blob
2237 * Sets the smack pointer in the inode security blob
2418 * Attach the outbound smack value (smk_out) to the socket.
2452 * Remove the outbound smack value from a socket
2701 * smack_inode_setsecurity - set smack xattrs
2931 * smack_of_ipc - the smack pointer for the ipc
2934 * Returns a pointer to the smack value
3270 * smack_ipc_getsecid - Extract smack security id
3378 * that the smack file system doesn't do
3388 * Programs that change smack have to treat the
3407 * If a smack value has been set we want to use it,
3509 * Returns the length of the smack label or an error code
3538 * Returns the length of the smack label or an error code
3600 * Return 0 if a subject with the smack of sock could access
3601 * an object with the smack of other, otherwise an error code
3651 * Return 0 if a subject with the smack of sock could access
3652 * an object with the smack of other, otherwise an error code
3733 * smack_from_secattr - Convert a netlabel attr.mls.lvl/attr.mls.cat pair to smack
3766 * Without guidance regarding the smack value
3807 * Without guidance regarding the smack value
4471 * the needed unique representation. This also better fits the smack
4477 * smack_audit_rule_init - Initialize a smack audit rule
4480 * @rulestr: smack label to be audited
4535 * @vrule: smack internal rule presentation
4576 * smack_ismaclabel - check if xattr @name references a smack MAC label
4586 * smack_secid_to_secctx - return the smack label for a secid
4604 * smack_secctx_to_secid - return the secid for a smack label
4605 * @secdata: smack label
4676 * Return 1 if this is the smack access Smack attribute.
4909 * smack_init - initialize the smack system
4931 security_add_hooks(smack_hooks, ARRAY_SIZE(smack_hooks), "smack");
4955 DEFINE_LSM(smack) = {
4956 .name = "smack",