Commit Graph

3 Commits

Author SHA1 Message Date
Valentin Rothberg 095aded91c go fmt: use go 1.18 conditional-build syntax
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-03-18 11:04:40 +01:00
Daniel J Walsh 924a25ff41 Fix make cross
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-12-11 07:19:10 -05:00
Giuseppe Scrivano c0d068931f seccomp: accept strings for errno values
simplify maintainance of the seccomp.json file and accept errno as
strings.

It also fixes a portability problem since errno values are arch
dependent.

The existing `DefaultErrnoRet` and `ErrnoRet` are maintained for
backward compatibility but they are obsoleted and will be removed in a
future release.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-11-09 11:41:03 +01:00