Defined in 1 files as a function:
Referenced in 3 files:
-
security/selinux/hooks.c
- line 742
- line 792
- line 793
- line 2904
- line 3015
- line 3130
- line 3151
- line 3165
- line 3189
- line 3249
- line 3335
- line 3378
- line 3820
- line 3838
- line 3992
- line 4032
- line 4224
- line 4288
- line 4337
- line 4361
- line 4381
- line 4390
- line 4488
- line 4494
- line 4500
- line 4506
- line 4517
- line 4523
- line 4529
- line 4558
- line 4566
- line 4572
- line 4578
- line 4593
- line 4614
- line 4932
- line 5892
- line 5916
- line 5922
- line 5939
- line 5964
- line 6262
- line 6337
- line 6345
- line 6370
- line 6386
- line 6405
- line 6430
- line 6497
- line 6513
- line 6533
- line 6575
- line 6591
- line 6612
- line 6699
- line 6748
- line 7117
- line 7174
- line 7183
- line 7252
- line 7262
- line 7295
- line 7313
- line 7336
- line 7404
- line 7412
- line 7434
- line 7442
- line 7451
- line 7468
- line 7480
- line 7504
- line 7515
- security/selinux/selinuxfs.c
- security/selinux/xfrm.c
Smatch caller information:
security/selinux/selinuxfs.c sel_commit_bools_write() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/selinuxfs.c sel_open_policy() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/selinux/selinuxfs.c sel_read_policy() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_access() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_avc_cache_threshold() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_bool() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/selinuxfs.c sel_write_context() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_create() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_enforce() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_load() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_member() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_relabel() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/selinuxfs.c sel_write_validatetrans() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/xfrm.c selinux_xfrm_alloc_user() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/xfrm.c selinux_xfrm_delete() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c __file_map_prot_check() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c audit_inode_permission() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c ipc_has_perm() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c ipc_init_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c may_link() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c may_rename() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c nlmsg_sock_has_extended_perms() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_binder_set_context_mgr() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_binder_transaction() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_map() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_map_create() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_prog() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_prog_load() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_token_capable() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_bpf_token_create() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_capget() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_current_getlsmprop_subj() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_file_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_file_permission() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_file_set_fowner() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_ib_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_follow_link() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_getattr() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_init_security_anon() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_permission() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_inode_setxattr() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_kernel_act_as() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_kernel_create_files_as() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_kernel_load_from_file() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_kernel_module_request() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_lsm_getattr() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
security/selinux/hooks.c selinux_lsm_setattr() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_mmap_addr() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_msg_queue_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_msg_queue_associate() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_msg_queue_msgctl() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_msg_queue_msgsnd() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_perf_event_alloc() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_perf_event_open() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_perf_event_read() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_perf_event_write() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_ptrace_access_check() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_secmark_relabel_packet() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_sem_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_sem_associate() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_sem_semctl() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_set_mnt_opts() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbsec->lock | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_set_mnt_opts() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbsec->lock | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_set_mnt_opts() -> current_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbsec->lock | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_shm_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_shm_associate() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_shm_shmctl() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_syslog() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_syslog() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_syslog() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_alloc() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_getioprio() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_getpgid() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_getscheduler() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_getsid() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_kill() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_movememory() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_setioprio() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_setnice() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_setpgid() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_setrlimit() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_task_setscheduler() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_tun_dev_alloc_security() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_tun_dev_attach_queue() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_tun_dev_create() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_tun_dev_open() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_uring_allowed() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_uring_cmd() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_uring_override_creds() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_uring_sqpoll() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_userns_create() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c selinux_watch_key() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c sock_has_perm() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c task_avdcache_reset() -> current_sid()
| Type | Parameter | Key | Value |
|---|
security/selinux/hooks.c task_avdcache_search() -> current_sid()
| Type | Parameter | Key | Value |
|---|