Home
last modified time | relevance | path

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

/samples/landlock/
Dsandboxer.c84 int i, num_paths = 0; in parse_path() local
87 num_paths++; in parse_path()
90 num_paths++; in parse_path()
93 *path_list = malloc(num_paths * sizeof(**path_list)); in parse_path()
97 for (i = 0; i < num_paths; i++) in parse_path()
100 return num_paths; in parse_path()
117 int num_paths, i, ret = 1; in populate_ruleset_fs() local
132 num_paths = parse_path(env_path_name, &path_list); in populate_ruleset_fs()
133 if (num_paths < 0) { in populate_ruleset_fs()
137 if (num_paths == 1 && path_list[0][0] == '\0') { in populate_ruleset_fs()
[all …]