Searched refs:pa_make_secure_dir (Results 1 – 4 of 4) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | core-util.h | 66 int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid, bool update_perms);
|
D | core-util.c | 275 int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid, bool update_perms) { in pa_make_secure_dir() function 393 if (pa_make_secure_dir(dir, m, uid, gid, update_perms) < 0) in pa_make_secure_parent_dir() 1518 if (pa_make_secure_dir(d, 0700U, (uid_t) -1, (gid_t) -1, true) < 0) { in pa_get_state_dir() 1778 if (pa_make_secure_dir(d, m, (uid_t) -1, (gid_t) -1, true) < 0) { in pa_get_runtime_dir() 1801 if (pa_make_secure_dir(k, m, (uid_t) -1, (gid_t) -1, true) < 0) { in pa_get_runtime_dir() 1814 if (pa_make_secure_dir(d, m, (uid_t) -1, (gid_t) -1, true) < 0) { in pa_get_runtime_dir()
|
/third_party/pulseaudio/src/daemon/ |
D | main.c | 286 if (pa_make_secure_dir(PA_SYSTEM_RUNTIME_PATH, 0755, pw->pw_uid, gr->gr_gid, true) < 0) { in change_user() 291 if (pa_make_secure_dir(PA_SYSTEM_STATE_PATH, 0700, pw->pw_uid, gr->gr_gid, true) < 0) { in change_user()
|
D | ohos_pa_main.c | 289 if (pa_make_secure_dir(PA_SYSTEM_RUNTIME_PATH, 0755, pw->pw_uid, gr->gr_gid, true) < 0) { in change_user() 294 if (pa_make_secure_dir(PA_SYSTEM_STATE_PATH, 0700, pw->pw_uid, gr->gr_gid, true) < 0) { in change_user()
|