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.h401 char *absolute_path = NULL; in audit_init_filter_exe() local
415 absolute_path = realpath(path, NULL); in audit_init_filter_exe()
416 if (!absolute_path) in audit_init_filter_exe()
420 filter->exe_len = strlen(absolute_path); in audit_init_filter_exe()
424 memcpy(filter->exe, absolute_path, filter->exe_len); in audit_init_filter_exe()
425 free(absolute_path); in audit_init_filter_exe()
H A Dfs_test.c5604 char *absolute_path = NULL; in matches_log_fs_extra() local
5622 absolute_path = realpath(path, NULL); in matches_log_fs_extra()
5623 if (!absolute_path) in matches_log_fs_extra()
5628 log_match_cursor = regex_escape(absolute_path, log_match_cursor, in matches_log_fs_extra()
5630 free(absolute_path); in matches_log_fs_extra()