3 ms·
I didn't like the code either. I remember seeing that they were changing euid betwen root and something else all over the place, for seemingly little benfit, be
by megous 9y ago
I didn't like the code either. I remember seeing that they were changing euid betwen root and something else all over the place, for seemingly little benfit, because exploit code could simply change it back to root too. It seemed a bit confused.
Though there's nsjail if you want something better written/cleaner.
- miduil 9y agoGood to read about that you're feeling similar and thank you for the pointer, going to check it out. Sadly this thread never gained traction, but I'd love to read more discussion about this: https://news.ycombinator.com/item?id=13838596 https://news.ycombinator.com/item?id=13838596 (Link for convenience for others) https://github.com/google/nsjail https://github.com/google/nsjail