Home
last modified time | relevance | path

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

/external/minijail/
Dlibminijail.c185 struct sock_fprog *filter_prog; member
379 if (j->filter_len > 0 && j->filter_prog != NULL) { in minijail_set_seccomp_filter_tsync()
388 if (j->filter_len > 0 && j->filter_prog != NULL) { in minijail_log_seccomp_filter_failures()
875 j->filter_prog = NULL; in clear_seccomp_options()
948 if (j->filter_prog) { in set_seccomp_filters_internal()
949 free(j->filter_prog->filter); in set_seccomp_filters_internal()
950 free(j->filter_prog); in set_seccomp_filters_internal()
954 j->filter_prog = fprog; in set_seccomp_filters_internal()
1113 if (j->flags.seccomp_filter && j->filter_prog) { in minijail_marshal_helper()
1114 struct sock_fprog *fp = j->filter_prog; in minijail_marshal_helper()
[all …]
/external/toybox/toys/pending/
Ddhcp.c249 static struct sock_fprog filter_prog = { variable
603 …if (setsockopt(state->sockfd, SOL_SOCKET, SO_ATTACH_FILTER, &filter_prog, sizeof(filter_prog)) < 0) in mode_raw()