summaryrefslogtreecommitdiff
path: root/lib9p/9P2000.u.txt
blob: 1fa71fb3000226d00a84ce9bca5395f792a809db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 9P2000.u.txt - Definitions of 9P2000.u messages
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later

# "9P2000.u" Unix extension
# https://ericvh.github.io/9p-rfc/rfc9p2000.u.html
# https://github.com/ericvh/9p-rfc/blob/master/9p2000.u.xml
version "9P2000.u"

from 9P2000.txt import *

stat += "file_extension[s]"
        "file_owner_n_uid[4]"
        "file_owner_n_gid[4]"
        "file_last_modified_n_uid[4]"

Tauth += "n_uname[4]"

Rerror += "errno[4]"

# # qid.types
# QTDIR     = 1<<7
# QTAPPEND  = 1<<6
# QTEXCL    = 1<<5
# QTMOUNT   = 1<<4 # been around forever, but undocumented?
# QTAUTH    = 1<<3
# QTTMP     = 1<<2 # added to Plan 9 2003-12
# QTSYMLINK = 1<<1 # .u
# QTFILE    = 1<<0
#
# DMDIR       = 1<<31
# DMAPPEND    = 1<<30
# DMEXCL      = 1<<29
# DMMOUNT     = 1<<28
# DMAUTH      = 1<<27
# DMTMP       = 1<<26
# #           = 1<<25
# #           = 1<<24
# DMDEVICE    = 1<<23 # .u
# #           = 1<<22
# DMNAMEDPIPE = 1<<21 # .u
# DMSOCKET    = 1<<20 # .u
# DMSETUID    = 1<<19 # .u
# DMSETGID    = 1<<18 # .u