Searched refs:sfilter (Results 1 – 1 of 1) sorted by relevance
432 struct seccomp_filter *sfilter; in seccomp_prepare_filter() local453 sfilter = kzalloc(sizeof(*sfilter), GFP_KERNEL | __GFP_NOWARN); in seccomp_prepare_filter()454 if (!sfilter) in seccomp_prepare_filter()457 mutex_init(&sfilter->notify_lock); in seccomp_prepare_filter()458 ret = bpf_prog_create_from_user(&sfilter->prog, fprog, in seccomp_prepare_filter()461 kfree(sfilter); in seccomp_prepare_filter()465 refcount_set(&sfilter->usage, 1); in seccomp_prepare_filter()467 return sfilter; in seccomp_prepare_filter()