Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/selinux/hooks.c selinux_sctp_process_new_assoc() -> ad_net_init_from_sk()

Type Parameter Key Value
PARAM_VALUE 0 ad 8497610736703143936
PARAM_VALUE 1 net 7817440798731960320
PARAM_VALUE 2 sk 4096-ptr_max
NOCHECK_CALL
UNITS 2 sk unit_byte

security/selinux/hooks.c selinux_socket_unix_may_send() -> ad_net_init_from_sk()

Type Parameter Key Value
PARAM_VALUE 0 ad 1394610459904811008
PARAM_VALUE 1 net 6686337806312980480
PARAM_VALUE 2 sk 4096-ptr_max
NOCHECK_CALL
UNITS 2 sk unit_byte

security/selinux/hooks.c selinux_socket_unix_stream_connect() -> ad_net_init_from_sk()

Type Parameter Key Value
PARAM_VALUE 0 ad 3844271292400267264
PARAM_VALUE 1 net 7486291950487379968
PARAM_VALUE 2 sk 4096-ptr_max
DATA_SOURCE 2 sk $1
NOCHECK_CALL

security/selinux/hooks.c sock_has_perm() -> ad_net_init_from_sk()

Type Parameter Key Value
PARAM_VALUE 0 ad 5753591912312508416
PARAM_VALUE 1 net 6743194747101487104
PARAM_VALUE 2 sk 4096-ptr_max
DATA_SOURCE 2 sk $0
NOCHECK_CALL
UNITS 2 sk unit_byte