-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
Hello, your project looks great, but I have looked at your code and found this which concerns me:
// Cannot be used from golang as they can one be entered from
// single threaded processes. See: setns(2)
//Namespace{Path: "ns/mnt", Type: syscall.CLONE_NEWNS},
//Namespace{Path: "ns/user", Type: syscall.CLONE_NEWUSER},
Am I right that you are not using user namespaces? Just because some limitation of Go language?This seems really insecure, unprivileged containers (user namespaces) seems like the only way how to make containers really secure (without it, root in container is like root on host system... at least this is what I have read about it, you can harden it with SELinux/AppArmor or other MAC, but it is still not that secure as user namespaces).
Are you planning to fix this? Or did I overlooked something?
Metadata
Metadata
Assignees
Labels
No labels