Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tinus_hn
on Sept 14, 2019
|
parent
|
context
|
favorite
| on:
Is chroot a security feature?
So what are these mystical ‘several ways’, preferably some that do not require root and not require proc mounted in the chroot?
dividuum
on Sept 14, 2019
[–]
I can think of ptrace() attach to other processes of the same user outside of the chroot environment and inject arbitrary code.
theamk
on Sept 14, 2019
|
parent
[–]
In modern systems, ptrace requires root even if attaching to the same user. So this hole has been closed.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: