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-03-28 13:20:08 Functions: 117 236 49.6 %
Branches: 387 1815 21.3 %

Function Name Sort by function name Hit count Sort by hit count
__inode_security_revalidate 12972286
audit_inode_permission 0
checkreqprot_setup 0
cred_has_capability 1620116
delayed_superblock_init 0
dentry_has_perm 73315
enforcing_setup 0
file_has_perm 1652917
file_map_prot_check 1551853
file_mask_to_av 9499949
flush_unauthorized_files 0
has_cap_mac_admin 0
inode_doinit_use_xattr 0
inode_doinit_with_dentry 616889
inode_free_security 54297
inode_has_perm 4954372
inode_security_rcu 9714598
ioctl_has_perm 11628
ipc_has_perm 0
match_file 0
match_opt_prefix 690
may_create 50124
may_link 3624
may_rename 7026
open_file_to_av 770894
parse_sid 0
path_has_perm 1357668
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 45210
selinux_bprm_committing_creds 45210
selinux_bprm_set_creds 45486
selinux_capable 74532
selinux_capget 930
selinux_capset 90
selinux_complete_init 0
selinux_cred_getsecid 0
selinux_cred_prepare 307152
selinux_cred_transfer 0
selinux_d_instantiate 616889
selinux_dentry_create_files_as 0
selinux_dentry_init_security 0
selinux_determine_inode_label 98136
selinux_disable 0
selinux_enabled_setup 0
selinux_file_alloc_security 1869606
selinux_file_fcntl 151938
selinux_file_ioctl 14288
selinux_file_lock 600
selinux_file_mprotect 262213
selinux_file_open 770894
selinux_file_permission 821631
selinux_file_receive 786
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 1770
selinux_genfs_get_sid 0
selinux_getprocattr 150
selinux_inet_conn_established 0
selinux_inet_conn_request 0
selinux_inet_csk_clone 0
selinux_inet_sys_rcv_skb 0
selinux_init 30
selinux_inode_alloc_security 616115
selinux_inode_copy_up 0
selinux_inode_copy_up_xattr 0
selinux_inode_create 27840
selinux_inode_follow_link 417550
selinux_inode_free_security 54297
selinux_inode_getattr 1353397
selinux_inode_getsecctx 0
selinux_inode_getsecid 0
selinux_inode_getsecurity 0
selinux_inode_getxattr 0
selinux_inode_init_security 48012
selinux_inode_invalidate_secctx 0
selinux_inode_link 0
selinux_inode_listsecurity 0
selinux_inode_listxattr 0
selinux_inode_mkdir 11688
selinux_inode_mknod 4410
selinux_inode_notifysecctx 0
selinux_inode_permission 9367626
selinux_inode_post_setxattr 846
selinux_inode_readlink 47586
selinux_inode_removexattr 120
selinux_inode_rename 7026
selinux_inode_rmdir 990
selinux_inode_setattr 24733
selinux_inode_setsecctx 0
selinux_inode_setsecurity 0
selinux_inode_setxattr 876
selinux_inode_symlink 6186
selinux_inode_unlink 2634
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 120
selinux_kernel_module_request 900
selinux_kernel_read_file 120
selinux_kernfs_init_security 524706
selinux_key_alloc 1932
selinux_key_free 1260
selinux_key_getsecurity 0
selinux_key_permission 5220
selinux_lockdown 208110
selinux_lsm_notifier_avc_callback 0
selinux_mmap_addr 1444422
selinux_mmap_file 1289640
selinux_mount 2880
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 33546
selinux_nf_ip_init 30
selinux_nf_register 30
selinux_nf_unregister 0
selinux_parse_skb 0
selinux_path_notify 2381
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 3327
selinux_ptrace_traceme 0
selinux_quota_on 0
selinux_quotactl 0
selinux_release_secctx 5536
selinux_req_classify_flow 0
selinux_revalidate_file_permission 202901
selinux_sb_alloc_security 1110
selinux_sb_clone_mnt_opts 0
selinux_sb_eat_lsm_opts 420
selinux_sb_free_security 60
selinux_sb_kern_mount 810
selinux_sb_remount 120
selinux_sb_show_options 103424
selinux_sb_statfs 26796
selinux_sctp_assoc_request 0
selinux_sctp_bind_connect 0
selinux_sctp_sk_clone 0
selinux_secctx_to_secid 0
selinux_secid_to_secctx 5536
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 1320
selinux_setprocattr 0
selinux_shm_alloc_security 0
selinux_shm_associate 0
selinux_shm_shmat 0
selinux_shm_shmctl 0
selinux_sk_alloc_security 12789
selinux_sk_clone_security 0
selinux_sk_free_security 10756
selinux_sk_getsecid 120
selinux_skb_peerlbl_sid 0
selinux_sock_graft 876
selinux_sock_rcv_skb_compat 0
selinux_socket_accept 876
selinux_socket_bind 942
selinux_socket_connect 6746
selinux_socket_create 9415
selinux_socket_getpeername 0
selinux_socket_getpeersec_dgram 60546
selinux_socket_getpeersec_stream 180
selinux_socket_getsockname 1212
selinux_socket_getsockopt 5914
selinux_socket_listen 150
selinux_socket_post_create 9415
selinux_socket_recvmsg 71672
selinux_socket_sendmsg 60546
selinux_socket_setsockopt 6058
selinux_socket_shutdown 1572
selinux_socket_sock_rcv_skb 74596
selinux_socket_socketpair 120
selinux_socket_unix_may_send 24868
selinux_socket_unix_stream_connect 876
selinux_syslog 498
selinux_task_alloc 48573
selinux_task_getioprio 0
selinux_task_getpgid 0
selinux_task_getscheduler 90
selinux_task_getsecid 30
selinux_task_getsid 0
selinux_task_kill 114
selinux_task_movememory 0
selinux_task_prlimit 0
selinux_task_setioprio 90
selinux_task_setnice 0
selinux_task_setpgid 0
selinux_task_setrlimit 2262
selinux_task_setscheduler 90
selinux_task_to_inode 146972
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 268
selinux_vm_enough_memory 1545584
show_sid 0
sock_has_perm 156798
socket_type_to_security_class 18290

Generated by: LCOV version 1.14