Documentation ¶
Overview ¶
Package syscallcompat wraps Linux-specific syscalls.
Index ¶
- func EnospcPrealloc(fd int, off int64, len int64) (err error)
- func Fallocate(fd int, mode uint32, off int64, len int64) (err error)
- func Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
- func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
- func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
- func Unlinkat(dirfd int, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnospcPrealloc ¶
EnospcPrealloc preallocates ciphertext space without changing the file size. This guarantees that we don't run out of space while writing a ciphertext block (that would corrupt the block).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.