Home
last modified time | relevance | path

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

/linux-6.12.1/samples/landlock/
Dsandboxer.c111 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs() argument
121 env_path_name = getenv(env_var); in populate_ruleset_fs()
124 fprintf(stderr, "Missing environment variable %s\n", env_var); in populate_ruleset_fs()
128 unsetenv(env_var); in populate_ruleset_fs()
175 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net() argument
184 env_port_name = getenv(env_var); in populate_ruleset_net()
188 unsetenv(env_var); in populate_ruleset_net()
219 static bool check_ruleset_scope(const char *const env_var, in check_ruleset_scope() argument
232 env_type_scope = getenv(env_var); in check_ruleset_scope()
263 unsetenv(env_var); in check_ruleset_scope()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c232 const char *env_var = "LIBBPF_LOG_LEVEL"; in __base_pr() local
240 verbosity = getenv(env_var); in __base_pr()
250 env_var, verbosity); in __base_pr()