Home
last modified time | relevance | path

Searched refs:absolute_path (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/landlock/
H A Daudit.h399 char *absolute_path = NULL; in audit_init_filter_exe() local
413 absolute_path = realpath(path, NULL); in audit_init_filter_exe()
414 if (!absolute_path) in audit_init_filter_exe()
418 filter->exe_len = strlen(absolute_path); in audit_init_filter_exe()
422 memcpy(filter->exe, absolute_path, filter->exe_len); in audit_init_filter_exe()
423 free(absolute_path); in audit_init_filter_exe()
H A Dfs_test.c7062 char *absolute_path = NULL; in matches_log_fs_extra() local
7080 absolute_path = realpath(path, NULL); in matches_log_fs_extra()
7081 if (!absolute_path) in matches_log_fs_extra()
7086 log_match_cursor = regex_escape(absolute_path, log_match_cursor, in matches_log_fs_extra()
7088 free(absolute_path); in matches_log_fs_extra()