opencontainers/selinux

unix.SELINUX_MAGIC (untyped int constant 4185718668) overflows int32

dims opened this issue · 3 comments

dims commented

@kolyshkin the following change 86a2c3f seems to cause an issue in the kubernetes typecheck scripts. Please see the output in:
https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/86975/pull-kubernetes-typecheck/1232997816310173697

The kubernetes PR where we are trying to update to newer selinux package is:
kubernetes/kubernetes#86975 (comment)

For the record the error is:

ERROR(linux/386,linux/arm) vendor/github.com/opencontainers/selinux/go-selinux/selinux_linux.go:118:17: unix.SELINUX_MAGIC (untyped int constant 4185718668) overflows int32
exit status 1
!!! Type Check has failed. This may cause cross platform build failures.
!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information.
dims commented

on arm and 386, Statfs_t seems to be Type int32

Is it possible to revert this change and make a fresh release for us to use?

dims commented

@saschagrunert beat me to it with a PR! thanks @saschagrunert and @mrunalp

#71

Hah, nice to see that we found the same issue. 🙂