Update const names to be Go style.

PiperOrigin-RevId: 276165962
This commit is contained in:
Ian Lewis
2019-10-22 16:16:41 -07:00
committed by gVisor bot
parent e63ff6d923
commit ebe8001724
3 changed files with 14 additions and 9 deletions
+8 -3
View File
@@ -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"
)
+3 -3
View File
@@ -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{
+3 -3
View File
@@ -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{