latest libcontainer requires a newer version of golang/x/sys shortlog: b016eb3 unix: test UtimesNanoAt on *bsd and solaris 5f8ca72 unix: don't zero out extra registers on riscv64 syscalls a1369af unix: add flags argument in //sys comments for Fstatvfs1 and Statvfs1 on netbsd c96a22e unix: add Dup3 on netbsd and openbsd 04cbcbb unix: correct build tag to define Getdirentries for darwin/arm with Go 1.11 c709ea0 windows: added SO_RCVTIMEO and IPPROTO_ICMP constants 5a3cf84 unix: compare Stat_t members in TestFstatat abf886d unix: unify definition of func fcntl 0732a99 unix: use correct file name in comment d4481ac unix: add Readv/Writev family of syscalls for linux af0d71d windows: fix recvfrom and sendto data types 4a24b40 unix: add PrctlRetInt, a Prctl variant that returns (int, error) ac6580d unix: move functions Ptrace{Get|Set}RegSetArm64 to a separate file eeba5f6 unix: replace readlink in mkall.sh with portable shell commands bc7efcf unix: add functions PtraceGetRegSetArm64 and PtraceSetRegSetArm64 ce4227a unix: add Statvfs and Fstatvfs on NetBSD 85b82a3 cpu: support reading arm64 CPU feature registers 6d18c01 windows: add Recvfrom and Sendto implementations 63cb32a unix: add new fscrypt declarations from Linux v5.4 8a8471f unix/linux: bump Linux and Go versions to latest stable releases bd43791 unix: check number of ready file descriptors in TestPselect 76d669a unix: don't fail TestSelect on EINTR from Select 6bfc516 windows: add Get*PreferredUILanguages f068ffe unix: use same TestSelect on all Unices e882bf8 unix: fix EINTR check in TestPselect cf1e2d5 unix: regenerate zerrors for AIX b5d5184 windows: revert security_windows.go change of CL 202177 2f86c98 unix: don't fail TestPselect on EINTR from Pselect 6254a7c unix: fix EINTR check in TestClockNanosleep 81af739 unix: don't fail TestClockNanosleep on EINTR from ClockNanosleep 52ab431 unix: fix EpollEvent padding on mips64{,le} 4c7a9d0 unix: check correct CPU for being enabled in old mask in TestSchedSetaffinity 344fec8 cpu: don't redeclare doinit on ppc64le fee6b63 unix: accept time.Now()±1 as valid in TestTime 2f3576d cpu: add basic support for GOARCH=riscv64 e43da5d cpu: move empty doinit to own file 8ad3422 unix: skip TestPselect on EINTR 59a1497 unix: test returned fd in TestEpoll d32e6e3 windows: add empty.s to fix build with Go 1.11 and earlier c1f4481 unix: add TestEpoll on linux ac3223d unix: add methods to manipulate *FdSet e8c54fb windows: add EnumProcesses function f43be2a windows/registry: make '-gcflags=all=-d=checkptr' flag work 195ce5e unix: add devlink Linux generic netlink API constants b67d8b4 unix: add missing HCI_CHANNEL_LOGGING constant f8518d3 windows/registry: remove TestWalkFullRegistry due to false assumptions 33540a1 unix: don't use non-existing uint128 type on freebsd/arm64 53bf42e windows/registry: allow for non-null terminated strings 6c3a3bf unix: make convertFromDirents11 checkptr safe b4ff53e unix: remove un-used ptrSize e66fe6e unix: regenerate darwin libc trampolines after CL 202837 f89234f unix: __sysctl is sysctl on darwin b69606a unix: comply with -d=checkptr in Test_anyToSockaddr 742c48e windows: respect permission bits on file opening 3e7259c unix: don't use 32-bit aligned access for cmsgAlignOf on dragonfly after ABI change 9984515 windows, unix: fix wrong unsafe.Pointer alignment in syscall 727590c unix: avoid "just past the end" pointers in UnixRights b09406a windows: add GetDiskFreeSpaceEx function 06d7bd2 unix: update rtnetlink constants 543471e unix: add new func PtraceInterrupt on Linux 0b153f5 windows: fix ShellExecute return condition ef33b2f windows: use go:linkname instead of assembly 5f54ce5 windows: add module handle functions 4ac5d0c unix: add new func PtraceSeize on Linux aed5e4c unix: add Klogset and related SYSLOG_ACTION_ constants c178f38 windows/mkwinsyscall: import mksyscall_windows.go from go repo b397fe3 windows/svc: use CloseServiceHandle for service handles 3421d5a unix: avoid __getdirentries64 on darwin 34b0ac8 unix: update openbsd/{386,amd64.arm} MAP_* consts bb3f8db windows: add LockFileEx, UnlockFileEx system calls c990c68 cpu: support ARM feature detection on Linux 855e68c windows: revert breaking API changes from CL 196798, add new accessor funcs 2837fb4 unix: add NFDBITS const on Linux, update TestSelect e2fefa8 unix: fix Select to return number of ready fds on Solaris 2f72d4f unix: re-generate Select on dragonfly 98129a5 windows: use pseudo handle constants to implement GetCurrentProcess 2aa67d5 unix: fix Select to return number of ready fds on Darwin and *BSD 0a153f0 windows: make SID.String() conform to the String interface 2dccfee windows: do not return invalid error for psuedo-handle functions 5c00192 windows: use correct type for security attributes' descriptor member 14da1ac windows: support SECURITY_DESCRIPTOR and ACL for secured objects ef0ce17 unix: add KEYCTL_RESTRICT_KEYRING capabilities 0c1ff78 windows: do not corrupt stack with larger boolean return value b4ddaad unix: redefine TIPC_WAIT_FOREVER as a uint32 value 8a69140 windows: add various functions for shutting down and logging out 1a3b71a unix: update Dockerfile to Linux 5.3 and use ubuntu 19.04 base image c3b328c unix: add IfaCacheinfo on linux bc967ef unix: sort Linux-specific includes in linux/types.go and mkerrors.sh 7ad0cfa cpu: remove encoding/binary dependency bbd1755 unix: add Msghdr.SetIovlen for solaris/amd64 f460065 unix: add Msghdr.SetIovlen d223b2b unix: disable sysctl on iOS 749cb33 cpu: add a space before build tag comment 43c0116 unix: implement AF_TIPC sockets on Linux 1f305c8 unix/linux: upgrade Docker build container to Go 1.13 9109b76 unix: add IoctlRetInt for Linux 1e83adb unix: fix coredump bit on aix/ppc64 acfa387 windows: open process tokens with duplicate access 08d80c9 unix: unify Ioctl* functions 19e00fa windows: add mutex management functions 5fe476d unix: use bits.OnesCount64 instead of local copy c7b8b68 windows: add Windows directory accessors acd9dae windows: allow re-enabling priority boost fb81701 windows: allow retrieving true version with RtlGetNtVersionNumbers fde4db3 unix/linux: update Dockerfile to glibc 2.30 4e8604a unix: disable ptrace on iOS 9eafafc unix: fix epoll_event padding on riscv64 51ab0e2 windows: add support for automatic delayed start in windows service cbf593c unix: remove nacl build tag from dirent code 1393eb0 unix: fix several staticcheck issues fc99dfb windows: add CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT 94b544f unix: add riscv64 tag to endian_little.go fae7ac5 unix: add constants and types to work with Linux loop devices 6ec70d6 unix: update Dockerfile to Linux 5.2 and Go 1.13beta1 04f50cd unix: add missing dirent* helper functions on aix e07cf5d unix: don't use syscall.ParseDirent c5567b4 unix: add Getdents on dragonfly e93b963 unix: use ParseDirent in testGetdirentries d432491 unix: fix nil pointer dereference in Getdirentries on 32-bit freebsd 12 4d87348 unix: add missing import in readdirent_getdirentries.go a26fa11 unix: fix Getdirentries emulation using Getdents on netbsd, openbsd d6ba46b unix: add test for Getdirentries 8f4f963 unix: merge implementation for ReadDirent 943d512 unix: add support to get/set Linux capabilities 06bbe82 unix: correctly rename Val member in Sigset_t on freebsd bf70e46 unix: add ptrace support for FreeBSD 6f217b4 unix: add AT_SYMLINK_FOLLOW const on openbsd 6f551f7 unix: add AT_SYMLINK_FOLLOW const on netbsd e40ef34 windows: make CoTaskMemFree public 17bc616 unix: remove net dependency 516e3c2 windows: allow determining real version number 15dcb6c unix: fix Getdirentries emulation using Getdents on netbsd, openbsd b47fdc9 unix: change the mksysnum master to point to stable/11 on freebsd d442b75 windows: rename some arguments to follow MSDN 5ed2794 windows: allow looking up well-known folder paths ab3f67e windows: add OpenThread function 914ada5 windows: add GetProcessId function 93c9922 unix: fix Getdirentries on 32-bit freebsd 12 1e42afe windows: expose GetCurrentProcessId function 301114b windows: allow determining if manager is locked 6df407b windows: correct types and error values of internal GUID handling 5b15430 windows: add Thread32{First,Next} funcions 83eebf7 windows: properly plumb sidtype into service creation 7fc4e5e windows: add GUID handling functions 5da2858 windows: add accessor for duration since boot 79a91cf windows: add constants for access rights 4c4f7f3 windows: make it easier to iterate over groups and privileges afe0988 windows: delete mkerrors.go 4c3a928 unix: provide linux/riscv64 assembly for syscalls 69e3a3a unix: fix TestFchmodat on illumos 46560c3 Revert "windows: make zsyscall_windows.go generatable on non-WSL env" ad28b68 windows: make zsyscall_windows.go generatable on non-WSL env 95d888e windows: add GenerateConsoleCtrlEvent function 6a60838 plan9: modify mkall.sh to support zsyscall*.go files generation 5219a1e cpu: add missing linkname for libc_getsystemcfg on aix/ppc64 cc92027 windows: add SetInformationJobObject functions 854af27 windows: add functions for priority class 3626398 cpu: don't depend on the golang.org/x/sys/unix package for AIX adf421d unix: fix Signalfd function signature on linux 9cd6430 windows: add ResumeThread function ea4c425 windows: allow Windows-style printf debugging via MessageBox 56c252d windows: add ShellExecute 791d8a0 windows: allow determining if running 32-on-64bit 2219a01 windows: add SID getter functions for the various components e44a3b5 windows: add SetErrorMode function dbbf3f1 windows: add IP() accessor to SocketAddress type c3d486d windows: add JobObject functions abf6ff7 unix: add MCAST_* constants on linux 0e01d88 unix: add RawSockaddrDatalink on aix 8097e1b windows: do not query library for inline functions 30999d6 windows: add missing service constants c46e0d9 windows/registry: do not generate unaligned loads c432e74 unix: remove unused stringsFromByteSlice for tests on aix ad400b1 unix: remove StTimespec type on AIX 61b9204 windows: add functions for dealing with elevated tokens cedb8e1 windows: add token group adjustment function cab0731 unix: fix TestStatFieldNames on aix and TestUtimesNanoAt on darwin 87c8727 unix: rename Stat_t time fields to [AMCB]tim 06a5c49 windows: add token environment functions f91f9b3 windows: add basic WTS functions for windows/svc usage 24a5b22 windows: add service notification support 3a4b5fb windows: add token manipulation functions and constants a5b02f9 windows: add "generate" build tag 2d07862 unix: add IoctlGetUint32 on Linux 12bbe5a unix: add BPF constants on Linux ecd444e unix: export KexecFileLoad on linux/arm 2953c62 unix: update Dockerfile to Linux 5.1 ca7f33d windows: CreateFile's templatefile parameter has always been a HANDLE a43fa87 unix: add missing tpacket block (sub)header 3ef323f unix: add illumos case c0b2631 unix: support generating netbsd/arm64 files in mkall.sh 050d976 unix: drop reference to mkunix.pl from comment d89cdac windows: don't return EINVAL on zero Chmod mode 2cc0cad windows: document new ProcessId field 804c0c7 unix: replace "mksysctl_openbsd.pl" script with a Go program a129542 unix: skip TestOpenByHandleAt if name_to_handle_at not supported 1607263 windows: allow querying service ProcessId 9f0b1ff unix: add FileHandle, NewFileHandle, NameToHandleAt, OpenByHandleAt 18eb32c unix: add Linux crypto configuration API constants and types 4347357 unix: add support for openbsd/arm64 8296894 unix: remove arch specific build for openbsd_pledge.go 953cdad unix: add unexported name_to_handle_at and open_by_handle_at types & wrappers e8e3143 unix: add Unmount syscall for AIX f0ce4c0 unix: add Select syscall on AIX d20716e unix: use nsendmsg and nrecvmsg on AIX 1250054 unix: fix cmsg alignment on aix ebb4019 unix: move helper handler before AIX handler in TestPassFD 3fd5a36 unix: enable TestPassFD on AIX 7.2 TL >= 2 16da32b windows: add GetFileInformationByHandleEx function 9773273 windows: add missing error constants b44545b unix: add missing rtnetlink IFLA_* constants on Linux 0ad05ae unix: add missing rtnetlink neighbor constants on Linux cc4d4f5 unix: add missing rtnetlink IFA_* constants on Linux 4b34438 unix: allow empty string argument to SetsockoptString 81d4e9d unix: don't generate raw syscall wrapper for ClockGettime on darwin baf5eb9 unix: remove ClockGettime for darwin/amd64 on Go 1.11 e409398 unix: add SysctlClockinfo on darwin 9eb1bfa unix: add GetsockoptUint64 and SetsockoptUint64 f49334f windows: add GetOverlappedResult function for async I/O f7bb7a8 windows: add missing file flags to types 6c81ef8 unix: add SysctlClockinfo on OpenBSD a2f829d windows: add support for creating well known SIDs fead790 cpu: use unix.Getsystemcfg to detect POWER8/POWER9 on aix/ppc64 c8c8c57 unix: run mkasm independent of mktypes in mkall.sh 7c207b7 unix: add Getsystemcfg on aix 10058d7 windows: use proper system directory path in fallback loader 980fc43 unix, unix/linux: add additional Linux perf API bits 584f3b1 cpu: add build tag to cpu_wasm.go 572b51e unix: add SetsockoptPacketMreq on Linux b294cbc all: add go directive to go.mod b354f8b cpu: define cacheLineSize and doinit for WASM 70f5298 windows/svc: safely load system DLLs 3e9a981 unix: add functions to get/set tpacket socket options a98ae47 unix: on ARM GNU/Linux let Pipe fall back to pipe 30e92a1 unix: add Lutimes e844e01 unix: update Dockerfile to Go 1.12 and Linux 5.0 c2f5717 unix: add fanotify API on Linux d455e41 unix: add SignalNum to convert signal name to a number b688937 windows/svc: align ctlHandler parameters 12036c1 windows/svc: add Context to ChangeRequest a34e955 unix: use 64-bit alignment on netbsd-arm 6c9a33b cpu: add CPU features for s390x 92a0ff1 cpu: don't panic on error reading /proc/self/auxv 775f819 all: add a go.mod file cc5685c unix: don't overwrite unrelated file descriptors in TestDup cd39177 unix: add type NdUseroptmsg on Linux a9d3bda unix: add SetsockoptCanRawFilter for linux ec7b60b unix: add SetsockoptSockFprog on Linux for attaching BPF filters b4e8571 cpu: fix build for GOARCH=ppc64{,le} on GOOS!=linux 629670e windows: gofmt -w windows/security_windows.go 90b0e44 unix: do not invoke Mkfifo with a relative path in a read-only directory 153ac47 cpu: unexport HWCap and HWCap2 d0b11bd cpu: fix auxval parsing on big-endian systems e777721 cpu: fix build for GOARCH=arm64 on GOOS!=linux 983097b unix: replace Perl script references in "README.md" with Go programs cea5d2f unix: replace "mksyscall_solaris.pl" script with a Go program 3b52091 unix: add ClockGettime on darwin/amd64 f54c5e0 unix: update zsysnum_darwin_amd64 for macOS 10.14 446ad8e unix: require GOOS be set in mksyscall 41f3e65 unix/linux: update Dockerfile to glibc 2.29 and Go 1.12beta2 980327f windows: Implement WaitForMultipleObjects 7ae0202 unix: set 100644 mode on mksyscall_aix_ppc64.go afcc84f unix: add RND* ioctl consts on Linux 2970a37 cpu: detect RDRAND and RDSEED instructions on x86 aca4487 unix: add ioctl wrappers to get and set RTC time on Linux 302c3dd unix: fix misspellings d573998 unix: regenerate sysnum files for freebsd/arm64 and netbsd/arm64 b907332 unix: use glibc release branch in Dockerfile c6b37f3 unix: replace "mksyscall_aix_ppc64.pl" script with a Go program 054c452 unix: add socket error queue constants and types from linux/errqueue.h 770c602 unix: add netbsd/arm64 files. 11f53e0 unix: use int8 for RawSockaddrUnix.Path on linux/riscv64 e5ecc2a unix: use Renameat2 to implement Renameat on linux/riscv64 5552a98 unix: add Renameat on dragonfly a457fd0 unix: add Signalfd on linux 2be5172 unix: add ClockNanosleep and TIMER_ABSTIME 48ac38b unix: get *BSD syscalls.master files using HTTPS 7fbe1cd unix: replace "mksyscall_aix_ppc.pl" script with a Go program 20be8e5 cpu: add linux/ppc64x cb59ee3 plan9: replace "mksyscall.pl" with Go program 1775db3 unix: make Fcntl* routines use libSystem on Darwin badf558 plan9: remove "use" function and calls from generated code. 82a175f unix/linux: update Dockerfile to Linux Kernel 4.20 a91c4d2 unix: add support for freebsd/arm64 9a3f9b0 unix: fix Fstatat by using fillStat_t on linux/mips64x c6cbdbf unix: mksysnum: correct +build restriction 367055b unix: replace mksysnum_*.pl scripts with Go program b4a75ba unix: generate linux/sparc64 go files using Docker a79f1b1 unix: fix unused import in syscall_darwin_386.go 8ff4e54 unix: add space to generated code 9fbf701 unix: reverse default for 1.11/1.12 split 36ca6f1 unix: add Sendfile test b00e65a unix/linux: set 100644 mode on mksysnum.go 7c4c994 unix: remove raw syscall from Sendfile 8588221 unix: remove raw syscall from getAttrList 22c30cd unix: remove raw syscall from getattrlistTimes 4dcd0b7 unix: remove raw syscall from Getfsstat 54d2441 unix: remove Getdirentries on iOS 8b8312a unix: avoid "64"-postfixed libSystem calls on iOS 45d26eb unix: convert Darwin syscalls from raw to libSystem 97b4c2a unix: update Dockerfile to Go 1.12beta1 074acd4 windows/svc: use wevtutil.exe instead of powershell for windows/arm dcdaa63 windows: use netevent.dll in TestFormatMessage for windows/arm 4d1cda0 unix: remove Flock syscall for aix 586ba8c unix: add SyncFileRange on linux/arm 73d4af5 unix: evaluate cmsg alignment in cmsgAlignOf at compile time b05ddf5 unix: use correct cmsg alignment for openbsd/arm 7da8ea5 unix: regenerate ztypes for openbsd/arm 2a47403 unix: always use fstatat(AT_SYMLINK_NOFOLLOW) over lstat on AMD64 b0bfa5d unix: always use inotify_init1 over inotify_init on AMD64 ad97f36 unix: avoid index out of range in Vmsplice with empty iovs 70b957f cpu: add linux/arm64 a5c9d58 unix/linux: replace "mksysnum.pl" script with a Go program 4ed8d59 unix: replace "mksyscall.pl" script with a Go program 62eef0e unix: rework TestGetwd to handle test dirs whose names contain symlinks 0cf1ed9 unix: add IoctlSetPointerInt ec83556 unix: add ioctl definitions for PPP interfaces. 93218de unix: add sockaddr and defines for PPPoE sockets. 5ac8a44 unix: export FdSet bits field on freebsd 66b7b13 unix: add IoctlGetPtmget on netbsd 3a76605 unix: test UtimesNanoAt on darwin 3a27cdc unix: don't use deprecated sys/capability.h header on FreeBSD 7155702 unix: fix errors in syscalls when using -linkshared on ppc64x 9b800f9 unix: avoid index out of range in *setxattr on BSD 7e31e0c unix: add remaining *at functions on dragonfly f7626d0 unix: add remaining *at functions on netbsd c8e3364 unix: add remaining *at functions on openbsd d69651e unix: add Readlinkat on openbsd 95b1ffb unix: add Openat on dragonfly 9ff3f17 unix: add Openat on netbsd 2772b66 unix: allow to pass a NULL pointer to the pledge syscall 731415f unix: add kernel module load/unload syscalls on Linux d989b31 unix: add support for OpenBSD unveil(2) 5cd93ef unix: use ppoll to implement Pause on linux/{arm64,riscv64} 22bddfe unix: add Openat on openbsd 44b849a unix: add Ppoll on openbsd 8a28ead unix: update Dockerfile to Linux 4.19 8b8824e unix: don't use local syscall number in Pledge() 5535b4e unix: FreeBSD 12 ino64 support eda9bb2 unix: update syscall numbers to OpenBSD 6.4 8e24a49 unix: add SOF_TIMESTAMPING_* flags on Linux 8f1d3d2 unix: add support for aix/ppc64, gc implementation fa43e7b unix: add marker comments to zsyscall_solaris_amd64.go 4497e2d unix: convert errorList and signalList to new format for linux/sparc64 f81de40 unix: add KexecFileLoad on linux/{amd64,ppc64x,s390x} 8469e31 unix: export sizeof consts af653ce unix: use correctly aligned result buffer in SysctlClockinfo 679a27d unix: add SysctlUvmexp on OpenBSD 219bb53 unix: re-add vm.* sysctl strings on openbsd/amd64 e4b3c5e unix: add NCSI generic netlink constants dad3d9f unix: add ClockGetres on Linux 8ccfc68 unix: add SysctlClockinfo on NetBSD c2ed4ed unix: fix TestSchedSetaffinity for smt settings 2f1df4e unix: add additional rlimit resource constants on NetBSD b09afc3 unix: add MNT_* flags on OpenBSD 90868a7 windows: add support for windows/arm f02c795 unix: add MNT_* flags on DragonflyBSD c01370c unix: add MNT_* flags on NetBSD d47a0f3 unix: implement Linux AF_XDP sockets d641721 unix: add more RTA_* constants on Linux 1561086 unix: add Termio, Winsize, Statfs_t, TC[GS]ET, Mkdir and Mknod for AIX 1061eb6 unix: change MemfdCreate flags parameter to int for all GOARCHes ee1b12c unix: add MemfdCreate on Linux d0be072 unix: correct misspelling in test output 4526dd3 windows: correct misspelling in comment 917fdcb unix: add remaining RTA_* constants for use with rtnetlink on Linux 8cf3aee unix: add support for linux/riscv64 ebe1bf3 unix: add SYNC_FILE_RANGE_* constants on Linux d9c697b unix: correct argument order for SyncFileRange syscall on linux/ppc64{,le} 2b02437 Revert "unix: implement SyncFileRange for ARM" 1b73967 unix: implement SyncFileRange for ARM fa5fdf9 windows: add support for AF_UNIX sockets 49385e6 unix: update Dockerfile to Go 1.11 d99a578 unix: code for AIX ppc and ppc64, for gccgo 4910a1d unix: add UBI ioctl constants on Linux 11551d0 unix: use pipe2 syscall on FreeBSD instead of pipe 3b58ed4 unix: add additional file mode bit constants from sys/stat.h on Solaris 4ea2f63 unix: add example for Flock 1a700e7 unix: add NOSTD syscall numbers on FreeBSD 1c95834 unix: add additional file mode bit constants from sys/stat.h on FreeBSD 871208d unix: add additional file mode bit constants from sys/stat.h on DragonflyBSD 14742f9 windows: add Wincrypt.h Cert related values 4e1fef5 unix: update Dockerfile to Linux 4.18, glibc 2.28 and Go 1.11beta3 98c5dad unix: update the OpenBSD pledge interface to handle execpromises f0d5e33 unix: add *xattr functions on NetBSD 57f5ac0 unix: add additional file mode bit constants from sys/stat.h on OpenBSD 904bdc2 unix: add F*xattr on Darwin 3249cb6 unix: drop incorrect Fsetxattr size return value f62c962 unix: add S_IRWXG and S_IRWXO to FreeBSD types acbc56f unix: add F*xattr on Linux 90887a5 unix: add IFLA_INFO_KIND on Linux 0718ef2 unix: remove *xattr from list of unimplemented syscalls on FreeBSD 2be389f unix: add Renameat2 on Linux 34b17bd unix: fix OpenBSD codegen to include F_OK 0ffbfd4 unix, windows: add type aliases to std syscall for Signal, Errno, SysProcAttr 3dc4335 unix: add Linux network namespace constants bd9dbc1 unix: support Faccessat flags argument e3f9388 unix: add Linux blkpg_ioctl_arg and blkpg_partition types 10b189e x/sys: improve NewCallback documentation c4d1ff1 unix: implement pipe() on linux/mips e072cad unix: document IoctlSetWinsize and IoctlSetTermios and fix pointer lifetime Signed-off-by: Julio Montes <julio.montes@intel.com> |
||
---|---|---|
.ci | ||
.github | ||
arch | ||
cli | ||
containerd-shim-v2 | ||
data | ||
hack | ||
netmon | ||
pkg | ||
protocols/cache | ||
vendor | ||
virtcontainers | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
golang.mk | ||
Gopkg.lock | ||
Gopkg.toml | ||
LICENSE | ||
Makefile | ||
README.md | ||
VERSION | ||
versions.yaml |
Runtime
This repository contains the runtime for the Kata Containers project.
For details of the other Kata Containers repositories, see the repository summary.
- Introduction
- License
- Platform support
- Download and install
- Quick start for developers
- Architecture overview
- Configuration
- Logging
- Debugging
- Limitations
- Community
- Further information
- Additional packages
Introduction
kata-runtime
, referred to as "the runtime", is the Command-Line Interface
(CLI) part of the Kata Containers runtime component. It leverages the
virtcontainers
package to provide a high-performance standards-compliant runtime that creates
hardware-virtualized Linux containers running on Linux hosts.
The runtime is OCI-compatible, CRI-O-compatible, and Containerd-compatible, allowing it to work seamlessly with both Docker and Kubernetes respectively.
License
The code is licensed under an Apache 2.0 license.
See the license file for further details.
Platform support
Kata Containers currently works on systems supporting the following technologies:
- Intel VT-x technology.
- ARM Hyp mode (virtualization extension).
- IBM Power Systems.
- IBM Z mainframes.
Hardware requirements
The runtime has a built-in command to determine if your host system is capable of running and creating a Kata Container:
$ kata-runtime kata-check
Note:
By default, only a brief success / failure message is printed. If more details are needed, the
--verbose
flag can be used to display the list of all the checks performed.
root
permission is needed to check if the system is capable of running Kata containers. In this case, additional checks are performed (e.g., if another incompatible hypervisor is running).
Download and install
See the installation guides available for various operating systems.
Quick start for developers
See the developer guide.
Architecture overview
See the architecture overview for details on the Kata Containers design.
Configuration
The runtime uses a TOML format configuration file called configuration.toml
.
The file contains comments explaining all options.
Note:
The initial values in the configuration file provide a good default configuration. You might need to modify this file if you have specialist needs.
Since the runtime supports a
stateless system,
it checks for this configuration file in multiple locations, two of which are
built in to the runtime. The default location is
/usr/share/defaults/kata-containers/configuration.toml
for a standard
system. However, if /etc/kata-containers/configuration.toml
exists, this
takes priority.
The command below lists the full paths to the configuration files that the runtime attempts to load. The first path that exists is used:
$ kata-runtime --kata-show-default-config-paths
Aside from the built-in locations, it is possible to specify the path to a
custom configuration file using the --kata-config
option:
$ kata-runtime --kata-config=/some/where/configuration.toml ...
The runtime will log the full path to the configuration file it is using. See the logging section for further details.
To see details of your systems runtime environment (including the location of the configuration file being used), run:
$ kata-runtime kata-env
Logging
The runtime provides --log=
and --log-format=
options. However, the
runtime always logs to the system log (syslog
or journald
).
To view runtime log output:
$ sudo journalctl -t kata-runtime
For detailed information and analysis on obtaining logs for other system
components, see the documentation for the
kata-log-parser
tool.
Debugging
See the debugging section of the developer guide.
Limitations
See the limitations file for further details.
Community
Contact
See how to reach the community.
Further information
See the project table of contents and the documentation repository.
Additional packages
For details of the other packages contained in this repository, see the package documentation.