Searched defs:newpath (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dselinux-util.c345 _cleanup_free_ char *newpath = NULL; local
347 r = path_make_absolute_cwd(path, &newpath);
351 r = selabel_lookup_raw(label_hnd, &filecon, newpath, mode);
453 _cleanup_free_ char *newpath = NULL; local
455 r = path_make_absolute_cwd(path, &newpath);
459 r = selabel_lookup_raw(label_hnd, &fcon, newpath, S_IFSOCK);
H A Dfs-util.c106 int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) { argument
110 ret = renameat2(olddirfd, oldpath, newdirfd, newpath, RENAME_NOREPLACE);
121 * directories, except when newpath is an *empty* directory. This is
125 ret = renameat(olddirfd, oldpath, newdirfd, newpath);
130 ret = linkat(olddirfd, oldpath, newdirfd, newpath, 0);
138 (void) unlinkat(newdirfd, newpath, 0);

Completed in 491 milliseconds