Searched refs:smack (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/security/smack/ |
H A D | Makefile | 6 obj-$(CONFIG_SECURITY_SMACK) := smack.o 8 smack-y := smack_lsm.o smack_access.o smackfs.o 9 smack-$(CONFIG_SECURITY_SMACK_NETFILTER) += smack_netfilter.o
|
H A D | smackfs.c | 27 #include "smack.h" 83 * smack label is contained directly in the category set. 113 * SMACK_PTRACE_DEFAULT regular smack ptrace rules (/proc based) 168 * Set the category bit number in a smack label sized buffer. 255 * smk_perm_from_str - parse smack accesses from a text string 425 * smk_write_rules_list - write() for any /smack rule file 432 * @format: /smack/load or /smack/load2 or /smack/change-rule format. 434 * Get one smack acces 1148 char *smack; smk_write_net4addr() local 1413 char *smack; smk_write_net6addr() local 2068 char *smack = ""; smk_read_unconfined() local [all...] |
H A D | smack_access.c | 13 #include "smack.h" 50 * can be overwritten at run-time by /smack/logging 330 * @subject_label : smack label of the requester 331 * @object_label : smack label of the object being accessed 397 * smk_insert_entry - insert a smack label into a hash map, 437 * smk_parse_smack - parse smack label from a text string 445 char *smack; in smk_parse_smack() local 454 * including /smack/cipso and /smack/cipso2 in smk_parse_smack() 467 smack in smk_parse_smack() 560 char *smack; smk_import_entry() local [all...] |
H A D | smack_lsm.c | 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 coul 4955 DEFINE_LSM(smack) = { global() variable [all...] |
/kernel/linux/linux-6.6/security/smack/ |
H A D | Makefile | 6 obj-$(CONFIG_SECURITY_SMACK) := smack.o 8 smack-y := smack_lsm.o smack_access.o smackfs.o 9 smack-$(CONFIG_SECURITY_SMACK_NETFILTER) += smack_netfilter.o
|
H A D | smackfs.c | 28 #include "smack.h" 84 * smack label is contained directly in the category set. 114 * SMACK_PTRACE_DEFAULT regular smack ptrace rules (/proc based) 169 * Set the category bit number in a smack label sized buffer. 256 * smk_perm_from_str - parse smack accesses from a text string 426 * smk_write_rules_list - write() for any /smack rule file 433 * @format: /smack/load or /smack/load2 or /smack/change-rule format. 435 * Get one smack acces 1160 char *smack; smk_write_net4addr() local 1424 char *smack; smk_write_net6addr() local 2079 char *smack = ""; smk_read_unconfined() local [all...] |
H A D | smack_access.c | 13 #include "smack.h" 50 * can be overwritten at run-time by /smack/logging 330 * @subject_label : smack label of the requester 331 * @object_label : smack label of the object being accessed 397 * smk_insert_entry - insert a smack label into a hash map, 398 * @skp: smack label 438 * smk_parse_smack - parse smack label from a text string 446 char *smack; in smk_parse_smack() local 455 * including /smack/cipso and /smack/cipso in smk_parse_smack() 560 char *smack; smk_import_entry() local [all...] |
H A D | smack_lsm.c | 3 * Simplified MAC Kernel (smack) security module 5 * This file contains the smack hook function implementations. 46 #include "smack.h" 71 #define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s} 282 * smk_fetch - Fetch the smack label from a file. 406 * Returns a converted MAY_* mode usable by smack rules 981 * smack_inode_init_security - copy out the smack from an inode 1533 * smack_inode_getsecurity - get smack xattrs 1902 * Returns 0 if a subject with the object's smack coul 5178 DEFINE_LSM(smack) = { global() variable [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | base.c | 3022 ATTR("smack", "current", 0666), 3024 LSM_DIR_OPS(smack); variable 3044 DIR("smack", 0555,
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | base.c | 3018 ATTR("smack", "current", 0666), 3020 LSM_DIR_OPS(smack); variable 3040 DIR("smack", 0555,
|
Completed in 23 milliseconds