diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-29 18:22:39 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-29 18:22:39 +0000 |
commit | 3cb11fb4b991bace71a35dcef2b974a31a04d4a0 (patch) | |
tree | fbfa28add1f0fdec95d4ce4f37ca207750613d38 /pkg/abi | |
parent | ab6b4582bac51a5a8a6ff55dd6b3c54ffb6d5459 (diff) | |
parent | 8dcedc953a610b97efe9f68ac8fecf5e15a7e26b (diff) |
Merge release-20200127.0-28-g8dcedc9 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/dev.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/abi/linux/dev.go b/pkg/abi/linux/dev.go index 421e11256..89f9a793f 100644 --- a/pkg/abi/linux/dev.go +++ b/pkg/abi/linux/dev.go @@ -36,6 +36,9 @@ func DecodeDeviceID(rdev uint32) (uint16, uint32) { // // See Documentations/devices.txt and uapi/linux/major.h. const ( + // MEM_MAJOR is the major device number for "memory" character devices. + MEM_MAJOR = 1 + // TTYAUX_MAJOR is the major device number for alternate TTY devices. TTYAUX_MAJOR = 5 |