Re: [PATCH] landlock: Warn once if a Landlock action is requested while disabled

2024-02-26 Thread Mickaël Salaün
On Mon, Feb 19, 2024 at 01:07:48PM -0800, Kees Cook wrote: > On Mon, Feb 19, 2024 at 08:18:04PM +0100, Mickaël Salaün wrote: > > Because sandboxing can be used as an opportunistic security measure, > > user space may not log unsupported features. Let the system > > administrator know if an applica

Re: [PATCH] landlock: Warn once if a Landlock action is requested while disabled

2024-02-26 Thread Mickaël Salaün
On Wed, Feb 21, 2024 at 10:35:50PM +0100, Günther Noack wrote: > Hello! > > I think this is a good idea. > Some minor implementation remarks below. > > On Mon, Feb 19, 2024 at 08:18:04PM +0100, Mickaël Salaün wrote: > > Because sandboxing can be used as an opportunistic security measure, > > user

Re: [PATCH] landlock: Warn once if a Landlock action is requested while disabled

2024-02-21 Thread Günther Noack
Hello! I think this is a good idea. Some minor implementation remarks below. On Mon, Feb 19, 2024 at 08:18:04PM +0100, Mickaël Salaün wrote: > Because sandboxing can be used as an opportunistic security measure, > user space may not log unsupported features. Let the system > administrator know i

Re: [PATCH] landlock: Warn once if a Landlock action is requested while disabled

2024-02-19 Thread Kees Cook
On Mon, Feb 19, 2024 at 08:18:04PM +0100, Mickaël Salaün wrote: > Because sandboxing can be used as an opportunistic security measure, > user space may not log unsupported features. Let the system > administrator know if an application tries to use Landlock but failed > because it isn't enabled at

[PATCH] landlock: Warn once if a Landlock action is requested while disabled

2024-02-19 Thread Mickaël Salaün
Because sandboxing can be used as an opportunistic security measure, user space may not log unsupported features. Let the system administrator know if an application tries to use Landlock but failed because it isn't enabled at boot time. This may be caused by bootloader configurations with outdat