Inconsistencies between Landlock and non-landlock mode #19

Oscailte
oscail 2021-10-26 22:28:47 +02:00 le crtxcr · 0 tráchtanna
Úinéir

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 cuireadh an lipéad
bug
2021-10-26 22:28:47 +02:00 leis
crtxcr rinne tagairt don cheist seo ó ghealltanas 2021-12-27 00:44:43 +01:00
Sínigh isteach chun dul isteach sa chomhrá seo.
Gan Chloch Mhíle
1 Rannpháirtithe
Fógraí
Dáta dlite
Níl aon dáta dlite socraithe.
Spleithiúlachtaí

Níl aon spleáchais leagtha síos.

Tagairt: crtxcr/exile.h#19
Níl aon tuairisc ar fáil.