summaryrefslogtreecommitdiffstats
path: root/0001-bpf-Add-tech-preview-taint-for-syscall.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-30 17:31:55 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-30 17:31:55 +0200
commite11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a (patch)
tree724e53ad8d5c0f42dc98ddc9e9ab1f39e1e3c542 /0001-bpf-Add-tech-preview-taint-for-syscall.patch
parent7b32641801900ee7e32065b436d7318c5d7a972e (diff)
parentd176dfce22f5ead7a6018edb69757bc8840cc008 (diff)
downloadkernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.tar.gz
kernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.tar.xz
kernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.zip
merge origin
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 7269d5364..7fbdadd8e 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.25.4
+2.26.2