Searched refs:smack (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/smack/
H A DMakefile5 obj-$(CONFIG_SECURITY_SMACK) := smack.o
7 smack-y := smack_lsm.o smack_access.o smackfs.o
H A Dsmack_access.c17 #include "smack.h"
65 * can be overwritten at run-time by /smack/logging
257 * @subject_label : smack label of the requester
258 * @object_label : smack label of the object being accessed
313 char smack[SMK_LABELLEN]; local
322 smack[i] = '\0';
326 smack[i] = '\0';
329 smack[i] = string[i];
332 if (smack[0] == '\0')
339 if (strncmp(skp->smk_known, smack, SMK_MAXLE
420 smack_to_secid(const char *smack) argument
483 smack_to_cipso(const char *smack, struct smack_cipso *cp) argument
[all...]
H A Dsmack_lsm.c2 * Simplified MAC Kernel (smack) security module
4 * This file contains the smack hook function implementations.
34 #include "smack.h"
39 * smk_fetch - Fetch the smack label from a file.
63 * @smack: a pointer to the Smack label to use in the blob
67 struct inode_smack *new_inode_smack(char *smack) argument
75 isp->smk_inode = smack;
270 * @data: the smack mount options
428 * smack_inode_init_security - copy out the smack from an inode
779 * smack_inode_getsecurity - get smack xattr
1143 char *smack = smack_from_secid(secid); local
1524 smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp) argument
2189 char *smack = ipp->security; local
2489 char smack[SMK_LABELLEN]; local
2564 char smack[SMK_LABELLEN]; local
2649 char smack[SMK_LABELLEN]; local
2724 char smack[SMK_LABELLEN]; local
2793 char *smack; local
2956 char *smack; local
[all...]
H A Dsmackfs.c30 #include "smack.h"
65 * smack label is contained directly in the category set.
136 * Seq_file read operations for /smack/load
199 * smk_open_load - open() for /smack/load
247 * smk_write_load - write() for /smack/load
253 * Get one smack access rule from above.
387 panic("smack: Failed to initialize cipso DOI.\n");
437 * Seq_file read operations for /smack/cipso
515 * smk_open_cipso - open() for /smack/cipso
519 * Connect our cipso_seq_* operations with /smack/cips
778 char smack[SMK_LABELLEN]; local
1086 char *smack; local
1129 char *smack = ""; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/
H A DMakefile7 subdir-$(CONFIG_SECURITY_SMACK) += smack
20 obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o

Completed in 108 milliseconds