diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-07 17:20:47 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-07 17:20:47 +0100 |
commit | d87a9b788b3ae273421ee1a6960689ceb2e4f256 (patch) | |
tree | 697f88388ead6282f655b6c25adc91e6e4f0121a /vendor/golang.org/x/sys/unix/syscall_aix.go | |
parent | 23ce826a84db81b834ef62584b6d3ffb3e0084fd (diff) | |
download | podman-d87a9b788b3ae273421ee1a6960689ceb2e4f256.tar.gz podman-d87a9b788b3ae273421ee1a6960689ceb2e4f256.tar.bz2 podman-d87a9b788b3ae273421ee1a6960689ceb2e4f256.zip |
vendor c/image/v5@main
Mainly to pull in fixes for #11636 which handles credential helpers
correctly.
Fixes: #11636
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_aix.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_aix.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_aix.go b/vendor/golang.org/x/sys/unix/syscall_aix.go index 680c954bf..6192750ce 100644 --- a/vendor/golang.org/x/sys/unix/syscall_aix.go +++ b/vendor/golang.org/x/sys/unix/syscall_aix.go @@ -377,6 +377,11 @@ func (w WaitStatus) TrapCause() int { return -1 } //sys fcntl(fd int, cmd int, arg int) (val int, err error) +//sys fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range +func Fsync(fd int) error { + return fsyncRange(fd, O_SYNC, 0, 0) +} + /* * Direct access */ @@ -393,7 +398,6 @@ func (w WaitStatus) TrapCause() int { return -1 } //sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) //sys Fdatasync(fd int) (err error) -//sys Fsync(fd int) (err error) // readdir_r //sysnb Getpgid(pid int) (pgid int, err error) |