summaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
authorAnthony Liguori2008-02-07 02:25:06 +0100
committerEric Van Hensbergen2008-02-07 02:25:06 +0100
commitd199d652c513a010145a5a0d4e64c96361b97bee (patch)
treeb771aa8c4facd0a35ed46c70d79853cd50fb4a20 /include/net/9p/9p.h
parent9p: Fix soft lockup in virtio transport (diff)
downloadkernel-qcow2-linux-d199d652c513a010145a5a0d4e64c96361b97bee.tar.gz
kernel-qcow2-linux-d199d652c513a010145a5a0d4e64c96361b97bee.tar.xz
kernel-qcow2-linux-d199d652c513a010145a5a0d4e64c96361b97bee.zip
9p: add support for sticky bit
GDM gets unhappy if /var/gdm doesn't have the sticky bit set. This patch adds support for the sticky bit in much the same way setuid/setgid is supported. With this patch, I can launch X from a v9fs rootfs (although I quickly run out of fds in the server once gnome starts up). Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r--include/net/9p/9p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index 625346c47ee2..585eb4496990 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -124,6 +124,7 @@ enum {
P9_DMSOCKET = 0x00100000,
P9_DMSETUID = 0x00080000,
P9_DMSETGID = 0x00040000,
+ P9_DMSETVTX = 0x00010000,
};
/* qid.types */