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 16:04:14
Functions:
117
236
49.6 %
Branches:
388
1815
21.4 %
Function Name
Hit count
__inode_security_revalidate
5531367
audit_inode_permission
0
checkreqprot_setup
0
cred_has_capability
699945
delayed_superblock_init
0
dentry_has_perm
31661
enforcing_setup
0
file_has_perm
714202
file_map_prot_check
670115
file_mask_to_av
4037742
flush_unauthorized_files
0
has_cap_mac_admin
0
inode_doinit_use_xattr
0
inode_doinit_with_dentry
265662
inode_free_security
23373
inode_has_perm
2139848
inode_security_rcu
4129764
ioctl_has_perm
4940
ipc_has_perm
0
match_file
0
match_opt_prefix
299
may_create
21658
may_link
1534
may_rename
3029
open_file_to_av
333293
parse_sid
0
path_has_perm
585724
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
19552
selinux_bprm_committing_creds
19552
selinux_bprm_set_creds
19669
selinux_capable
32079
selinux_capget
403
selinux_capset
39
selinux_complete_init
0
selinux_cred_getsecid
0
selinux_cred_prepare
126349
selinux_cred_transfer
0
selinux_d_instantiate
265662
selinux_dentry_create_files_as
0
selinux_dentry_init_security
0
selinux_determine_inode_label
42406
selinux_disable
0
selinux_enabled_setup
0
selinux_file_alloc_security
799380
selinux_file_fcntl
65754
selinux_file_ioctl
6090
selinux_file_lock
260
selinux_file_mprotect
113090
selinux_file_open
333293
selinux_file_permission
349915
selinux_file_receive
338
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
767
selinux_genfs_get_sid
0
selinux_getprocattr
65
selinux_inet_conn_established
0
selinux_inet_conn_request
0
selinux_inet_csk_clone
0
selinux_inet_sys_rcv_skb
0
selinux_init
13
selinux_inode_alloc_security
265347
selinux_inode_copy_up
0
selinux_inode_copy_up_xattr
0
selinux_inode_create
12012
selinux_inode_follow_link
180047
selinux_inode_free_security
23373
selinux_inode_getattr
583877
selinux_inode_getsecctx
0
selinux_inode_getsecid
0
selinux_inode_getsecurity
0
selinux_inode_getxattr
0
selinux_inode_init_security
20748
selinux_inode_invalidate_secctx
0
selinux_inode_link
0
selinux_inode_listsecurity
0
selinux_inode_listxattr
0
selinux_inode_mkdir
5057
selinux_inode_mknod
1911
selinux_inode_notifysecctx
0
selinux_inode_permission
3973668
selinux_inode_post_setxattr
364
selinux_inode_readlink
20576
selinux_inode_removexattr
52
selinux_inode_rename
3029
selinux_inode_rmdir
429
selinux_inode_setattr
10656
selinux_inode_setsecctx
0
selinux_inode_setsecurity
0
selinux_inode_setxattr
377
selinux_inode_symlink
2678
selinux_inode_unlink
1105
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
26
selinux_kernel_module_request
390
selinux_kernel_read_file
39
selinux_kernfs_init_security
225992
selinux_key_alloc
832
selinux_key_free
546
selinux_key_getsecurity
0
selinux_key_permission
2249
selinux_lockdown
90181
selinux_lsm_notifier_avc_callback
0
selinux_mmap_addr
623965
selinux_mmap_file
557025
selinux_mount
1248
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
14430
selinux_nf_ip_init
13
selinux_nf_register
13
selinux_nf_unregister
0
selinux_parse_skb
0
selinux_path_notify
1028
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
1429
selinux_ptrace_traceme
0
selinux_quota_on
0
selinux_quotactl
0
selinux_release_secctx
2365
selinux_req_classify_flow
0
selinux_revalidate_file_permission
88025
selinux_sb_alloc_security
481
selinux_sb_clone_mnt_opts
0
selinux_sb_eat_lsm_opts
182
selinux_sb_free_security
26
selinux_sb_kern_mount
351
selinux_sb_remount
52
selinux_sb_show_options
44717
selinux_sb_statfs
11596
selinux_sctp_assoc_request
0
selinux_sctp_bind_connect
0
selinux_sctp_sk_clone
0
selinux_secctx_to_secid
0
selinux_secid_to_secctx
2365
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
572
selinux_setprocattr
0
selinux_shm_alloc_security
0
selinux_shm_associate
0
selinux_shm_shmat
0
selinux_shm_shmctl
0
selinux_sk_alloc_security
5512
selinux_sk_clone_security
0
selinux_sk_free_security
4641
selinux_sk_getsecid
52
selinux_skb_peerlbl_sid
0
selinux_sock_graft
377
selinux_sock_rcv_skb_compat
0
selinux_socket_accept
377
selinux_socket_bind
403
selinux_socket_connect
2912
selinux_socket_create
4056
selinux_socket_getpeername
0
selinux_socket_getpeersec_dgram
26007
selinux_socket_getpeersec_stream
78
selinux_socket_getsockname
520
selinux_socket_getsockopt
2548
selinux_socket_listen
65
selinux_socket_post_create
4056
selinux_socket_recvmsg
30640
selinux_socket_sendmsg
26007
selinux_socket_setsockopt
2600
selinux_socket_shutdown
676
selinux_socket_sock_rcv_skb
32070
selinux_socket_socketpair
52
selinux_socket_unix_may_send
10685
selinux_socket_unix_stream_connect
377
selinux_syslog
199
selinux_task_alloc
21006
selinux_task_getioprio
0
selinux_task_getpgid
0
selinux_task_getscheduler
39
selinux_task_getsecid
13
selinux_task_getsid
0
selinux_task_kill
30
selinux_task_movememory
0
selinux_task_prlimit
0
selinux_task_setioprio
39
selinux_task_setnice
0
selinux_task_setpgid
0
selinux_task_setrlimit
975
selinux_task_setscheduler
39
selinux_task_to_inode
62964
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
117
selinux_vm_enough_memory
667866
show_sid
0
sock_has_perm
67216
socket_type_to_security_class
7878
Generated by:
LCOV version 1.14