LCOV - code coverage report
Current view: top level - security/selinux - hooks.c (source / functions) Hit Total Coverage
Test: combined.info Lines: 1091 2901 37.6 %
Date: 2022-04-01 14:35:51 Functions: 117 236 49.6 %
Branches: 386 1815 21.3 %

Function Name Sort by function name Hit count Sort by hit count
__inode_security_revalidate 9380696
audit_inode_permission 0
checkreqprot_setup 0
cred_has_capability 1147346
delayed_superblock_init 0
dentry_has_perm 55408
enforcing_setup 0
file_has_perm 1208314
file_map_prot_check 1118580
file_mask_to_av 6805557
flush_unauthorized_files 0
has_cap_mac_admin 0
inode_doinit_use_xattr 0
inode_doinit_with_dentry 435339
inode_free_security 39532
inode_has_perm 3607044
inode_security_rcu 6956325
ioctl_has_perm 8169
ipc_has_perm 0
match_file 0
match_opt_prefix 483
may_create 35898
may_link 3300
may_rename 4944
open_file_to_av 556897
parse_sid 0
path_has_perm 996834
sb_finish_set_opts 0
selinux_add_mnt_opt 0
selinux_add_opt 0
selinux_binder_set_context_mgr 0
selinux_binder_transaction 0
selinux_binder_transfer_binder 0
selinux_binder_transfer_file 0
selinux_bprm_committed_creds 32319
selinux_bprm_committing_creds 32319
selinux_bprm_set_creds 32529
selinux_capable 53856
selinux_capget 651
selinux_capset 63
selinux_complete_init 0
selinux_cred_getsecid 0
selinux_cred_prepare 212802
selinux_cred_transfer 0
selinux_d_instantiate 435339
selinux_dentry_create_files_as 0
selinux_dentry_init_security 0
selinux_determine_inode_label 70326
selinux_disable 0
selinux_enabled_setup 0
selinux_file_alloc_security 1360698
selinux_file_fcntl 109083
selinux_file_ioctl 10106
selinux_file_lock 420
selinux_file_mprotect 189856
selinux_file_open 556897
selinux_file_permission 646563
selinux_file_receive 546
selinux_file_send_sigiotask 0
selinux_file_set_fowner 0
selinux_free_mnt_opts 0
selinux_fs_context_dup 0
selinux_fs_context_parse_param 1239
selinux_genfs_get_sid 0
selinux_getprocattr 105
selinux_inet_conn_established 0
selinux_inet_conn_request 0
selinux_inet_csk_clone 0
selinux_inet_sys_rcv_skb 0
selinux_init 21
selinux_inode_alloc_security 434731
selinux_inode_copy_up 0
selinux_inode_copy_up_xattr 0
selinux_inode_create 20298
selinux_inode_follow_link 312491
selinux_inode_free_security 39532
selinux_inode_getattr 993851
selinux_inode_getsecctx 0
selinux_inode_getsecid 0
selinux_inode_getsecurity 0
selinux_inode_getxattr 0
selinux_inode_init_security 34428
selinux_inode_invalidate_secctx 0
selinux_inode_link 0
selinux_inode_listsecurity 0
selinux_inode_listxattr 0
selinux_inode_mkdir 8169
selinux_inode_mknod 3096
selinux_inode_notifysecctx 0
selinux_inode_permission 6688168
selinux_inode_post_setxattr 588
selinux_inode_readlink 36599
selinux_inode_removexattr 84
selinux_inode_rename 4944
selinux_inode_rmdir 693
selinux_inode_setattr 18116
selinux_inode_setsecctx 0
selinux_inode_setsecurity 0
selinux_inode_setxattr 609
selinux_inode_symlink 4335
selinux_inode_unlink 2607
selinux_ip_forward 0
selinux_ip_output 0
selinux_ip_postroute 0
selinux_ip_postroute_compat 0
selinux_ipc_getsecid 0
selinux_ipc_permission 0
selinux_ipv4_forward 0
selinux_ipv4_output 0
selinux_ipv4_postroute 0
selinux_ipv6_forward 0
selinux_ipv6_output 0
selinux_ipv6_postroute 0
selinux_is_sblabel_mnt 0
selinux_ismaclabel 0
selinux_kernel_act_as 0
selinux_kernel_create_files_as 0
selinux_kernel_load_data 0
selinux_kernel_module_from_file 63
selinux_kernel_module_request 1302
selinux_kernel_read_file 63
selinux_kernfs_init_security 383007
selinux_key_alloc 1344
selinux_key_free 882
selinux_key_getsecurity 0
selinux_key_permission 3633
selinux_lockdown 145677
selinux_lsm_notifier_avc_callback 0
selinux_mmap_addr 1039122
selinux_mmap_file 928724
selinux_mount 2016
selinux_move_mount 0
selinux_msg_msg_alloc_security 0
selinux_msg_queue_alloc_security 0
selinux_msg_queue_associate 0
selinux_msg_queue_msgctl 0
selinux_msg_queue_msgrcv 0
selinux_msg_queue_msgsnd 0
selinux_netcache_avc_callback 0
selinux_netlink_send 25031
selinux_nf_ip_init 21
selinux_nf_register 21
selinux_nf_unregister 0
selinux_parse_skb 0
selinux_path_notify 1660
selinux_perf_event_alloc 0
selinux_perf_event_free 0
selinux_perf_event_open 0
selinux_perf_event_read 0
selinux_perf_event_write 0
selinux_ptrace_access_check 2351
selinux_ptrace_traceme 0
selinux_quota_on 0
selinux_quotactl 0
selinux_release_secctx 4021
selinux_req_classify_flow 0
selinux_revalidate_file_permission 161723
selinux_sb_alloc_security 777
selinux_sb_clone_mnt_opts 0
selinux_sb_eat_lsm_opts 294
selinux_sb_free_security 42
selinux_sb_kern_mount 567
selinux_sb_remount 84
selinux_sb_show_options 72430
selinux_sb_statfs 18774
selinux_sctp_assoc_request 0
selinux_sctp_bind_connect 0
selinux_sctp_sk_clone 0
selinux_secctx_to_secid 0
selinux_secid_to_secctx 4021
selinux_secmark_refcount_dec 0
selinux_secmark_refcount_inc 0
selinux_secmark_relabel_packet 0
selinux_sem_alloc_security 0
selinux_sem_associate 0
selinux_sem_semctl 0
selinux_sem_semop 0
selinux_set_mnt_opts 924
selinux_setprocattr 0
selinux_shm_alloc_security 0
selinux_shm_associate 0
selinux_shm_shmat 0
selinux_shm_shmctl 0
selinux_sk_alloc_security 8989
selinux_sk_clone_security 0
selinux_sk_free_security 7560
selinux_sk_getsecid 84
selinux_skb_peerlbl_sid 0
selinux_sock_graft 609
selinux_sock_rcv_skb_compat 0
selinux_socket_accept 609
selinux_socket_bind 674
selinux_socket_connect 4725
selinux_socket_create 6637
selinux_socket_getpeername 0
selinux_socket_getpeersec_dgram 44866
selinux_socket_getpeersec_stream 126
selinux_socket_getsockname 863
selinux_socket_getsockopt 4141
selinux_socket_listen 105
selinux_socket_post_create 6637
selinux_socket_recvmsg 53154
selinux_socket_sendmsg 44866
selinux_socket_setsockopt 4244
selinux_socket_shutdown 1092
selinux_socket_sock_rcv_skb 55467
selinux_socket_socketpair 84
selinux_socket_unix_may_send 18310
selinux_socket_unix_stream_connect 609
selinux_syslog 815
selinux_task_alloc 34713
selinux_task_getioprio 0
selinux_task_getpgid 0
selinux_task_getscheduler 63
selinux_task_getsecid 21
selinux_task_getsid 0
selinux_task_kill 42
selinux_task_movememory 0
selinux_task_prlimit 0
selinux_task_setioprio 63
selinux_task_setnice 0
selinux_task_setpgid 0
selinux_task_setrlimit 1575
selinux_task_setscheduler 63
selinux_task_to_inode 106401
selinux_tun_dev_alloc_security 0
selinux_tun_dev_attach 0
selinux_tun_dev_attach_queue 0
selinux_tun_dev_create 0
selinux_tun_dev_free_security 0
selinux_tun_dev_open 0
selinux_umount 189
selinux_vm_enough_memory 1093490
show_sid 0
sock_has_perm 115294
socket_type_to_security_class 12896

Generated by: LCOV version 1.14