/security/selinux/ss/ |
D | conditional.c | 24 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) in cond_evaluate_expr() 88 int evaluate_cond_node(struct policydb *p, struct cond_node *node) in evaluate_cond_node() 117 int cond_policydb_init(struct policydb *p) in cond_policydb_init() 167 void cond_policydb_destroy(struct policydb *p) in cond_policydb_destroy() 174 int cond_init_bool_indexes(struct policydb *p) in cond_init_bool_indexes() 185 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() 194 struct policydb *p; in cond_index_bool() local 216 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool() 262 struct policydb *p; member 271 struct policydb *p = data->p; in cond_insertf() local [all …]
|
D | policydb.c | 185 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() 192 static int common_destroy(void *key, void *datum, void *p) in common_destroy() 219 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() 261 static int role_destroy(void *key, void *datum, void *p) in role_destroy() 275 static int type_destroy(void *key, void *datum, void *p) in type_destroy() 282 static int user_destroy(void *key, void *datum, void *p) in user_destroy() 298 static int sens_destroy(void *key, void *datum, void *p) in sens_destroy() 313 static int cat_destroy(void *key, void *datum, void *p) in cat_destroy() 332 static int filenametr_destroy(void *key, void *datum, void *p) in filenametr_destroy() 343 static int range_tr_destroy(void *key, void *datum, void *p) in range_tr_destroy() [all …]
|
D | mls.c | 36 int mls_compute_context_len(struct policydb *p, struct context *context) in mls_compute_context_len() 89 void mls_sid_to_context(struct policydb *p, in mls_sid_to_context() 162 int mls_level_isvalid(struct policydb *p, struct mls_level *l) in mls_level_isvalid() 182 int mls_range_isvalid(struct policydb *p, struct mls_range *r) in mls_range_isvalid() 193 int mls_context_isvalid(struct policydb *p, struct context *c) in mls_context_isvalid() 361 int mls_from_string(struct policydb *p, char *str, struct context *context, in mls_from_string() 402 int mls_setup_user_range(struct policydb *p, in mls_setup_user_range() 487 int mls_compute_sid(struct policydb *p, in mls_compute_sid() 562 void mls_export_netlbl_lvl(struct policydb *p, in mls_export_netlbl_lvl() 583 void mls_import_netlbl_lvl(struct policydb *p, in mls_import_netlbl_lvl() [all …]
|
D | mls.h | 78 static inline void mls_export_netlbl_lvl(struct policydb *p, in mls_export_netlbl_lvl() 84 static inline void mls_import_netlbl_lvl(struct policydb *p, in mls_import_netlbl_lvl() 90 static inline int mls_export_netlbl_cat(struct policydb *p, in mls_export_netlbl_cat() 96 static inline int mls_import_netlbl_cat(struct policydb *p, in mls_import_netlbl_cat()
|
D | avtab.c | 389 struct avtab_datum *d, void *p), in avtab_read_item() 550 struct avtab_datum *d, void *p) in avtab_insertf() 599 int avtab_write_item(struct policydb *p, struct avtab_node *cur, void *fp) in avtab_write_item() 634 int avtab_write(struct policydb *p, struct avtab *a, void *fp) in avtab_write()
|
D | symtab.c | 14 const char *p, *keyp; in symhash() local
|
D | hashtab.c | 19 struct hashtab *p; in hashtab_create() local
|
/security/keys/ |
D | proc.c | 45 struct proc_dir_entry *p; in key_proc_init() local 64 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next() 78 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key() 112 static void *proc_keys_start(struct seq_file *p, loff_t *_pos) in proc_keys_start() 135 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() 145 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() 272 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos) in proc_key_users_start() 289 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos) in proc_key_users_next() 295 static void proc_key_users_stop(struct seq_file *p, void *v) in proc_key_users_stop()
|
D | trusted.c | 670 static int key_seal(struct trusted_key_payload *p, in key_seal() 696 static int key_unseal(struct trusted_key_payload *p, in key_unseal() 749 char *p = c; in getoptions() local 864 static int datablob_parse(char *datablob, struct trusted_key_payload *p, in datablob_parse() 945 struct trusted_key_payload *p = NULL; in trusted_payload_alloc() local 1059 struct trusted_key_payload *p; in trusted_rcu_free() local 1070 struct trusted_key_payload *p; in trusted_update() local 1150 const struct trusted_key_payload *p; in trusted_read() local
|
D | keyctl_pkey.c | 42 char *c = params->info, *p, *q; in keyctl_pkey_params_parse() local 83 void *p; in keyctl_pkey_params_get() local
|
D | key.c | 53 struct rb_node *parent, **p; in key_user_lookup() local 135 struct rb_node *parent, **p; in key_alloc_serial() local 1129 struct key_type *p; in register_key_type() local
|
D | user_defined.c | 196 char *p; in logon_vet_description() local
|
/security/apparmor/include/ |
D | policy.h | 211 static inline struct aa_profile *aa_get_newest_profile(struct aa_profile *p) in aa_get_newest_profile() 243 static inline struct aa_profile *aa_get_profile(struct aa_profile *p) in aa_get_profile() 258 static inline struct aa_profile *aa_get_profile_not0(struct aa_profile *p) in aa_get_profile_not0() 273 static inline struct aa_profile *aa_get_profile_rcu(struct aa_profile __rcu **p) in aa_get_profile_rcu() 290 static inline void aa_put_profile(struct aa_profile *p) in aa_put_profile()
|
D | policy_ns.h | 99 static inline struct aa_profile *aa_deref_parent(struct aa_profile *p) in aa_deref_parent()
|
/security/apparmor/ |
D | policy.c | 505 struct aa_profile *p, *profile; in aa_new_null_profile() local 749 struct aa_profile *p; in __replace_profile() local 797 bool noreplace, struct aa_profile **p, in __lookup_replace() 955 struct aa_profile *p; in aa_replace_profiles() local 965 struct aa_profile *p = (struct aa_profile *) policy; in aa_replace_profiles() local 983 struct aa_profile *p; in aa_replace_profiles() local
|
D | task.c | 26 struct aa_label *p; in aa_get_task_label() local
|
/security/tomoyo/ |
D | util.c | 832 static bool tomoyo_path_matches_pattern2(const char *f, const char *p) in tomoyo_path_matches_pattern2() 919 const char *p = pattern->name; in tomoyo_path_matches_pattern() local 974 struct tomoyo_profile *p; in tomoyo_get_mode() local
|
D | realpath.c | 26 const char *p = str; in tomoyo_encode2() local
|
/security/ |
D | security.c | 1638 int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() 1643 int security_task_getpgid(struct task_struct *p) in security_task_getpgid() 1648 int security_task_getsid(struct task_struct *p) in security_task_getsid() 1653 void security_task_getsecid(struct task_struct *p, u32 *secid) in security_task_getsecid() 1660 int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() 1665 int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio() 1670 int security_task_getioprio(struct task_struct *p) in security_task_getioprio() 1681 int security_task_setrlimit(struct task_struct *p, unsigned int resource, in security_task_setrlimit() 1687 int security_task_setscheduler(struct task_struct *p) in security_task_setscheduler() 1692 int security_task_getscheduler(struct task_struct *p) in security_task_getscheduler() [all …]
|
D | commoncap.c | 1085 static int cap_safe_nice(struct task_struct *p) in cap_safe_nice() 1106 int cap_task_setscheduler(struct task_struct *p) in cap_task_setscheduler() 1119 int cap_task_setioprio(struct task_struct *p, int ioprio) in cap_task_setioprio() 1132 int cap_task_setnice(struct task_struct *p, int nice) in cap_task_setnice()
|
/security/smack/ |
D | smack_lsm.c | 2043 static int smk_curacc_on_task(struct task_struct *p, int access, in smk_curacc_on_task() 2064 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid() 2075 static int smack_task_getpgid(struct task_struct *p) in smack_task_getpgid() 2086 static int smack_task_getsid(struct task_struct *p) in smack_task_getsid() 2098 static void smack_task_getsecid(struct task_struct *p, u32 *secid) in smack_task_getsecid() 2112 static int smack_task_setnice(struct task_struct *p, int nice) in smack_task_setnice() 2124 static int smack_task_setioprio(struct task_struct *p, int ioprio) in smack_task_setioprio() 2135 static int smack_task_getioprio(struct task_struct *p) in smack_task_getioprio() 2146 static int smack_task_setscheduler(struct task_struct *p) in smack_task_setscheduler() 2157 static int smack_task_getscheduler(struct task_struct *p) in smack_task_getscheduler() [all …]
|
/security/integrity/ |
D | iint.c | 97 struct rb_node **p; in integrity_inode_get() local
|
/security/integrity/ima/ |
D | ima_modsig.c | 67 const void *p; in ima_read_modsig() local
|
/security/integrity/platform_certs/ |
D | load_uefi.c | 77 char *hash, *p; in uefi_blacklist_hash() local
|
/security/safesetid/ |
D | securityfs.c | 114 char *buf, *p, *end; in handle_policy_update() local
|