diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-06-29 20:59:56 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-06-29 20:59:56 +0200 |
commit | 7b32641801900ee7e32065b436d7318c5d7a972e (patch) | |
tree | 7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-bpf-Add-tech-preview-taint-for-syscall.patch | |
parent | 506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff) | |
parent | 61b5e2fd06a4be7134afb1cd363002e015123f7f (diff) | |
download | kernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.gz kernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.xz kernel-5.8.0-0.rc3.1.vanilla.1.fc32.zip |
merge originkernel-5.8.0-0.rc3.1.vanilla.1.fc33kernel-5.8.0-0.rc3.1.vanilla.1.fc32kernel-5.8.0-0.rc3.1.vanilla.1.fc31
Diffstat (limited to '0001-bpf-Add-tech-preview-taint-for-syscall.patch')
-rw-r--r-- | 0001-bpf-Add-tech-preview-taint-for-syscall.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/0001-bpf-Add-tech-preview-taint-for-syscall.patch b/0001-bpf-Add-tech-preview-taint-for-syscall.patch index 7fbdadd8e..7269d5364 100644 --- a/0001-bpf-Add-tech-preview-taint-for-syscall.patch +++ b/0001-bpf-Add-tech-preview-taint-for-syscall.patch @@ -36,10 +36,10 @@ index 8f5546ec2d1f..772054412fab 100644 union bpf_attr attr; + static int marked; int err; - + if (sysctl_unprivileged_bpf_disabled && !bpf_capable()) return -EPERM; - + + if (!marked) { + mark_tech_preview("eBPF syscall", NULL); + marked = true; @@ -49,5 +49,5 @@ index 8f5546ec2d1f..772054412fab 100644 if (err) return err; -- -2.26.2 +2.25.4 |