Home
last modified time | relevance | path

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

/kernel/
Dseccomp.c2137 struct seccomp_metadata kmd = {}; in seccomp_get_metadata() local
2144 size = min_t(unsigned long, size, sizeof(kmd)); in seccomp_get_metadata()
2146 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
2149 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
2152 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
2157 kmd.flags |= SECCOMP_FILTER_FLAG_LOG; in seccomp_get_metadata()
2160 if (copy_to_user(data, &kmd, size)) in seccomp_get_metadata()