mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
update opencontainers/selinux/go-selinux to v1.11.1
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
4
vendor/github.com/opencontainers/selinux/go-selinux/xattrs_linux.go
generated
vendored
4
vendor/github.com/opencontainers/selinux/go-selinux/xattrs_linux.go
generated
vendored
@@ -31,7 +31,7 @@ func lgetxattr(path, attr string) ([]byte, error) {
|
||||
func doLgetxattr(path, attr string, dest []byte) (int, error) {
|
||||
for {
|
||||
sz, err := unix.Lgetxattr(path, attr, dest)
|
||||
if err != unix.EINTR { //nolint:errorlint // unix errors are bare
|
||||
if err != unix.EINTR {
|
||||
return sz, err
|
||||
}
|
||||
}
|
||||
@@ -64,7 +64,7 @@ func getxattr(path, attr string) ([]byte, error) {
|
||||
func dogetxattr(path, attr string, dest []byte) (int, error) {
|
||||
for {
|
||||
sz, err := unix.Getxattr(path, attr, dest)
|
||||
if err != unix.EINTR { //nolint:errorlint // unix errors are bare
|
||||
if err != unix.EINTR {
|
||||
return sz, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user