Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
syscall: Increase bpf fake uname to 5.4
Browse files Browse the repository at this point in the history
Change-Id: I50bfa0d35d81f1c8cc21530ea0524a6752d0d34c
  • Loading branch information
Linux4 authored and David112x committed Apr 7, 2024
1 parent d76b054 commit 31e059c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,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);
}
Expand Down

0 comments on commit 31e059c

Please sign in to comment.