Inconsistencies between Landlock and non-landlock mode #19

Aberto
aberto por crtxcr 2021-10-26 22:28:47 +02:00 · 0 comentários
Proprietário

Code written under the assumption breaks when compiled on landlock-enabled systems.

qssb_append_path_policy(policy, QSSB_FS_ALLOW_READ | QSSB_FS_ALLOW_WRITE)

generall assumes natural behaviour, such as delete being allowed, or the creation of sockets etc.

On landlock, this behaviour changes.

So, we may need to simply implicitly add the necessary flags.

Code written under the assumption breaks when compiled on landlock-enabled systems. qssb_append_path_policy(policy, QSSB_FS_ALLOW_READ | QSSB_FS_ALLOW_WRITE) generall assumes natural behaviour, such as delete being allowed, or the creation of sockets etc. On landlock, this behaviour changes. So, we may need to simply implicitly add the necessary flags.
crtxcr adicionou o rótulo bug 2021-10-26 22:28:47 +02:00
Acesse para participar desta conversação.
1 participante(s)
Notificações
Data Limite
Data limite não definida.
Dependências

Nenhuma dependência definida.

Referência: crtxcr/exile.h#19