Inconsistencies between Landlock and non-landlock mode #19
Метки
Нет меток
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Нет этапа
Нет назначенных лиц
1 участников
Уведомления
Срок выполнения
Срок выполнения не установлен.
Зависимости
Зависимостей нет.
Ссылка: crtxcr/exile.h#19
Загрузка…
Ссылка в новой задаче
Описание отсутствует.
Удалить ветку «%!s(<nil>)»
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.