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
Описание отсутствует.