Hacker News new | ask | show | jobs
by rcthompson 4506 days ago

    cat >/bin/uname <<EOF
    #!/bin/sh
    echo Linux
    EOF
    chmod +x /bin/uname
1 comments

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.