summaryrefslogtreecommitdiffstats
path: root/0001-bpf-Add-tech-preview-taint-for-syscall.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
commit7b32641801900ee7e32065b436d7318c5d7a972e (patch)
tree7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-bpf-Add-tech-preview-taint-for-syscall.patch
parent506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff)
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-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
Diffstat (limited to '0001-bpf-Add-tech-preview-taint-for-syscall.patch')
-rw-r--r--0001-bpf-Add-tech-preview-taint-for-syscall.patch6
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