Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/user_namespace.h, line 245 (as a function)
- kernel/user_namespace.c, line 1321 (as a function)
Referenced in 5 files:
- fs/fuse/dir.c, line 1698
- fs/namespace.c, line 6466
- fs/overlayfs/params.c, line 705
- kernel/user_namespace.c, line 1325
- security/commoncap.c, line 782
Smatch caller information:
fs/overlayfs/params.c ovl_parse_param() -> current_in_userns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/fuse/dir.c fuse_allow_current_process() -> current_in_userns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namespace.c mnt_may_suid() -> current_in_userns()
| Type | Parameter | Key | Value |
|---|
security/commoncap.c get_file_caps() -> current_in_userns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | target_ns | 1 |