Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Feb 12, 2021
|
parent
|
context
|
favorite
| on:
How Fat Does a Fat Binary Need to Be?
The behavior your are likely thinking of (execvp on a file without a shebang) is implemented in libc.
fao_
on Feb 12, 2021
[–]
No. As someone else mentioned, the kernel hardcodes /bin/sh as a last resort:
https://github.com/torvalds/linux/blob/dcc0b49040c70ad827a7f...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: