summaryrefslogtreecommitdiff
path: root/lib9p/idl/02-9P2000.u.9p
blob: d3ca6f0f0ec97db680ebfffdf7e5972a6691e396 (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
# 02-9P2000.u.9p - 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 ./01-9P2000.9p import *

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

msg Tauth   += "n_uname[4]"
msg Tattach += "n_uname[4]"

msg Rerror += "errno[4]"

bitfield dm += "23=DEVICE"
               "21=NAMEDPIPE"
               "20=SOCKET"
               "19=SETUID"
               "18=SETGID"

bitfield qt += "1=SYMLINK"