Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter.c285 struct filter_block *compile_policy_line(int nr, const char *policy_line, in compile_policy_line() argument
326 if (strlen(policy_line) == 0) { in compile_policy_line()
332 if (strlen(policy_line) >= MAX_POLICY_LINE_LENGTH) in compile_policy_line()
336 char *line = strndup(policy_line, MAX_POLICY_LINE_LENGTH); in compile_policy_line()
436 int parse_include_statement(char *policy_line, unsigned int include_level, in parse_include_statement() argument
439 if (strncmp("@include", policy_line, strlen("@include")) != 0) { in parse_include_statement()
440 warn("invalid statement '%s'", policy_line); in parse_include_statement()
444 if (policy_line[strlen("@include")] != ' ') { in parse_include_statement()
445 warn("invalid include statement '%s'", policy_line); in parse_include_statement()
460 char *statement = policy_line; in parse_include_statement()
[all …]
Dsyscall_filter.h29 struct filter_block *compile_policy_line(int nr, const char *policy_line,