LCOV - code coverage report
Current view:
top level
-
security/selinux
- hooks.c
(
source
/ functions)
Hit
Total
Coverage
Test:
combined.info
Lines:
1143
2901
39.4 %
Date:
2022-04-01 14:58:12
Functions:
123
236
52.1 %
Branches:
398
1815
21.9 %
Function Name
Hit count
__inode_security_revalidate
1294713
audit_inode_permission
0
checkreqprot_setup
0
cred_has_capability
161704
delayed_superblock_init
0
dentry_has_perm
7455
enforcing_setup
0
file_has_perm
169363
file_map_prot_check
154706
file_mask_to_av
940582
flush_unauthorized_files
0
has_cap_mac_admin
0
inode_doinit_use_xattr
0
inode_doinit_with_dentry
61472
inode_free_security
5526
inode_has_perm
500816
inode_security_rcu
957441
ioctl_has_perm
1167
ipc_has_perm
0
match_file
0
match_opt_prefix
69
may_create
5028
may_link
381
may_rename
705
open_file_to_av
77007
parse_sid
0
path_has_perm
137377
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
4509
selinux_bprm_committing_creds
4509
selinux_bprm_set_creds
4539
selinux_capable
7491
selinux_capget
93
selinux_capset
9
selinux_complete_init
0
selinux_cred_getsecid
0
selinux_cred_prepare
29137
selinux_cred_transfer
0
selinux_d_instantiate
61472
selinux_dentry_create_files_as
0
selinux_dentry_init_security
0
selinux_determine_inode_label
9846
selinux_disable
0
selinux_enabled_setup
0
selinux_file_alloc_security
188333
selinux_file_fcntl
15162
selinux_file_ioctl
1437
selinux_file_lock
60
selinux_file_mprotect
26153
selinux_file_open
77007
selinux_file_permission
91931
selinux_file_receive
78
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
177
selinux_genfs_get_sid
0
selinux_getprocattr
15
selinux_inet_conn_established
0
selinux_inet_conn_request
0
selinux_inet_csk_clone
0
selinux_inet_sys_rcv_skb
0
selinux_init
3
selinux_inode_alloc_security
61387
selinux_inode_copy_up
0
selinux_inode_copy_up_xattr
0
selinux_inode_create
2808
selinux_inode_follow_link
41667
selinux_inode_free_security
5526
selinux_inode_getattr
136951
selinux_inode_getsecctx
0
selinux_inode_getsecid
0
selinux_inode_getsecurity
0
selinux_inode_getxattr
0
selinux_inode_init_security
4818
selinux_inode_invalidate_secctx
0
selinux_inode_link
0
selinux_inode_listsecurity
0
selinux_inode_listxattr
0
selinux_inode_mkdir
1161
selinux_inode_mknod
441
selinux_inode_notifysecctx
0
selinux_inode_permission
921327
selinux_inode_post_setxattr
84
selinux_inode_readlink
4860
selinux_inode_removexattr
12
selinux_inode_rename
705
selinux_inode_rmdir
99
selinux_inode_setattr
2496
selinux_inode_setsecctx
0
selinux_inode_setsecurity
0
selinux_inode_setxattr
87
selinux_inode_symlink
618
selinux_inode_unlink
282
selinux_ip_forward
0
selinux_ip_output
9
selinux_ip_postroute
9
selinux_ip_postroute_compat
9
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
9
selinux_ipv6_postroute
9
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
9
selinux_kernel_module_request
90
selinux_kernel_read_file
9
selinux_kernfs_init_security
52527
selinux_key_alloc
192
selinux_key_free
126
selinux_key_getsecurity
0
selinux_key_permission
519
selinux_lockdown
20811
selinux_lsm_notifier_avc_callback
0
selinux_mmap_addr
143999
selinux_mmap_file
128553
selinux_mount
288
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
3375
selinux_nf_ip_init
3
selinux_nf_register
3
selinux_nf_unregister
0
selinux_parse_skb
9
selinux_path_notify
237
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
335
selinux_ptrace_traceme
0
selinux_quota_on
0
selinux_quotactl
0
selinux_release_secctx
561
selinux_req_classify_flow
0
selinux_revalidate_file_permission
24808
selinux_sb_alloc_security
111
selinux_sb_clone_mnt_opts
0
selinux_sb_eat_lsm_opts
42
selinux_sb_free_security
6
selinux_sb_kern_mount
81
selinux_sb_remount
12
selinux_sb_show_options
10334
selinux_sb_statfs
2670
selinux_sctp_assoc_request
0
selinux_sctp_bind_connect
0
selinux_sctp_sk_clone
0
selinux_secctx_to_secid
0
selinux_secid_to_secctx
561
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
132
selinux_setprocattr
0
selinux_shm_alloc_security
0
selinux_shm_associate
0
selinux_shm_shmat
0
selinux_shm_shmctl
0
selinux_sk_alloc_security
1284
selinux_sk_clone_security
0
selinux_sk_free_security
1080
selinux_sk_getsecid
21
selinux_skb_peerlbl_sid
0
selinux_sock_graft
87
selinux_sock_rcv_skb_compat
0
selinux_socket_accept
87
selinux_socket_bind
96
selinux_socket_connect
675
selinux_socket_create
948
selinux_socket_getpeername
0
selinux_socket_getpeersec_dgram
6090
selinux_socket_getpeersec_stream
18
selinux_socket_getsockname
123
selinux_socket_getsockopt
591
selinux_socket_listen
15
selinux_socket_post_create
948
selinux_socket_recvmsg
7134
selinux_socket_sendmsg
6090
selinux_socket_setsockopt
606
selinux_socket_shutdown
156
selinux_socket_sock_rcv_skb
7509
selinux_socket_socketpair
12
selinux_socket_unix_may_send
2502
selinux_socket_unix_stream_connect
87
selinux_syslog
49
selinux_task_alloc
4847
selinux_task_getioprio
0
selinux_task_getpgid
0
selinux_task_getscheduler
9
selinux_task_getsecid
3
selinux_task_getsid
0
selinux_task_kill
18
selinux_task_movememory
0
selinux_task_prlimit
0
selinux_task_setioprio
9
selinux_task_setnice
0
selinux_task_setpgid
0
selinux_task_setrlimit
225
selinux_task_setscheduler
9
selinux_task_to_inode
14872
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
27
selinux_vm_enough_memory
154213
show_sid
0
sock_has_perm
15690
socket_type_to_security_class
1842
Generated by:
LCOV version 1.14