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:17:54
Functions:
117
236
49.6 %
Branches:
386
1815
21.3 %
Function Name
Hit count
__inode_security_revalidate
4671781
audit_inode_permission
0
checkreqprot_setup
0
cred_has_capability
591418
delayed_superblock_init
0
dentry_has_perm
26781
enforcing_setup
0
file_has_perm
601646
file_map_prot_check
565957
file_mask_to_av
3409690
flush_unauthorized_files
0
has_cap_mac_admin
0
inode_doinit_use_xattr
0
inode_doinit_with_dentry
224647
inode_free_security
19854
inode_has_perm
1806072
inode_security_rcu
3488770
ioctl_has_perm
4158
ipc_has_perm
0
match_file
0
match_opt_prefix
253
may_create
18399
may_link
1382
may_rename
2563
open_file_to_av
281763
parse_sid
0
path_has_perm
494734
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
16522
selinux_bprm_committing_creds
16522
selinux_bprm_set_creds
16621
selinux_capable
27147
selinux_capget
341
selinux_capset
33
selinux_complete_init
0
selinux_cred_getsecid
0
selinux_cred_prepare
106685
selinux_cred_transfer
0
selinux_d_instantiate
224647
selinux_dentry_create_files_as
0
selinux_dentry_init_security
0
selinux_determine_inode_label
36028
selinux_disable
0
selinux_enabled_setup
0
selinux_file_alloc_security
675755
selinux_file_fcntl
55572
selinux_file_ioctl
5125
selinux_file_lock
220
selinux_file_mprotect
95509
selinux_file_open
281763
selinux_file_permission
293931
selinux_file_receive
286
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
649
selinux_genfs_get_sid
0
selinux_getprocattr
55
selinux_inet_conn_established
0
selinux_inet_conn_request
0
selinux_inet_csk_clone
0
selinux_inet_sys_rcv_skb
0
selinux_init
11
selinux_inode_alloc_security
224343
selinux_inode_copy_up
0
selinux_inode_copy_up_xattr
0
selinux_inode_create
10248
selinux_inode_follow_link
151880
selinux_inode_free_security
19854
selinux_inode_getattr
493172
selinux_inode_getsecctx
0
selinux_inode_getsecid
0
selinux_inode_getsecurity
0
selinux_inode_getxattr
0
selinux_inode_init_security
17629
selinux_inode_invalidate_secctx
0
selinux_inode_link
0
selinux_inode_listsecurity
0
selinux_inode_listxattr
0
selinux_inode_mkdir
4268
selinux_inode_mknod
1617
selinux_inode_notifysecctx
0
selinux_inode_permission
3357071
selinux_inode_post_setxattr
308
selinux_inode_readlink
17336
selinux_inode_removexattr
44
selinux_inode_rename
2563
selinux_inode_rmdir
363
selinux_inode_setattr
9082
selinux_inode_setsecctx
0
selinux_inode_setsecurity
0
selinux_inode_setxattr
319
selinux_inode_symlink
2266
selinux_inode_unlink
1019
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
11
selinux_kernel_module_request
330
selinux_kernel_read_file
11
selinux_kernfs_init_security
191895
selinux_key_alloc
704
selinux_key_free
462
selinux_key_getsecurity
0
selinux_key_permission
1903
selinux_lockdown
76307
selinux_lsm_notifier_avc_callback
0
selinux_mmap_addr
527027
selinux_mmap_file
470448
selinux_mount
1056
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
12254
selinux_nf_ip_init
11
selinux_nf_register
11
selinux_nf_unregister
0
selinux_parse_skb
0
selinux_path_notify
869
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
1210
selinux_ptrace_traceme
0
selinux_quota_on
0
selinux_quotactl
0
selinux_release_secctx
1978
selinux_req_classify_flow
0
selinux_revalidate_file_permission
72800
selinux_sb_alloc_security
407
selinux_sb_clone_mnt_opts
0
selinux_sb_eat_lsm_opts
154
selinux_sb_free_security
22
selinux_sb_kern_mount
297
selinux_sb_remount
44
selinux_sb_show_options
37893
selinux_sb_statfs
9790
selinux_sctp_assoc_request
0
selinux_sctp_bind_connect
0
selinux_sctp_sk_clone
0
selinux_secctx_to_secid
0
selinux_secid_to_secctx
1978
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
484
selinux_setprocattr
0
selinux_shm_alloc_security
0
selinux_shm_associate
0
selinux_shm_shmat
0
selinux_shm_shmctl
0
selinux_sk_alloc_security
4664
selinux_sk_clone_security
0
selinux_sk_free_security
3927
selinux_sk_getsecid
44
selinux_skb_peerlbl_sid
0
selinux_sock_graft
319
selinux_sock_rcv_skb_compat
0
selinux_socket_accept
319
selinux_socket_bind
341
selinux_socket_connect
2464
selinux_socket_create
3432
selinux_socket_getpeername
0
selinux_socket_getpeersec_dgram
22076
selinux_socket_getpeersec_stream
66
selinux_socket_getsockname
440
selinux_socket_getsockopt
2156
selinux_socket_listen
55
selinux_socket_post_create
3432
selinux_socket_recvmsg
25889
selinux_socket_sendmsg
22076
selinux_socket_setsockopt
2200
selinux_socket_shutdown
572
selinux_socket_sock_rcv_skb
27201
selinux_socket_socketpair
44
selinux_socket_unix_may_send
9040
selinux_socket_unix_stream_connect
319
selinux_syslog
167
selinux_task_alloc
17787
selinux_task_getioprio
0
selinux_task_getpgid
0
selinux_task_getscheduler
33
selinux_task_getsecid
11
selinux_task_getsid
0
selinux_task_kill
22
selinux_task_movememory
0
selinux_task_prlimit
0
selinux_task_setioprio
33
selinux_task_setnice
0
selinux_task_setpgid
0
selinux_task_setrlimit
825
selinux_task_setscheduler
33
selinux_task_to_inode
53494
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
99
selinux_vm_enough_memory
564271
show_sid
0
sock_has_perm
56908
socket_type_to_security_class
6666
Generated by:
LCOV version 1.14