Home
last modified time | relevance | path

Searched refs:SMK_LONGLABEL (Results 1 – 4 of 4) sorted by relevance

/linux/security/smack/
H A Dsmack_access.c457 if (len <= 0 || len > SMK_LONGLABEL) in smk_parse_label_len()
458 len = SMK_LONGLABEL; in smk_parse_label_len()
473 if (i == 0 || i >= SMK_LONGLABEL) in smk_parse_label_len()
H A Dsmack.h41 #define SMK_LONGLABEL 256 macro
H A Dsmackfs.c2369 smk_rule_show(s, srp, SMK_LONGLABEL); in load2_seq_show()
2446 smk_rule_show(s, srp, SMK_LONGLABEL); in load_self2_seq_show()
2539 if (count == 0 || count > SMK_LONGLABEL) in smk_write_revoke_subj()
H A Dsmack_lsm.c285 buffer = kzalloc(SMK_LONGLABEL, GFP_NOFS); in smk_fetch()
289 rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL); in smk_fetch()
2921 if (value == NULL || size > SMK_LONGLABEL || size == 0) in smack_inode_setsecurity()
3786 if (value == NULL || size == 0 || size >= SMK_LONGLABEL) in do_setattr()