]> git.baikalelectronics.ru Git - kernel.git/commit
9p: add support for sticky bit
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 7 Feb 2008 01:25:06 +0000 (19:25 -0600)
committerEric Van Hensbergen <ericvh@opteron.homeip.net>
Thu, 7 Feb 2008 01:25:06 +0000 (19:25 -0600)
commita5899ac121b9821747979b54681127b135acf84c
treeb771aa8c4facd0a35ed46c70d79853cd50fb4a20
parent2e8088875868f028556721d9675b3432fb8f98b2
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>
fs/9p/vfs_inode.c
include/net/9p/9p.h