summaryrefslogtreecommitdiff
path: root/lib9p/idl/02-9P2000.u.9p
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/idl/02-9P2000.u.9p')
-rw-r--r--lib9p/idl/02-9P2000.u.9p29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib9p/idl/02-9P2000.u.9p b/lib9p/idl/02-9P2000.u.9p
new file mode 100644
index 0000000..d3ca6f0
--- /dev/null
+++ b/lib9p/idl/02-9P2000.u.9p
@@ -0,0 +1,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"