/security/integrity/ima/ |
D | ima_crypto.c | 64 long rc; in ima_init_crypto() local 81 int rc; in ima_alloc_tfm() local 168 int rc; in ima_alloc_atfm() local 210 int rc, rbuf_len, active = 0, ahash_rc = 0; in ima_calc_file_hash_atfm() local 318 int rc; in ima_calc_file_ahash() local 337 int rc; in ima_calc_file_hash_tfm() local 383 int rc; in ima_calc_file_shash() local 412 int rc; in ima_calc_file_hash() local 473 int rc, i; in ima_calc_field_array_hash_tfm() local 517 int rc; in ima_calc_field_array_hash() local [all …]
|
D | ima_appraise.c | 63 int rc, offset; in ima_fix_xattr() local 213 int rc = -EINVAL, hash_start = 0; in xattr_verify() local 289 int rc; in modsig_verify() local 325 int rc = xattr_len; in ima_appraise_measurement() local 428 int rc = 0; in ima_update_xattr() local
|
D | ima_modsig.c | 68 int rc; in ima_read_modsig() local 119 int rc; in ima_collect_modsig() local
|
/security/selinux/ |
D | netlabel.c | 46 int rc; in selinux_netlbl_sidlookup_cached() local 69 int rc; in selinux_netlbl_sock_genattr() local 193 int rc; in selinux_netlbl_skbuff_getsid() local 229 int rc; in selinux_netlbl_skbuff_setsid() local 274 int rc; in selinux_netlbl_sctp_assoc_request() local 326 int rc; in selinux_netlbl_inet_conn_request() local 391 int rc; in selinux_netlbl_socket_post_create() local 433 int rc; in selinux_netlbl_sock_rcv_skb() local 505 int rc = 0; in selinux_netlbl_socket_setsockopt() local 544 int rc; in selinux_netlbl_socket_connect_helper() local [all …]
|
D | hooks.c | 464 int rc; in may_context_mount_sb_relabel() local 483 int rc; in may_context_mount_inode_relabel() local 542 int rc = 0; in sb_finish_set_opts() local 634 int rc = security_context_str_to_sid(&selinux_state, s, in parse_sid() local 659 int rc = 0; in selinux_set_mnt_opts() local 921 int rc = 0; in selinux_sb_clone_mnt_opts() local 1044 int rc, i; in selinux_add_mnt_opt() local 1082 int rc; in show_sid() local 1103 int rc; in selinux_sb_show_options() local 1338 int rc; in selinux_genfs_get_sid() local [all …]
|
D | xfrm.c | 78 int rc; in selinux_xfrm_alloc_user() local 155 int rc; in selinux_xfrm_policy_lookup() local 272 int rc; in selinux_xfrm_skb_sid() local 346 int rc; in selinux_xfrm_state_alloc_acquire() local
|
D | avc.c | 200 unsigned int rc = 0; in avc_xperms_has_perm() local 628 int rc = 0; in avc_insert() local 710 int rc; in avc_audit_post_callback() local 813 int rc = 0; in avc_add_callback() local 849 int hvalue, rc = 0; in avc_update_node() local 983 int rc = 0, tmprc; in avc_ss_reset() local 1062 int rc = 0, rc2; in avc_has_extended_perms() local 1153 int rc = 0; in avc_has_perm_noaudit() local 1196 int rc, rc2; in avc_has_perm() local
|
/security/selinux/ss/ |
D | policydb.c | 374 int rc; in roles_init() local 470 int i, rc; in policydb_init() local 696 int i, rc; in policydb_index() local 853 int rc; in policydb_load_isids() local 969 int rc; in mls_read_range_helper() local 1029 int rc; in context_read_and_validate() local 1066 int rc; in str_read() local 1091 int rc; in perm_read() local 1126 int i, rc; in common_read() local 1173 int rc; in type_set_read() local [all …]
|
D | conditional.c | 119 int rc; in cond_policydb_init() local 222 int rc; in cond_read_bool() local 275 int rc = -EINVAL; in cond_insertf() local 351 int i, rc; in cond_read_av_list() local 399 int rc; in cond_read_node() local 454 int rc; in cond_read_list() local 497 int rc; in cond_write_bool() local 527 int rc; in cond_write_av_list() local 555 int rc; in cond_write_node() local 594 int rc; in cond_write_list() local
|
D | context.h | 44 int rc; in mls_context_cpy() local 64 int rc; in mls_context_cpy_low() local 84 int rc; in mls_context_cpy_high() local 121 int rc; in context_cpy() local
|
D | services.c | 760 int rc = 0; in security_compute_validatetrans() local 861 int rc; in security_bounded_transition() local 1262 int rc; in security_sidtab_hash_stats() local 1286 int rc = 0; in security_sid_to_context_core() local 1395 int rc = 0; in string_to_context_struct() local 1466 int rc; in context_add_hash() local 1486 int rc; in context_struct_to_sid() local 1508 int rc = 0; in security_context_to_sid_core() local 1701 int rc = 0; in security_compute_sid() local 1984 int rc; in convert_context() local [all …]
|
D | mls.c | 244 int l, rc, i; in mls_context_to_sid() local 365 int rc; in mls_from_string() local 388 int l, rc = 0; in mls_range_set() local 471 int rc; in mls_convert_context() local 608 int rc; in mls_export_netlbl_cat() local 637 int rc; in mls_import_netlbl_cat() local
|
D | ebitmap.c | 98 int rc; in ebitmap_netlbl_export() local 146 int rc; in ebitmap_netlbl_import() local 354 int rc, i; in ebitmap_read() local 458 int bit, last_bit, last_startbit, rc; in ebitmap_write() local
|
D | sidtab.c | 60 int rc; in sidtab_set_initial() local 244 int rc; in sidtab_context_to_sid() local 340 int rc; in sidtab_convert_tree() local 387 int rc; in sidtab_convert() local
|
D | avtab.c | 399 int i, rc; in avtab_read_item() local 557 int rc; in avtab_read() local 603 int rc; in avtab_write_item() local 637 int rc = 0; in avtab_write() local
|
/security/smack/ |
D | smack_lsm.c | 121 struct smack_known *oskp, int mode, int rc) in smk_bu_note() 141 int mode, int rc) in smk_bu_current() 162 static int smk_bu_task(struct task_struct *otp, int mode, int rc) in smk_bu_task() 184 static int smk_bu_inode(struct inode *inode, int mode, int rc) in smk_bu_inode() 214 static int smk_bu_file(struct file *file, int mode, int rc) in smk_bu_file() 244 int mode, int rc) in smk_bu_credfile() 284 int rc; in smk_fetch() local 354 int rc = 0; in smk_copy_rules() local 424 int rc; in smk_ptrace_rule_check() local 502 int rc; in smack_ptrace_traceme() local [all …]
|
D | smackfs.c | 217 int rc = 0; in smk_set_access() local 370 int rc; in smk_parse_rule() local 392 int rc; in smk_parse_long_rule() local 450 int rc; in smk_write_rules_list() local 685 int rc; in smk_cipso_doi() local 728 int rc; in smk_unlbl_ambient() local 840 ssize_t rc = -EINVAL; in smk_set_cipso() local 1131 int rc; in smk_write_net4addr() local 1394 int rc = 0; in smk_write_net6addr() local 1553 ssize_t rc; in smk_read_doi() local [all …]
|
D | smack_access.c | 120 int rc = 0; in smk_access() local 224 int rc; in smk_tskacc() local 491 int rc; in smk_netlbl_mls() local 527 int rc; in smk_import_entry() local 637 int rc; in smack_privileged_cred() local
|
/security/integrity/platform_certs/ |
D | platform_keyring.c | 30 int rc; in add_to_platform_keyring() local 45 int rc; in platform_keyring_init() local
|
/security/integrity/evm/ |
D | evm_crypto.c | 54 int rc; in evm_set_key() local 76 long rc; in init_desc() local 273 int rc = 0; in evm_is_immutable() local 307 int rc = 0; in evm_update_evmxattr() local 357 int rc; in evm_init_key() local
|
D | evm_secfs.c | 45 ssize_t rc; in evm_read_key() local 133 ssize_t rc, size = 0; in evm_read_xattrs() local
|
D | evm_main.c | 140 int rc, xattr_len; in evm_verify_hmac() local 525 int rc; in evm_inode_init_security() local 552 int rc; in evm_load_x509() local
|
/security/yama/ |
D | yama_lsm.c | 224 int rc = -ENOSYS; in yama_task_prctl() local 275 int rc = 0; in task_is_descendant() local 308 int rc = 0; in ptracer_exception_found() local 357 int rc = 0; in yama_ptrace_access_check() local 402 int rc = 0; in yama_ptrace_traceme() local
|
/security/integrity/ |
D | digsig.c | 151 int rc = 0; in integrity_add_key() local 176 int rc; in integrity_load_x509() local
|
/security/ |
D | security.c | 514 int rc = lsm_cred_alloc(cred, GFP_KERNEL); in lsm_early_cred() local 633 int rc = lsm_task_alloc(task); in lsm_early_task() local 756 int rc; in security_vm_enough_memory_mm() local 915 int rc = lsm_inode_alloc(inode); in security_inode_alloc() local 1307 int rc; in security_inode_getsecurity() local 1325 int rc; in security_inode_setsecurity() local 1385 int rc = lsm_file_alloc(file); in security_file_alloc() local 1507 int rc = lsm_task_alloc(task); in security_task_alloc() local 1527 int rc = lsm_cred_alloc(cred, gfp); in security_cred_alloc_blank() local 1555 int rc = lsm_cred_alloc(new, gfp); in security_prepare_creds() local [all …]
|