mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update const names to be Go style.
PiperOrigin-RevId: 276165962
This commit is contained in:
@@ -16,7 +16,12 @@
|
||||
package linux
|
||||
|
||||
const (
|
||||
_LINUX_SYSNAME = "Linux"
|
||||
_LINUX_RELEASE = "4.4.0"
|
||||
_LINUX_VERSION = "#1 SMP Sun Jan 10 15:06:54 PST 2016"
|
||||
// LinuxSysname is the OS name advertised by gVisor.
|
||||
LinuxSysname = "Linux"
|
||||
|
||||
// LinuxRelease is the Linux release version number advertised by gVisor.
|
||||
LinuxRelease = "4.4.0"
|
||||
|
||||
// LinuxVersion is the version info advertised by gVisor.
|
||||
LinuxVersion = "#1 SMP Sun Jan 10 15:06:54 PST 2016"
|
||||
)
|
||||
|
||||
@@ -34,9 +34,9 @@ var AMD64 = &kernel.SyscallTable{
|
||||
// guides the interface provided by this syscall table. The build
|
||||
// version is that for a clean build with default kernel config, at 5
|
||||
// minutes after v4.4 was tagged.
|
||||
Sysname: _LINUX_SYSNAME,
|
||||
Release: _LINUX_RELEASE,
|
||||
Version: _LINUX_VERSION,
|
||||
Sysname: LinuxSysname,
|
||||
Release: LinuxRelease,
|
||||
Version: LinuxVersion,
|
||||
},
|
||||
AuditNumber: linux.AUDIT_ARCH_X86_64,
|
||||
Table: map[uintptr]kernel.Syscall{
|
||||
|
||||
@@ -30,9 +30,9 @@ var ARM64 = &kernel.SyscallTable{
|
||||
OS: abi.Linux,
|
||||
Arch: arch.ARM64,
|
||||
Version: kernel.Version{
|
||||
Sysname: _LINUX_SYSNAME,
|
||||
Release: _LINUX_RELEASE,
|
||||
Version: _LINUX_VERSION,
|
||||
Sysname: LinuxSysname,
|
||||
Release: LinuxRelease,
|
||||
Version: LinuxVersion,
|
||||
},
|
||||
AuditNumber: linux.AUDIT_ARCH_AARCH64,
|
||||
Table: map[uintptr]kernel.Syscall{
|
||||
|
||||
Reference in New Issue
Block a user