Re:Nokia Releasing First Android Phone
by DrJokepu on Monday February 10, 2014 @03:31PM
(#7213592)
If uname(2) says it’s Linux, it has to be Linux.
[ Parent
| on HN ]
Re:Nokia Releasing First Android Phone
by rcthompson on Monday February 10, 2014 @05:26PM
(#7214280)
cat >/bin/uname <<EOF
#!/bin/sh
echo Linux
EOF
chmod +x /bin/unameI 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.