diff options
author | Ridwan Sharif <ridwanmsharif@google.com> | 2020-06-09 12:35:39 -0400 |
---|---|---|
committer | Ridwan Sharif <ridwanmsharif@google.com> | 2020-06-25 14:22:21 -0400 |
commit | bd5f0e2dc42866f28437f07b1a24e19d1748c3ea (patch) | |
tree | b4407dec1c37e0124d9854d1f279af69fd2afc1d /pkg/abi | |
parent | 00ee5abaa70965b1baad996f53d3dc2a17805fcf (diff) |
Add FUSE character device
This change adds a FUSE character device backed by devtmpfs. This
device will be used to establish a connection between the FUSE
server daemon and fusefs. The FileDescriptionImpl methods will
be implemented as we flesh out fusefs some more. The tests assert
that the device can be opened and used.
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/dev.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/abi/linux/dev.go b/pkg/abi/linux/dev.go index fa3ae5f18..192e2093b 100644 --- a/pkg/abi/linux/dev.go +++ b/pkg/abi/linux/dev.go @@ -46,6 +46,10 @@ const ( // TTYAUX_MAJOR is the major device number for alternate TTY devices. TTYAUX_MAJOR = 5 + // MISC_MAJOR is the major device number for non-serial mice, misc feature + // devices. + MISC_MAJOR = 10 + // UNIX98_PTY_MASTER_MAJOR is the initial major device number for // Unix98 PTY masters. UNIX98_PTY_MASTER_MAJOR = 128 |