Re: [PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-26 Thread Alexei Starovoitov
On Tue, Aug 25, 2020 at 04:19:59PM -0700, Udip Pant wrote: > This patch series adds changes in verifier to make decisions such as granting > of read / write access or enforcement of return code status based on > the program type of the target program while using dynamic program > extension (of type

Re: [PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-26 Thread Toke Høiland-Jørgensen
Udip Pant writes: > This patch series adds changes in verifier to make decisions such as granting > of read / write access or enforcement of return code status based on > the program type of the target program while using dynamic program > extension (of type BPF_PROG_TYPE_EXT). > > The BPF_PROG_T

Re: [PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-25 Thread Yonghong Song
On 8/25/20 4:19 PM, Udip Pant wrote: This patch series adds changes in verifier to make decisions such as granting of read / write access or enforcement of return code status based on the program type of the target program while using dynamic program extension (of type BPF_PROG_TYPE_EXT). The

[PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-25 Thread Udip Pant
This patch series adds changes in verifier to make decisions such as granting of read / write access or enforcement of return code status based on the program type of the target program while using dynamic program extension (of type BPF_PROG_TYPE_EXT). The BPF_PROG_TYPE_EXT type can be used to ext