mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
7c7d90f2dd
commit
d199d652c5
2 changed files with 6 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ enum {
|
|||
P9_DMSOCKET = 0x00100000,
|
||||
P9_DMSETUID = 0x00080000,
|
||||
P9_DMSETGID = 0x00040000,
|
||||
P9_DMSETVTX = 0x00010000,
|
||||
};
|
||||
|
||||
/* qid.types */
|
||||
|
|
|
|||
Loading…
Reference in a new issue