Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/landlock/
A Dsandboxer.c56 static int parse_path(char *env_path, const char ***const path_list) in parse_path() argument
60 if (env_path) { in parse_path()
62 for (i = 0; env_path[i]; i++) { in parse_path()
63 if (env_path[i] == ENV_PATH_TOKEN[0]) in parse_path()
69 (*path_list)[i] = strsep(&env_path, ENV_PATH_TOKEN); in parse_path()
/linux-6.3-rc2/tools/lib/subcmd/
A Dhelp.c198 const char *env_path = getenv("PATH"); in load_command_list() local
208 if (env_path) { in load_command_list()
210 path = paths = strdup(env_path); in load_command_list()

Completed in 4 milliseconds