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_post_create()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->ops->owner 0,4096-ptr_max
PARAM_VALUE 0 sock->ops->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 sock->ops->owner->state 0-1,3-u32max
PARAM_VALUE 0 sock->type 0-10
PARAM_VALUE 1 family 0-45
PARAM_VALUE 2 type 0-10
PARAM_VALUE 4 kern 0-1
BUF_SIZE 0 sock 192
DATA_SOURCE 0 sock r sock_alloc
DATA_SOURCE 1 family $1 [m]
DATA_SOURCE 2 type $2
DATA_SOURCE 3 protocol $3
DATA_SOURCE 4 kern $5
FUZZY_MAX 1 family 17
FUZZY_MAX 2 type 5
HARD_MAX 4 kern 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 family 0-1,3-45
USER_DATA 2 type 0-10[c]
USER_DATA 3 protocol s32min-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 4 kern 1
BUF_SIZE 0 sock 192
DATA_SOURCE 0 sock r sock_alloc
DATA_SOURCE 1 family $0
DATA_SOURCE 2 type $1
DATA_SOURCE 3 protocol $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk