Defined in 2 files as a function:
Referenced in 2 files:
- security/smack/smack.h, line 484
-
security/smack/smack_lsm.c
- line 432
- line 892
- line 1105
- line 1136
- line 1148
- line 1169
- line 1181
- line 1211
- line 1258
- line 1284
- line 1304
- line 1405
- line 1467
- line 1505
- line 1553
- line 1575
- line 1597
- line 1750
- line 1782
- line 1816
- line 1823
- line 1999
- line 2024
- line 2076
- line 2247
- line 2401
- line 3189
- line 3278
- line 3379
- line 3503
- line 4668
- line 4733
- line 4768
- line 5128
Smatch caller information:
security/smack/smack_lsm.c smack_file_fcntl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4202107156648714240 |
| PARAM_VALUE | 1 | func | 5183932544488230912 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 17 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_fcntl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4202107156648714240 |
| PARAM_VALUE | 1 | func | 5183932544488230912 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 17 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_ioctl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5797047293313761280 |
| PARAM_VALUE | 1 | func | 6842137034846269440 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 17 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_lock() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 7579341858719649792 |
| PARAM_VALUE | 1 | func | 8299555187069521920 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_open() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 1139582827814735872 |
| PARAM_VALUE | 1 | func | 762414098284703744 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_receive() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4252081291993591808 |
| PARAM_VALUE | 1 | func | 7589488797552263168 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 19 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_file_send_sigiotask() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5778929666460823552 |
| PARAM_VALUE | 1 | func | 4945693934455009280 |
| PARAM_VALUE | 2 | type | 5 |
| BUF_SIZE | 1 | func | 26 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_get_acl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 2145660354810793984 |
| PARAM_VALUE | 1 | func | 2743492015338262528 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 20 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_getattr() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5326602903469326336 |
| PARAM_VALUE | 1 | func | 2960180176578334720 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 20 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_getxattr() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 607423181278556160 |
| PARAM_VALUE | 1 | func | 2542637371994198016 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 21 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_link() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4612044203928084480 |
| PARAM_VALUE | 1 | func | 7401873249511960576 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 17 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_permission() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5135188055346790400 |
| PARAM_VALUE | 1 | func | 6575381123108855808 |
| PARAM_VALUE | 2 | type | 9 |
| BUF_SIZE | 1 | func | 23 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_remove_acl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 1135266032487694336 |
| PARAM_VALUE | 1 | func | 123226556930363392 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 23 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_removexattr() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 3162782166320001024 |
| PARAM_VALUE | 1 | func | 6326734003571257344 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 24 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_rename() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4899681482993459200 |
| PARAM_VALUE | 1 | func | 640624070256599040 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 19 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_rmdir() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 8629031793900453888 |
| PARAM_VALUE | 1 | func | 2401879644324769792 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 18 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_rmdir() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 8629031793900453888 |
| PARAM_VALUE | 0 | a->a.apparmor_audit_data | 8629031793900453920 |
| PARAM_VALUE | 0 | a->a.selinux_audit_data | 8629031793900453920 |
| PARAM_VALUE | 0 | a->a.smack_audit_data | 8629031793900453920 |
| PARAM_VALUE | 0 | a->a.type | 10 |
| PARAM_VALUE | 1 | func | 2401879644324769792 |
| PARAM_VALUE | 2 | type | 9 |
| BUF_SIZE | 1 | func | 18 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_set_acl() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 717232345462489088 |
| PARAM_VALUE | 1 | func | 1223079101529292800 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 20 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_setattr() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 6564843118965608448 |
| PARAM_VALUE | 1 | func | 4873456173457715200 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 20 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_setxattr() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5044685990513315840 |
| PARAM_VALUE | 1 | func | 5285358626255945728 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 21 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_unlink() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 698022939805892608 |
| PARAM_VALUE | 1 | func | 7893796560688599040 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 19 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_inode_unlink() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 698022939805892608 |
| PARAM_VALUE | 0 | a->a.apparmor_audit_data | 698022939805892640 |
| PARAM_VALUE | 0 | a->a.selinux_audit_data | 698022939805892640 |
| PARAM_VALUE | 0 | a->a.smack_audit_data | 698022939805892640 |
| PARAM_VALUE | 0 | a->a.type | 10 |
| PARAM_VALUE | 0 | a->a.u.dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | func | 7893796560688599040 |
| PARAM_VALUE | 2 | type | 9 |
| BUF_SIZE | 1 | func | 19 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_ipc_permission() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 459496596066910208 |
| PARAM_VALUE | 1 | func | 7695452919102984192 |
| PARAM_VALUE | 2 | type | 4 |
| BUF_SIZE | 1 | func | 21 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_key_permission() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 8886200222784786432 |
| PARAM_VALUE | 1 | func | 1699954459939053568 |
| PARAM_VALUE | 2 | type | 6 |
| BUF_SIZE | 1 | func | 21 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_post_notification() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 9210198362177982464 |
| PARAM_VALUE | 1 | func | 5284241252014157824 |
| PARAM_VALUE | 2 | type | 16 |
| BUF_SIZE | 1 | func | 24 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_sb_statfs() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 6299977972532244480 |
| PARAM_VALUE | 1 | func | 4594770473017430016 |
| PARAM_VALUE | 2 | type | 10 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_task_kill() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 1584961200159776768 |
| PARAM_VALUE | 1 | func | 64488381352673280 |
| PARAM_VALUE | 2 | type | 5 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_uring_cmd() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4636363902392414208 |
| PARAM_VALUE | 1 | func | 218505395833819136 |
| PARAM_VALUE | 2 | type | 1 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smack_watch_key() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 7713266885980020736 |
| PARAM_VALUE | 1 | func | 7692440924992737280 |
| PARAM_VALUE | 2 | type | 6 |
| BUF_SIZE | 1 | func | 16 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smk_ad_init_net() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 735912058549026816,842765737204113408,2804864435555307520,3524938632556531712,4048411073231966208,7265750048046960640 |
| PARAM_VALUE | 1 | func | 472545483052093440,2804805280709001216,4318991804866183168,4558375581056012288,5131031170895429632,5346800984081780736 |
| PARAM_VALUE | 2 | type | 2 |
| BUF_SIZE | 1 | func | 15,20,24,26 |
| BUF_SIZE | 1 | func | 15,20,24,26 |
| DATA_SOURCE | 0 | a | $0 |
| DATA_SOURCE | 1 | func | $1 |
| DATA_SOURCE | 2 | type | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
security/smack/smack_lsm.c smk_curacc_on_task() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 8341810451171790848 |
| PARAM_VALUE | 1 | func | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| BUF_SIZE | 1 | func | 18-19,21-22,24 |
| BUF_SIZE | 1 | func | 18-19,21-22,24 |
| DATA_SOURCE | 1 | func | $2 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smk_curacc_sem() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 2008213688438808576 |
| PARAM_VALUE | 1 | func | 6887731369580601344 |
| PARAM_VALUE | 2 | type | 4 |
| BUF_SIZE | 1 | func | 15 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smk_curacc_shm() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 8393998667655663616 |
| PARAM_VALUE | 1 | func | 7489746248609120256 |
| PARAM_VALUE | 2 | type | 4 |
| BUF_SIZE | 1 | func | 15 |
| NOCHECK_CALL |
security/smack/smack_lsm.c smk_ptrace_rule_check() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 5203013319233220608 |
| PARAM_VALUE | 1 | func | 325099107882549248,4682929226749046784,8895841908198387712 |
| PARAM_VALUE | 2 | type | 5 |
| BUF_SIZE | 1 | func | 21,26 |
| BUF_SIZE | 1 | func | 21,26 |
| DATA_SOURCE | 1 | func | $3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
security/smack/smack_lsm.c smk_tskacc_msq() -> smk_ad_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 7643695465474310144 |
| PARAM_VALUE | 1 | func | 4683668664332406784 |
| PARAM_VALUE | 2 | type | 4 |
| BUF_SIZE | 1 | func | 15 |
| NOCHECK_CALL |