Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 19 files:

Smatch caller information:

fs/xattr.c simple_xattr_list() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 21
TASK_NOT_RUNNING

kernel/ptrace.c ptrace_has_cap() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 19
DATA_SOURCE 0 ns $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &_T->lock->alloc_lock
HALF_LOCKED2 &task->alloc_lock

kernel/ucount.c set_permissions() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 cap 24
RX_PATH
TASK_NOT_RUNNING

security/landlock/syscalls.c __do_sys_landlock_restrict_self() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

security/landlock/syscalls.c __do_sys_landlock_restrict_self() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

net/sysctl_net.c net_ctl_permissions() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 12
RX_PATH
TASK_NOT_RUNNING

io_uring/io_uring.c io_uring_create() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 14

kernel/pid.c pid_table_root_permissions() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
RX_PATH
TASK_NOT_RUNNING

fs/namespace.c __do_sys_listmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

fs/namespace.c __do_sys_listmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

fs/namespace.c __do_sys_statmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

fs/namespace.c __do_sys_statmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

fs/namespace.c do_listmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
LOCK2 global &namespace_sem

fs/namespace.c do_statmount() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
LOCK2 global &namespace_sem

fs/namespace.c get_sequential_mnt_ns() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
LOCK2 rcu_read

ipc/ipc_sysctl.c checkpoint_restore_ns_capable_noaudit() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 40
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING

ipc/ipc_sysctl.c checkpoint_restore_ns_capable_noaudit() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING

crypto/af_alg.c af_alg_capable() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 12
RX_PATH
TASK_NOT_RUNNING

kernel/nscommon.c may_see_all_namespaces() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/vmw_vsock/af_vsock.c __vsock_create() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 12
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bt_proto_lock

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 21

fs/notify/fanotify/fanotify_user.c __do_sys_fanotify_init() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 21

fs/overlayfs/xattrs.c ovl_can_list() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 0 ns 251279612184977408
PARAM_VALUE 1 cap 21
TASK_NOT_RUNNING

io_uring/register.c io_register_bpf_filter_task() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

io_uring/register.c io_register_restrictions_task() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21

kernel/seccomp.c seccomp_prepare_filter() -> ns_capable_noaudit()

Type Parameter Key Value
PARAM_VALUE 1 cap 21