Allow usage on platforms without seccomp #27

Відкрито
2022-01-15 19:52:00 +01:00 відкрито crtxcr · 0 коментарів
crtxcr прокоментував(ла) 2022-01-15 19:52:00 +01:00
Власник

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 додано enhancement з міткою 2022-01-15 19:52:00 +01:00
Увійдіть, щоб приєднатися до розмови.
1 учасників
Сповіщення
Строк виконання
Термін виконання не встановлений.
Залежності

Залежностей не встановлено.

Посилання: crtxcr/exile.h#27