Skip to content

Support disabling set_groups(2) for user namespaces #1235

Description

@amscanne

I ran across this while auditing gvisor for 4.4 compatiblity. The source comment says:

// TODO(b/27454212): Consider supporting disabling setgroups(2), which "was
// added in Linux 3.19, but was backported to many earlier stable kernel
// series, because it addresses a security issue" - user_namespaces(7). (It
// was not backported to 3.11.10, which we are currently imitating.)

Since we're moving up to 4.4 now, this is now in scope of our emulated version.

Metadata

Metadata

Assignees

Labels

area: compatibilityIssue related to (Linux) kernel compatibilityexportedIssue was exported automaticallypriority: p2Normal prioritytype: cleanupRefactorings and cleanups to improve the codetype: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions