17 #ifndef __LINUX_SECCOMP_HPP__ 18 #define __LINUX_SECCOMP_HPP__ 30 #include "linux/capabilities.hpp" 41 const mesos::seccomp::ContainerSeccompProfile& profile,
43 capabilities =
None());
48 const mesos::seccomp::ContainerSeccompProfile::Architecture& arch);
56 explicit SeccompFilter(
const scmp_filter_ctx& _ctx) : ctx(_ctx) {}
65 #endif // __LINUX_SECCOMP_HPP__ static Try< bool > nativeArch(const mesos::seccomp::ContainerSeccompProfile::Architecture &arch)
Try< Nothing > load() const
Definition: option.hpp:29
static Try< process::Owned< SeccompFilter > > create(const mesos::seccomp::ContainerSeccompProfile &profile, const Option< mesos::internal::capabilities::ProcessCapabilities > &capabilities=None())
Definition: attributes.hpp:24
Definition: seccomp.hpp:36