Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter.c304 const char *policy_line, in compile_policy_line() argument
345 if (strlen(policy_line) == 0) { in compile_policy_line()
351 char *line = strdup(policy_line); in compile_policy_line()
452 int parse_include_statement(struct parser_state *state, char *policy_line, in parse_include_statement() argument
456 if (strncmp("@include", policy_line, strlen("@include")) != 0) { in parse_include_statement()
457 compiler_warn(state, "invalid statement '%s'", policy_line); in parse_include_statement()
461 if (policy_line[strlen("@include")] != ' ') { in parse_include_statement()
463 policy_line); in parse_include_statement()
478 char *statement = policy_line; in parse_include_statement()
565 char *policy_line = line; in compile_file() local
[all …]
Dsyscall_filter.h35 const char *policy_line,
Dsyscall_filter_unittest.cc71 std::string policy_line, in test_compile_policy_line() argument
75 return compile_policy_line(state, nr, policy_line.c_str(), label_id, labels, in test_compile_policy_line()