Defined in 1 files as a function:
Referenced in 5 files:
- fs/cachefiles/daemon.c
- fs/fhandle.c, line 182
- fs/namei.c, line 2739
- fs/proc/base.c, line 229
- kernel/auditsc.c, line 2168
Smatch caller information:
fs/proc/base.c proc_cwd_link() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs | 1-u64max |
| PARAM_VALUE | 1 | pwd | 4476707435091537920,4935506243646550016 |
| DATA_SOURCE | 1 | pwd | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &task->alloc_lock | ||
| LOCK2 | &task->signal->exec_update_lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock | ||
| TYPE_LOCK | (struct task_struct)->alloc_lock |
fs/cachefiles/daemon.c cachefiles_daemon_cull() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pwd | 6148399030740570112 |
| NOCHECK_CALL | |||
| LOCK2 | &cache->daemon_mutex | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/cachefiles/daemon.c cachefiles_daemon_inuse() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pwd | 2123711579696861184 |
| NOCHECK_CALL | |||
| LOCK2 | &cache->daemon_mutex | ||
| TYPE_LOCK | (struct cachefiles_cache)->daemon_mutex |
fs/namei.c path_init() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pwd | 522358671205986304,2024205125206544384,4342420360533635072,6489631671941296128 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/auditsc.c audit_alloc_name() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pwd | 4096-ptr_max |
| PARAM_VALUE | 1 | pwd->dentry | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/fhandle.c get_path_anchor() -> get_fs_pwd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pwd | 8428198936525148160 |
| PARAM_VALUE | 1 | pwd->dentry | 0 |
| PARAM_VALUE | 1 | pwd->mnt | 0 |
| DATA_SOURCE | 1 | pwd | $1 |
| NOCHECK_CALL |