Skip to content

Supervise mode #44

@micromaomao

Description

@micromaomao

Hi, this is a tracking issue for a feature which I'm proposing, which will allow landlock to delegate policy decisions to a user-space "supervisor".

There has been some discussion on the mailing list already but following discussion with @l0kod I'm creating an issue here (significant comments should still ideally be posted on the mailing list tho)

v1: https://lore.kernel.org/all/[email protected]

Note that the design has evolved a bit, and following discussion with Mickaël it seems that #1 (Domain hash table) and mutable domains would be perquisite for this, and this patch would instead use a "supervisor modify domain to allow access then allow the original syscall to be retried" approach. There is some outstanding questions regarding file/dir/link/node creation, namely, how do we grant creation on a one-off basis so that the app can only create names "approved" by the user.

Will add summary of the discussion here later on.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions