Landlock Scoped Control

The “scoped” operations restrict operations which interact with processes in higher-privileged Landlock domains.

The two operations that are available as of LandlockAbiVersion V5 are:

Example

A process P1 is in Landlock domain D1 where signals are scope-restricted. It has started a child process P2 which has entered a new Landlock domain, D2, in which signals are are also scope-restricted. P1 has additionally started a child process P3 in which signals are not scope-restricted.

Signaling works as expected, with the following twists:

P0 P1 P2 P3 P1'  D2 D3   D1

Arrows indicate the direction in which signals may flow. Everytime the arrow crosses a domain boundary of a domain with scope-restricted signals, it can only go inwards.