summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/ioctl_linux.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-12-05 11:46:03 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-05 11:46:03 +0100
commitb576fbbdcb3fd6eabc5d6c2ec947879af386b388 (patch)
tree63c2e4fd07e0be3fcc21f96c7048ec0a203f44f1 /vendor/golang.org/x/sys/unix/ioctl_linux.go
parent[chore]: Bump github.com/gorilla/feeds from 1.1.1 to 1.1.2 (#2414) (diff)
downloadgotosocial-b576fbbdcb3fd6eabc5d6c2ec947879af386b388.tar.xz
[chore]: Bump golang.org/x/crypto from 0.15.0 to 0.16.0 (#2413)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0. - [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ioctl_linux.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ioctl_linux.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/ioctl_linux.go b/vendor/golang.org/x/sys/unix/ioctl_linux.go
index 0d12c0851..dbe680eab 100644
--- a/vendor/golang.org/x/sys/unix/ioctl_linux.go
+++ b/vendor/golang.org/x/sys/unix/ioctl_linux.go
@@ -231,3 +231,8 @@ func IoctlLoopGetStatus64(fd int) (*LoopInfo64, error) {
func IoctlLoopSetStatus64(fd int, value *LoopInfo64) error {
return ioctlPtr(fd, LOOP_SET_STATUS64, unsafe.Pointer(value))
}
+
+// IoctlLoopConfigure configures all loop device parameters in a single step
+func IoctlLoopConfigure(fd int, value *LoopConfig) error {
+ return ioctlPtr(fd, LOOP_CONFIGURE, unsafe.Pointer(value))
+}