Searched refs:abspath (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/analyze/ |
D | analyze-inspect-elf.c | 20 _cleanup_free_ char *abspath = NULL; in analyze_elf() local 23 r = path_make_absolute_cwd(*filename, &abspath); in analyze_elf() 27 path_simplify(abspath); in analyze_elf() 29 fd = RET_NERRNO(open(abspath, O_RDONLY|O_CLOEXEC)); in analyze_elf() 31 return log_error_errno(fd, "Could not open \"%s\": %m", abspath); in analyze_elf() 33 … r = parse_elf_object(fd, abspath, /* fork_disable_dump= */false, NULL, &package_metadata); in analyze_elf() 35 … return log_error_errno(r, "Parsing \"%s\" as ELF object failed: %m", abspath); in analyze_elf() 48 TABLE_STRING, abspath); in analyze_elf() 91 if (!streq(abspath, module_name)) { in analyze_elf()
|
D | analyze-verify-util.c | 42 _cleanup_free_ char *abspath = NULL; in verify_prepare_filename() local 50 r = path_make_absolute_cwd(filename, &abspath); in verify_prepare_filename() 54 name = basename(abspath); in verify_prepare_filename() 64 dir = dirname_malloc(abspath); in verify_prepare_filename()
|
/systemd-251/src/shared/ |
D | smack-util.c | 124 static int smack_fix_fd(int fd, const char *abspath, LabelFixFlags flags) { in smack_fix_fd() argument 130 assert(abspath); in smack_fix_fd() 131 assert(path_is_absolute(abspath)); in smack_fix_fd() 134 if (!path_startswith(abspath, "/dev")) in smack_fix_fd() 173 return log_debug_errno(r, "Unable to fix SMACK label of %s: %m", abspath); in smack_fix_fd() 215 _cleanup_free_ char *abspath = NULL; in mac_smack_fix_container() local 224 r = path_make_absolute_cwd(path, &abspath); in mac_smack_fix_container() 228 fd = open(abspath, O_NOFOLLOW|O_CLOEXEC|O_PATH); in mac_smack_fix_container()
|
D | selinux-util.c | 472 static int selinux_create_file_prepare_abspath(const char *abspath, mode_t mode) { in selinux_create_file_prepare_abspath() argument 476 assert(abspath); in selinux_create_file_prepare_abspath() 477 assert(path_is_absolute(abspath)); in selinux_create_file_prepare_abspath() 484 r = selabel_lookup_raw(label_hnd, &filecon, abspath, mode); in selinux_create_file_prepare_abspath() 490 …urn log_enforcing_errno(errno, "Failed to determine SELinux security context for %s: %m", abspath); in selinux_create_file_prepare_abspath() 494 …g_enforcing_errno(errno, "Failed to set SELinux security context %s for %s: %m", filecon, abspath); in selinux_create_file_prepare_abspath() 506 _cleanup_free_ char *abspath = NULL; in mac_selinux_create_file_prepare_at() local 517 r = safe_getcwd(&abspath); in mac_selinux_create_file_prepare_at() 519 r = fd_get_path(dir_fd, &abspath); in mac_selinux_create_file_prepare_at() 523 if (!isempty(path) && !path_extend(&abspath, path)) in mac_selinux_create_file_prepare_at() [all …]
|
/systemd-251/ |
D | .ycm_extra_conf.py | 58 return os.path.dirname(os.path.abspath(__file__))
|
/systemd-251/test/ |
D | create-sys-script.py | 161 outfile = os.path.abspath(os.path.dirname(sys.argv[0]) + '/sys-script.py')
|
/systemd-251/test/test-network/ |
D | systemd-networkd-tests.py | 294 copytree(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'conf'), networkd_ci_path)
|