←back to thread

185 points thunderbong | 1 comments | | HN request time: 0.212s | source
Show context
amelius ◴[] No.43647628[source]
How do I fix my kernel so that I can use the setuid bit with shebang?
replies(2): >>43648855 #>>43649212 #
1. o11c ◴[] No.43649212[source]
You can already do this. Just register the binfmt-misc with the `C` flag; binfmt-misc takes priority over builtin binfmts.

Make sure your interpreter is very carefully written!