Home
last modified time | relevance | path

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

/external/minijail/
Dlibminijail.c177 struct sock_fprog *filter_prog; member
370 if (j->filter_len > 0 && j->filter_prog != NULL) { in minijail_set_seccomp_filter_tsync()
379 if (j->filter_len > 0 && j->filter_prog != NULL) { in minijail_log_seccomp_filter_failures()
723 j->filter_prog = NULL; in clear_seccomp_options()
788 j->filter_prog = fprog; in parse_seccomp_filters()
893 if (j->flags.seccomp_filter && j->filter_prog) { in minijail_marshal_helper()
894 struct sock_fprog *fp = j->filter_prog; in minijail_marshal_helper()
939 j->filter_prog = NULL; in minijail_unmarshal()
996 j->filter_prog = malloc(sizeof(struct sock_fprog)); in minijail_unmarshal()
997 if (!j->filter_prog) in minijail_unmarshal()
[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()