forked from security/hakurei
container/std: rename seccomp types
Aliases will be kept until 0.4. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -99,7 +99,7 @@ done:
|
||||
}
|
||||
if m.Header.Type == NLMSG_ERROR {
|
||||
if len(m.Data) >= 4 {
|
||||
errno := Errno(-std.ScmpInt(binary.NativeEndian.Uint32(m.Data)))
|
||||
errno := Errno(-std.Int(binary.NativeEndian.Uint32(m.Data)))
|
||||
if errno == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user