Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
DrJokepu
12y ago
0 comments
Share
If uname(2) says it’s Linux, it has to be Linux.
0 comments
default
newest
oldest
rcthompson
12y ago
cat >/bin/uname <<EOF #!/bin/sh echo Linux EOF chmod +x /bin/uname
DrJokepu
OP
12y ago
I see your point; that being said, I was talking about the system call uname(2), not the command line utility uname(1). It's somewhat more difficult to fake that, you need to know your way around C the very least.
j
/
k
navigate · click thread line to collapse