Re: [RFC v3 05/22] bpf,landlock: Add eBPF program subtype and is_valid_subtype() verifier

From: Thomas Graf
Date: Wed Oct 19 2016 - 11:01:29 EST


On 09/14/16 at 09:23am, Mickaël Salaün wrote:
> @@ -155,6 +163,7 @@ union bpf_attr {
> __u32 log_size; /* size of user buffer */
> __aligned_u64 log_buf; /* user supplied buffer */
> __u32 kern_version; /* checked when prog_type=kprobe */
> + union bpf_prog_subtype prog_subtype; /* checked when prog_type=landlock */

The comment seems bogus, this is not landlock specific.