ScmpActErrno always returns 0x00050001, but the correct value should be the specified error code and a masked value of 0x00050000.
|
LinuxSeccompAction::ScmpActErrno => 0x00050001, |
libseccomp-rs is a correct implementation, so we need to follow it.
https://github.com/libseccomp-rs/libseccomp-rs/blob/fdc61a5bb5b80bb7da190a264472aeb4f287a27a/libseccomp-sys/src/lib.rs#L244-L249
Additionally, same as ScmpActTrace.
ScmpActTrace always returns 0x7ff00001, but the correct value should be the specified value and a masked value of 0x7ff00000.
|
LinuxSeccompAction::ScmpActTrace => 0x7ff00001, |
libseccomp-rs is a correct implementation, so we need to follow it.
https://github.com/libseccomp-rs/libseccomp-rs/blob/fdc61a5bb5b80bb7da190a264472aeb4f287a27a/libseccomp-sys/src/lib.rs#L250-L255
ScmpActErrno always returns 0x00050001, but the correct value should be the specified error code and a masked value of 0x00050000.
oci-spec-rs/src/runtime/linux.rs
Line 1138 in df09893
libseccomp-rs is a correct implementation, so we need to follow it.
https://github.com/libseccomp-rs/libseccomp-rs/blob/fdc61a5bb5b80bb7da190a264472aeb4f287a27a/libseccomp-sys/src/lib.rs#L244-L249
Additionally, same as ScmpActTrace.
ScmpActTrace always returns 0x7ff00001, but the correct value should be the specified value and a masked value of 0x7ff00000.
oci-spec-rs/src/runtime/linux.rs
Line 1140 in df09893
libseccomp-rs is a correct implementation, so we need to follow it.
https://github.com/libseccomp-rs/libseccomp-rs/blob/fdc61a5bb5b80bb7da190a264472aeb4f287a27a/libseccomp-sys/src/lib.rs#L250-L255