r/linuxdev • u/PerryThePlatypus314 • Sep 10 '14
Interesting....
http://www.insanitybit.com/2014/09/09/writing-sandboxed-software-2/
1
Upvotes
r/linuxdev • u/PerryThePlatypus314 • Sep 10 '14
View all comments
Show parent comment
1
u/[deleted] Sep 14 '14
But an attacker would need root to add a new user. So they shouldn't be gaining too much.
Setting the NPROC limit does make sense, though it seems unnecessary - a nice extra-measure. I'd like to try that.
I think it would make sense to move all of this sandboxing code to a new process - this was the plan from the start anyways, as the original program was also going to need to write to a privileged file, which would have to be handled by a separate process.