mirror of
https://github.com/containers/skopeo.git
synced 2025-08-23 08:39:01 +00:00
Addresses CVE-2025-27144 by bumping github.com/go-jose/go-jose/v3 to v3.0.4 and github.com/go-jose/go-jose/v4 to v4.0.5 Fixes: https://issues.redhat.com/browse/OCPBUGS-51251, https://issues.redhat.com/browse/OCPBUGS-51252 [NO NEW TESTS NEEDED] Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
31 lines
651 B
Go
31 lines
651 B
Go
// Copyright 2022 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build hurd
|
|
|
|
package unix
|
|
|
|
/*
|
|
#include <stdint.h>
|
|
int ioctl(int, unsigned long int, uintptr_t);
|
|
*/
|
|
import "C"
|
|
import "unsafe"
|
|
|
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(arg))
|
|
if r0 == -1 && er != nil {
|
|
err = er
|
|
}
|
|
return
|
|
}
|
|
|
|
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
|
r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(uintptr(arg)))
|
|
if r0 == -1 && er != nil {
|
|
err = er
|
|
}
|
|
return
|
|
}
|