lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 11 Aug 2019 23:54:48 +0000 From: Yonghong Song <yhs@...com> To: Stanislav Fomichev <sdf@...gle.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "bpf@...r.kernel.org" <bpf@...r.kernel.org> CC: "davem@...emloft.net" <davem@...emloft.net>, "ast@...nel.org" <ast@...nel.org>, "daniel@...earbox.net" <daniel@...earbox.net>, Martin Lau <kafai@...com> Subject: Re: [PATCH bpf-next v2 4/4] selftests/bpf: add sockopt clone/inheritance test On 8/9/19 9:10 AM, Stanislav Fomichev wrote: > Add a test that calls setsockopt on the listener socket which triggers > BPF program. This BPF program writes to the sk storage and sets > clone flag. Make sure that sk storage is cloned for a newly > accepted connection. > > We have two cloned maps in the tests to make sure we hit both cases > in bpf_sk_storage_clone: first element (sk_storage_alloc) and > non-first element(s) (selem_link_map). > > Cc: Martin KaFai Lau <kafai@...com> > Cc: Yonghong Song <yhs@...com> > Signed-off-by: Stanislav Fomichev <sdf@...gle.com> Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists