3 ms·
If uname(2) says it’s Linux, it has to be Linux.
by DrJokepu 13y ago
If uname(2) says it’s Linux, it has to be Linux.
- rcthompson 13y agocat >/bin/uname <<EOF #!/bin/sh echo Linux EOF chmod +x /bin/uname
- DrJokepu 13y agoI 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.