Inconsistencies between Landlock and non-landlock mode #19

باز
2021-10-26 22:28:47 +02:00 باز شده توسط crtxcr · 0 دیدگاه
crtxcr دیدگاه ارسال شده 2021-10-26 22:28:47 +02:00
مالک

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 اضافه شده
bug
label 2021-10-26 22:28:47 +02:00
crtxcr ارجاع این مسئله به کامیت 2021-12-27 00:44:43 +01:00
برای پیوستن به گفتگو، وارد شودید.
1 مشارکت کننده
اعلان‌ها
موعد مقرر
هیچ موعد مقرری ثبت نشده.
وابستگی ها

No dependencies set.

Reference: crtxcr/exile.h#19
No description provided.