Searched refs:env_var (Results 1 – 2 of 2) sorted by relevance
92 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs() argument102 env_path_name = getenv(env_var); in populate_ruleset_fs()105 fprintf(stderr, "Missing environment variable %s\n", env_var); in populate_ruleset_fs()109 unsetenv(env_var); in populate_ruleset_fs()156 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net() argument166 env_port_name = getenv(env_var); in populate_ruleset_net()170 unsetenv(env_var); in populate_ruleset_net()191 static bool check_ruleset_scope(const char *const env_var, in check_ruleset_scope() argument204 env_type_scope = getenv(env_var); in check_ruleset_scope()235 unsetenv(env_var); in check_ruleset_scope()
232 const char *env_var = "LIBBPF_LOG_LEVEL"; in __base_pr() local240 verbosity = getenv(env_var); in __base_pr()250 env_var, verbosity); in __base_pr()