Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

net/socket.c __sock_create() -> security_socket_create()

Type Parameter Key Value
PARAM_VALUE 0 family 0-45
PARAM_VALUE 1 type 0-10
PARAM_VALUE 3 kern 0-1
DATA_SOURCE 0 family $1 [m]
DATA_SOURCE 1 type $2
DATA_SOURCE 2 protocol $3
DATA_SOURCE 3 kern $5
FUZZY_MAX 0 family 17
FUZZY_MAX 1 type 5
HARD_MAX 3 kern 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 family 0-1,3-45
USER_DATA 1 type 0-10[c]
USER_DATA 2 protocol s32min-s32max

net/socket.c sock_create_lite() -> security_socket_create()

Type Parameter Key Value
PARAM_VALUE 3 kern 1
DATA_SOURCE 0 family $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 protocol $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk