Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 19 of 19) sorted by relevance

/security/
DMakefile6 obj-$(CONFIG_KEYS) += keys/
15 obj-y += commoncap.o
16 obj-$(CONFIG_MMU) += min_addr.o
19 obj-$(CONFIG_SECURITY) += security.o
20 obj-$(CONFIG_SECURITYFS) += inode.o
21 obj-$(CONFIG_SECURITY_SELINUX) += selinux/
22 obj-$(CONFIG_SECURITY_SMACK) += smack/
23 obj-$(CONFIG_AUDIT) += lsm_audit.o
24 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
25 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
[all …]
/security/keys/
DMakefile9 obj-y := \
19 compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
20 obj-$(CONFIG_KEYS_COMPAT) += compat.o $(compat-obj-y)
21 obj-$(CONFIG_PROC_FS) += proc.o
22 obj-$(CONFIG_SYSCTL) += sysctl.o
23 obj-$(CONFIG_PERSISTENT_KEYRINGS) += persistent.o
24 obj-$(CONFIG_KEY_DH_OPERATIONS) += dh.o
29 obj-$(CONFIG_BIG_KEYS) += big_key.o
30 obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
31 obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/
/security/selinux/
DMakefile6 obj-$(CONFIG_SECURITY_SELINUX) := selinux.o
19 $(addprefix $(obj)/,$(selinux-y)): $(obj)/flask.h
21 quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
22 cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
25 $(obj)/flask.h: $(src)/include/classmap.h FORCE
/security/apparmor/
DMakefile4 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o
64 $(obj)/capability.o : $(obj)/capability_names.h
65 $(obj)/resource.o : $(obj)/rlim_names.h
66 $(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
69 $(obj)/rlim_names.h : $(srctree)/include/uapi/asm-generic/resource.h \
Dpolicy_unpack.c568 static int datacmp(struct rhashtable_compare_arg *arg, const void *obj) in datacmp() argument
570 const struct aa_data *data = obj; in datacmp()
/security/tomoyo/
DMakefile2 obj-y = audit.o common.o condition.o domain.o environ.o file.o gc.o group.o load_policy.o memory.o …
7 $(objtree)/scripts/basic/bin2c <$(firstword $(wildcard $(obj)/policy/$(1).conf $(srctree)/$(src)/po…
13 $(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(src)/policy/*.conf.default) FORCE
16 $(obj)/common.o: $(obj)/builtin-policy.h
Dmount.c80 struct tomoyo_obj_info obj = { }; in tomoyo_mount_acl() local
91 r->obj = &obj; in tomoyo_mount_acl()
101 obj.path2 = *dir; in tomoyo_mount_acl()
137 obj.path1 = path; in tomoyo_mount_acl()
172 if (obj.path1.dentry) in tomoyo_mount_acl()
173 path_put(&obj.path1); in tomoyo_mount_acl()
Daudit.c152 struct tomoyo_obj_info *obj = r->obj; in tomoyo_print_header() local
178 if (!obj) in tomoyo_print_header()
180 if (!obj->validate_done) { in tomoyo_print_header()
181 tomoyo_get_attributes(obj); in tomoyo_print_header()
182 obj->validate_done = true; in tomoyo_print_header()
188 if (!obj->stat_valid[i]) in tomoyo_print_header()
190 stat = &obj->stat[i]; in tomoyo_print_header()
265 } else if (r->obj && r->obj->symlink_target) { in tomoyo_init_log()
266 symlink = r->obj->symlink_target->name; in tomoyo_init_log()
Dcondition.c694 void tomoyo_get_attributes(struct tomoyo_obj_info *obj) in tomoyo_get_attributes() argument
703 dentry = obj->path1.dentry; in tomoyo_get_attributes()
708 dentry = obj->path2.dentry; in tomoyo_get_attributes()
720 struct tomoyo_mini_stat *stat = &obj->stat[i]; in tomoyo_get_attributes()
727 obj->stat_valid[i] = true; in tomoyo_get_attributes()
756 struct tomoyo_obj_info *obj; in tomoyo_condition() local
766 obj = r->obj; in tomoyo_condition()
795 symlink = obj ? obj->symlink_target : NULL; in tomoyo_condition()
917 if (!obj) in tomoyo_condition()
919 if (!obj->validate_done) { in tomoyo_condition()
[all …]
Dfile.c695 struct tomoyo_obj_info obj = { in tomoyo_path_number_perm() local
708 r.obj = &obj; in tomoyo_path_number_perm()
743 struct tomoyo_obj_info obj = { in tomoyo_check_open_permission() local
758 r.obj = &obj; in tomoyo_check_open_permission()
789 struct tomoyo_obj_info obj = { in tomoyo_path_perm() local
807 r.obj = &obj; in tomoyo_path_perm()
818 obj.symlink_target = &symlink_target; in tomoyo_path_perm()
846 struct tomoyo_obj_info obj = { in tomoyo_mkdev_perm() local
859 r.obj = &obj; in tomoyo_mkdev_perm()
893 struct tomoyo_obj_info obj = { in tomoyo_path2_perm() local
[all …]
Ddomain.c701 ee->r.obj = &ee->obj; in tomoyo_find_next_domain()
702 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
Dcommon.h422 struct tomoyo_obj_info *obj; member
620 struct tomoyo_obj_info obj; member
1043 void tomoyo_get_attributes(struct tomoyo_obj_info *obj);
/security/integrity/
DMakefile6 obj-$(CONFIG_INTEGRITY) += integrity.o
14 obj-$(CONFIG_IMA) += ima/
16 obj-$(CONFIG_EVM) += evm/
/security/integrity/ima/
DMakefile7 obj-$(CONFIG_IMA) += ima.o
13 obj-$(CONFIG_IMA_BLACKLIST_KEYRING) += ima_mok.o
/security/loadpin/
DMakefile1 obj-$(CONFIG_SECURITY_LOADPIN) += loadpin.o
/security/yama/
DMakefile1 obj-$(CONFIG_SECURITY_YAMA) := yama.o
/security/smack/
DMakefile5 obj-$(CONFIG_SECURITY_SMACK) := smack.o
/security/integrity/evm/
DMakefile4 obj-$(CONFIG_EVM) += evm.o
/security/keys/encrypted-keys/
DMakefile6 obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys.o