Home
last modified time | relevance | path

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

/kernel/
Dseccomp.c170 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
176 static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter) in seccomp_cache_prepare() argument
357 static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilter, in seccomp_cache_check_allow() argument
361 const struct action_cache *cache = &sfilter->cache; in seccomp_cache_check_allow()
631 struct seccomp_filter *sfilter; in seccomp_prepare_filter() local
656 sfilter = kzalloc(sizeof(*sfilter), GFP_KERNEL | __GFP_NOWARN); in seccomp_prepare_filter()
657 if (!sfilter) in seccomp_prepare_filter()
660 mutex_init(&sfilter->notify_lock); in seccomp_prepare_filter()
661 ret = bpf_prog_create_from_user(&sfilter->prog, fprog, in seccomp_prepare_filter()
664 kfree(sfilter); in seccomp_prepare_filter()
[all …]