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 15:32:58
Functions:
117
236
49.6 %
Branches:
386
1815
21.3 %
Function Name
Hit count
__inode_security_revalidate
12051907
audit_inode_permission
0
checkreqprot_setup
0
cred_has_capability
1508790
delayed_superblock_init
0
dentry_has_perm
68483
enforcing_setup
0
file_has_perm
1536017
file_map_prot_check
1444458
file_mask_to_av
8818681
flush_unauthorized_files
0
has_cap_mac_admin
0
inode_doinit_use_xattr
0
inode_doinit_with_dentry
576387
inode_free_security
50434
inode_has_perm
4610391
inode_security_rcu
9020511
ioctl_has_perm
10696
ipc_has_perm
0
match_file
0
match_opt_prefix
644
may_create
46786
may_link
3416
may_rename
6550
open_file_to_av
718705
parse_sid
0
path_has_perm
1263392
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
42140
selinux_bprm_committing_creds
42140
selinux_bprm_set_creds
42392
selinux_capable
69283
selinux_capget
868
selinux_capset
84
selinux_complete_init
0
selinux_cred_getsecid
0
selinux_cred_prepare
283692
selinux_cred_transfer
0
selinux_d_instantiate
576387
selinux_dentry_create_files_as
0
selinux_dentry_init_security
0
selinux_determine_inode_label
91612
selinux_disable
0
selinux_enabled_setup
0
selinux_file_alloc_security
1735085
selinux_file_fcntl
141678
selinux_file_ioctl
13165
selinux_file_lock
560
selinux_file_mprotect
243743
selinux_file_open
718705
selinux_file_permission
762402
selinux_file_receive
728
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
1652
selinux_genfs_get_sid
0
selinux_getprocattr
140
selinux_inet_conn_established
0
selinux_inet_conn_request
0
selinux_inet_csk_clone
0
selinux_inet_sys_rcv_skb
0
selinux_init
28
selinux_inode_alloc_security
575651
selinux_inode_copy_up
0
selinux_inode_copy_up_xattr
0
selinux_inode_create
26010
selinux_inode_follow_link
388020
selinux_inode_free_security
50434
selinux_inode_getattr
1259416
selinux_inode_getsecctx
0
selinux_inode_getsecid
0
selinux_inode_getsecurity
0
selinux_inode_getxattr
0
selinux_inode_init_security
44826
selinux_inode_invalidate_secctx
0
selinux_inode_link
0
selinux_inode_listsecurity
0
selinux_inode_listxattr
0
selinux_inode_mkdir
10892
selinux_inode_mknod
4116
selinux_inode_notifysecctx
0
selinux_inode_permission
8695588
selinux_inode_post_setxattr
784
selinux_inode_readlink
44456
selinux_inode_removexattr
112
selinux_inode_rename
6550
selinux_inode_rmdir
924
selinux_inode_setattr
23103
selinux_inode_setsecctx
0
selinux_inode_setsecurity
0
selinux_inode_setxattr
812
selinux_inode_symlink
5768
selinux_inode_unlink
2492
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
84
selinux_kernel_module_request
840
selinux_kernel_read_file
84
selinux_kernfs_init_security
488488
selinux_key_alloc
1792
selinux_key_free
1176
selinux_key_getsecurity
0
selinux_key_permission
4844
selinux_lockdown
196952
selinux_lsm_notifier_avc_callback
0
selinux_mmap_addr
1344982
selinux_mmap_file
1200715
selinux_mount
2688
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
31196
selinux_nf_ip_init
28
selinux_nf_register
28
selinux_nf_unregister
0
selinux_parse_skb
0
selinux_path_notify
2212
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
3082
selinux_ptrace_traceme
0
selinux_quota_on
0
selinux_quotactl
0
selinux_release_secctx
5106
selinux_req_classify_flow
0
selinux_revalidate_file_permission
186190
selinux_sb_alloc_security
1036
selinux_sb_clone_mnt_opts
0
selinux_sb_eat_lsm_opts
392
selinux_sb_free_security
56
selinux_sb_kern_mount
756
selinux_sb_remount
112
selinux_sb_show_options
96438
selinux_sb_statfs
24976
selinux_sctp_assoc_request
0
selinux_sctp_bind_connect
0
selinux_sctp_sk_clone
0
selinux_secctx_to_secid
0
selinux_secid_to_secctx
5106
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
1232
selinux_setprocattr
0
selinux_shm_alloc_security
0
selinux_shm_associate
0
selinux_shm_shmat
0
selinux_shm_shmctl
0
selinux_sk_alloc_security
11872
selinux_sk_clone_security
0
selinux_sk_free_security
9996
selinux_sk_getsecid
112
selinux_skb_peerlbl_sid
0
selinux_sock_graft
812
selinux_sock_rcv_skb_compat
0
selinux_socket_accept
812
selinux_socket_bind
868
selinux_socket_connect
6272
selinux_socket_create
8736
selinux_socket_getpeername
0
selinux_socket_getpeersec_dgram
56254
selinux_socket_getpeersec_stream
168
selinux_socket_getsockname
1120
selinux_socket_getsockopt
5488
selinux_socket_listen
140
selinux_socket_post_create
8736
selinux_socket_recvmsg
66354
selinux_socket_sendmsg
56254
selinux_socket_setsockopt
5600
selinux_socket_shutdown
1456
selinux_socket_sock_rcv_skb
69318
selinux_socket_socketpair
112
selinux_socket_unix_may_send
23084
selinux_socket_unix_stream_connect
812
selinux_syslog
1692
selinux_task_alloc
45332
selinux_task_getioprio
0
selinux_task_getpgid
0
selinux_task_getscheduler
84
selinux_task_getsecid
28
selinux_task_getsid
0
selinux_task_kill
56
selinux_task_movememory
0
selinux_task_prlimit
0
selinux_task_setioprio
84
selinux_task_setnice
0
selinux_task_setpgid
0
selinux_task_setrlimit
2100
selinux_task_setscheduler
84
selinux_task_to_inode
135926
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
252
selinux_vm_enough_memory
1439507
show_sid
0
sock_has_perm
145372
socket_type_to_security_class
16968
Generated by:
LCOV version 1.14