From 94066dce10c3072050d1c97ba4819b7dcc2a4e8e Mon Sep 17 00:00:00 2001 From: Tim Zimmermann Date: Sun, 14 Jan 2024 05:49:48 +0100 Subject: [PATCH] syscall: Increase bpf fake uname to 5.4 Change-Id: I50bfa0d35d81f1c8cc21530ea0524a6752d0d34c Signed-off-by: Ruchit --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sys.c b/kernel/sys.c index fc973cb920ff..eeb584f9f725 100755 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -1205,7 +1205,7 @@ SYSCALL_DEFINE1(newuname, struct new_utsname __user *, name) if (!strncmp(current->comm, "bpfloader", 9) || !strncmp(current->comm, "netbpfload", 10) || !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", current->comm, current->pid, tmp.release); }