Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
londons_explore
· 3y ago · 0 comments
Perhaps the real solution here is to let non-root use seccomp-bpf.
Comments
[–]
boustrophedon
3y ago
Non-root can use seccomp-bpf. Chrome already does.
[–]
londons_explore
OP
3y ago
So theres nothing preventing OP implementing what they want entirely in userspace with no kernel changes already?
[–]
jagrsw
3y ago
malloc can use mmap (aside from s/brk) - it's impossible these days to sandbox any more complex program and not allow mmap (arguments can be limited though to only a subset of flags).
[–]
londons_explore
OP
3y ago
But that would be the same for both this proposed mseal() and my proposed seccomp solution.