aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_illumos.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-09 11:55:19 -0400
committerGitHub <noreply@github.com>2021-09-09 11:55:19 -0400
commit784e1ae137587ba7130eff315ebd6965e444da03 (patch)
tree9af4643e1e3a2260cadd9fa1cea331a34909aac1 /vendor/golang.org/x/sys/unix/syscall_illumos.go
parentd477fe5caeaa9205ccc0a1f70dd46ea4dbe8a1ba (diff)
parente5468d404c77379cb8d2fd0c5fad80da976725eb (diff)
downloadpodman-784e1ae137587ba7130eff315ebd6965e444da03.tar.gz
podman-784e1ae137587ba7130eff315ebd6965e444da03.tar.bz2
podman-784e1ae137587ba7130eff315ebd6965e444da03.zip
Merge pull request #11502 from vrothberg/vendor-mpb
vendor mpb@v7.1.4
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_illumos.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_illumos.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go
index 8c5357683..8d5f294c4 100644
--- a/vendor/golang.org/x/sys/unix/syscall_illumos.go
+++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go
@@ -162,6 +162,14 @@ func (l *Lifreq) GetLifruInt() int {
return *(*int)(unsafe.Pointer(&l.Lifru[0]))
}
+func (l *Lifreq) SetLifruUint(d uint) {
+ *(*uint)(unsafe.Pointer(&l.Lifru[0])) = d
+}
+
+func (l *Lifreq) GetLifruUint() uint {
+ return *(*uint)(unsafe.Pointer(&l.Lifru[0]))
+}
+
func IoctlLifreq(fd int, req uint, l *Lifreq) error {
return ioctl(fd, req, uintptr(unsafe.Pointer(l)))
}