Documentation
¶
Overview ¶
Package internal contains some helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSyscallEACCES = syscall.EACCES ErrUnixEACCES = unix.EACCES )
Functions ¶
func HasPrivilegesForSymlink ¶
func HasPrivilegesForSymlink() bool
func IgnoringEINTR ¶ added in v1.7.1
IgnoringEINTR makes a function call and repeats it if it returns an EINTR error. This appears to be required even though we install all signal handlers with SA_RESTART: see #22838, #38033, #38836, #40846. Also #20400 and #36644 are issues in which a signal handler is installed without setting SA_RESTART. None of these are the common case, but there are enough of them that it seems that we can't avoid an EINTR loop.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ztest is a copy of https://github.com/arp242/zstd/tree/master/ztest – vendored here so we don't add a dependency for just one file used in tests.
|
Package ztest is a copy of https://github.com/arp242/zstd/tree/master/ztest – vendored here so we don't add a dependency for just one file used in tests. |
Click to show internal directories.
Click to hide internal directories.