Skip to content

Commit

Permalink
Pretend to be kernel version 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Sep 11, 2017
1 parent ed48dc9 commit 03b38fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sys/uname.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ int sys_uname(struct uname *uts) {
bzero(uts, sizeof(struct uname));
strcpy(uts->system, "Linux");
strcpy(uts->hostname, "compotar");
strcpy(uts->release, "2.6.32-ish");
strcpy(uts->release, "3.2.0-ish");
strcpy(uts->version, "SUPER AWESOME");
strcpy(uts->arch, "i686");
strcpy(uts->domain, "compotar.me");
Expand Down
2 changes: 1 addition & 1 deletion vdso/note.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name:
after_name:
.balign 4
note:
.long 0x020620 // let's pretend we're linux 2.6.32
.long 0x030200 // let's pretend we're linux 3.2.0
after_note:
.balign 4
.popsection

0 comments on commit 03b38fa

Please sign in to comment.