Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 44) sorted by relevance

12

/security/selinux/ss/
Dconditional.c24 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr) in cond_evaluate_expr()
92 static void evaluate_cond_node(struct policydb *p, struct cond_node *node) in evaluate_cond_node()
123 void evaluate_cond_nodes(struct policydb *p) in evaluate_cond_nodes()
131 void cond_policydb_init(struct policydb *p) in cond_policydb_init()
148 static void cond_list_destroy(struct policydb *p) in cond_list_destroy()
159 void cond_policydb_destroy(struct policydb *p) in cond_policydb_destroy()
166 int cond_init_bool_indexes(struct policydb *p) in cond_init_bool_indexes()
177 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool()
186 struct policydb *p; in cond_index_bool() local
208 int cond_read_bool(struct policydb *p, struct symtab *s, void *fp) in cond_read_bool()
[all …]
Dpolicydb.c184 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy()
191 static int common_destroy(void *key, void *datum, void *p) in common_destroy()
218 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy()
260 static int role_destroy(void *key, void *datum, void *p) in role_destroy()
274 static int type_destroy(void *key, void *datum, void *p) in type_destroy()
281 static int user_destroy(void *key, void *datum, void *p) in user_destroy()
297 static int sens_destroy(void *key, void *datum, void *p) in sens_destroy()
312 static int cat_destroy(void *key, void *datum, void *p) in cat_destroy()
331 static int filenametr_destroy(void *key, void *datum, void *p) in filenametr_destroy()
348 static int range_tr_destroy(void *key, void *datum, void *p) in range_tr_destroy()
[all …]
Dmls.c36 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()
488 int mls_compute_sid(struct policydb *p, in mls_compute_sid()
564 void mls_export_netlbl_lvl(struct policydb *p, in mls_export_netlbl_lvl()
585 void mls_import_netlbl_lvl(struct policydb *p, in mls_import_netlbl_lvl()
[all …]
Dmls.h81 static inline void mls_export_netlbl_lvl(struct policydb *p, in mls_export_netlbl_lvl()
87 static inline void mls_import_netlbl_lvl(struct policydb *p, in mls_import_netlbl_lvl()
93 static inline int mls_export_netlbl_cat(struct policydb *p, in mls_export_netlbl_cat()
99 static inline int mls_import_netlbl_cat(struct policydb *p, in mls_import_netlbl_cat()
Davtab.c402 const struct avtab_datum *d, void *p), in avtab_read_item()
563 const struct avtab_datum *d, void *p) in avtab_insertf()
612 int avtab_write_item(struct policydb *p, const struct avtab_node *cur, void *fp) in avtab_write_item()
647 int avtab_write(struct policydb *p, struct avtab *a, void *fp) in avtab_write()
Dsymtab.c14 const char *p, *keyp; in symhash() local
/security/keys/
Dproc.c45 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()
147 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop()
274 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos) in proc_key_users_start()
291 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos) in proc_key_users_next()
297 static void proc_key_users_stop(struct seq_file *p, void *v) in proc_key_users_stop()
Dkeyctl_pkey.c42 char *c = params->info, *p, *q; in keyctl_pkey_params_parse() local
83 void *p; in keyctl_pkey_params_get() local
Dkey.c54 struct rb_node *parent, **p; in key_user_lookup() local
136 struct rb_node *parent, **p; in key_alloc_serial() local
1148 struct key_type *p; in register_key_type() local
Duser_defined.c195 char *p; in logon_vet_description() local
/security/keys/trusted-keys/
Dtrusted_core.c69 static int datablob_parse(char **datablob, struct trusted_key_payload *p) in datablob_parse()
118 struct trusted_key_payload *p = NULL; in trusted_payload_alloc() local
213 struct trusted_key_payload *p; in trusted_rcu_free() local
224 struct trusted_key_payload *p; in trusted_update() local
285 const struct trusted_key_payload *p; in trusted_read() local
Dtrusted_tee.c63 static int trusted_tee_seal(struct trusted_key_payload *p, char *datablob) in trusted_tee_seal()
124 static int trusted_tee_unseal(struct trusted_key_payload *p, char *datablob) in trusted_tee_unseal()
Dtrusted_tpm1.c661 static int key_seal(struct trusted_key_payload *p, in key_seal()
687 static int key_unseal(struct trusted_key_payload *p, in key_unseal()
736 char *p = c; in getoptions() local
888 static int trusted_tpm_seal(struct trusted_key_payload *p, char *datablob) in trusted_tpm_seal()
933 static int trusted_tpm_unseal(struct trusted_key_payload *p, char *datablob) in trusted_tpm_unseal()
/security/apparmor/include/
Dpolicy.h211 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()
Dpolicy_ns.h99 static inline struct aa_profile *aa_deref_parent(struct aa_profile *p) in aa_deref_parent()
/security/apparmor/
Dpolicy.c506 struct aa_profile *p, *profile; in aa_new_null_profile() local
750 struct aa_profile *p; in __replace_profile() local
798 bool noreplace, struct aa_profile **p, in __lookup_replace()
956 struct aa_profile *p; in aa_replace_profiles() local
966 struct aa_profile *p = (struct aa_profile *) policy; in aa_replace_profiles() local
984 struct aa_profile *p; in aa_replace_profiles() local
Dtask.c26 struct aa_label *p; in aa_get_task_label() local
/security/tomoyo/
Dutil.c854 static bool tomoyo_path_matches_pattern2(const char *f, const char *p) in tomoyo_path_matches_pattern2()
941 const char *p = pattern->name; in tomoyo_path_matches_pattern() local
996 struct tomoyo_profile *p; in tomoyo_get_mode() local
Drealpath.c27 const char *p = str; in tomoyo_encode2() local
/security/integrity/platform_certs/
Dkeyring_handler.c25 char *hash, *p; in uefi_blacklist_hash() local
/security/smack/
Dsmack_lsm.c2044 static int smk_curacc_on_task(struct task_struct *p, int access, in smk_curacc_on_task()
2065 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid()
2076 static int smack_task_getpgid(struct task_struct *p) in smack_task_getpgid()
2087 static int smack_task_getsid(struct task_struct *p) in smack_task_getsid()
2099 static void smack_task_getsecid_subj(struct task_struct *p, u32 *secid) in smack_task_getsecid_subj()
2113 static void smack_task_getsecid_obj(struct task_struct *p, u32 *secid) in smack_task_getsecid_obj()
2127 static int smack_task_setnice(struct task_struct *p, int nice) in smack_task_setnice()
2139 static int smack_task_setioprio(struct task_struct *p, int ioprio) in smack_task_setioprio()
2150 static int smack_task_getioprio(struct task_struct *p) in smack_task_getioprio()
2161 static int smack_task_setscheduler(struct task_struct *p) in smack_task_setscheduler()
[all …]
/security/
Dsecurity.c1830 int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid()
1835 int security_task_getpgid(struct task_struct *p) in security_task_getpgid()
1840 int security_task_getsid(struct task_struct *p) in security_task_getsid()
1845 void security_task_getsecid_subj(struct task_struct *p, u32 *secid) in security_task_getsecid_subj()
1852 void security_task_getsecid_obj(struct task_struct *p, u32 *secid) in security_task_getsecid_obj()
1859 int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice()
1864 int security_task_setioprio(struct task_struct *p, int ioprio) in security_task_setioprio()
1869 int security_task_getioprio(struct task_struct *p) in security_task_getioprio()
1880 int security_task_setrlimit(struct task_struct *p, unsigned int resource, in security_task_setrlimit()
1886 int security_task_setscheduler(struct task_struct *p) in security_task_setscheduler()
[all …]
Dcommoncap.c1180 static int cap_safe_nice(struct task_struct *p) in cap_safe_nice()
1203 int cap_task_setscheduler(struct task_struct *p) in cap_task_setscheduler()
1218 int cap_task_setioprio(struct task_struct *p, int ioprio) in cap_task_setioprio()
1233 int cap_task_setnice(struct task_struct *p, int nice) in cap_task_setnice()
/security/integrity/ima/
Dima_modsig.c47 const void *p; in ima_read_modsig() local
/security/integrity/
Diint.c126 struct rb_node **p; in integrity_inode_get() local

12