Allow usage on platforms without seccomp #27

otevřený
otevřeno 2022-01-15 19:52:00 +01:00 uživatelem crtxcr · 0 komentářů
Vlastník

It's not relevant for our other features, therefore just because a platform does not have seccomp does not mean we should not be able to use the whole of exile.h

Either make #ifdefs, but then code using exile must also have such checks, which is annoying.

Alternatively, check this during runtime, then either make an error if seccomp funcitonality is used, or allow to silently continue, but this should be optional, and probably default off.

It's not relevant for our other features, therefore just because a platform does not have seccomp does not mean we should not be able to use the whole of exile.h Either make #ifdefs, but then code using exile must also have such checks, which is annoying. Alternatively, check this during runtime, then either make an error if seccomp funcitonality is used, or allow to silently continue, but this should be optional, and probably default off.
crtxcr přidal/a
enhancement
štítek 2022-01-15 19:52:00 +01:00
Přihlaste se pro zapojení do konverzace.
1 účastníků
Oznámení
Termín dokončení
Žádný termín dokončení.
Závislosti

Nejsou nastaveny žádné závislosti.

Reference: crtxcr/exile.h#27
K dispozici není žádný popis.