syscall: Increase bpf fake uname to 5.4

Change-Id: I50bfa0d35d81f1c8cc21530ea0524a6752d0d34c
Signed-off-by: Ruchit <risen@pixelexperience.org>
Tim Zimmermann 11 months ago committed by Ruchit
parent e95af26ba0
commit 94066dce10
  1. 2
      kernel/sys.c

@ -1205,7 +1205,7 @@ SYSCALL_DEFINE1(newuname, struct new_utsname __user *, name)
if (!strncmp(current->comm, "bpfloader", 9) || if (!strncmp(current->comm, "bpfloader", 9) ||
!strncmp(current->comm, "netbpfload", 10) || !strncmp(current->comm, "netbpfload", 10) ||
!strncmp(current->comm, "netd", 4)) { !strncmp(current->comm, "netd", 4)) {
strcpy(tmp.release, "4.19.0"); strcpy(tmp.release, "5.4.0");
pr_debug("fake uname: %s/%d release=%s\n", pr_debug("fake uname: %s/%d release=%s\n",
current->comm, current->pid, tmp.release); current->comm, current->pid, tmp.release);
} }

Loading…
Cancel
Save