Messages in this thread Patch in this message | | | Date | Sun, 19 Feb 2006 22:11:31 +0800 (WST) | From | Ian Kent <> | Subject | [PATCH] autofs4 - fix comms packet struct size |
| |
Set userspace communication struct fields to fixed size.
Signed-off-by: Ian Kent <raven@themaw.net>
--- linux-2.6.16-rc3-mm1/include/linux/auto_fs4.h.fix-v5-packet-size 2006-02-17 19:15:49.000000000 +0800 +++ linux-2.6.16-rc3-mm1/include/linux/auto_fs4.h 2006-02-17 19:12:09.000000000 +0800 @@ -65,10 +65,10 @@ struct autofs_v5_packet { autofs_wqt_t wait_queue_token; __u32 dev; __u64 ino; - uid_t uid; - gid_t gid; - pid_t pid; - pid_t tgid; + __u64 uid; + __u64 gid; + __u64 pid; + __u64 tgid; int len; char name[NAME_MAX+1]; }; --- linux-2.6.16-rc3-mm1/fs/autofs4/autofs_i.h.fix-v5-packet-size 2006-02-17 19:17:03.000000000 +0800 +++ linux-2.6.16-rc3-mm1/fs/autofs4/autofs_i.h 2006-02-17 19:17:25.000000000 +0800 @@ -79,10 +79,10 @@ struct autofs_wait_queue { char *name; u32 dev; u64 ino; - uid_t uid; - gid_t gid; - pid_t pid; - pid_t tgid; + u64 uid; + u64 gid; + u64 pid; + u64 tgid; /* This is for status reporting upon return */ int status; atomic_t notified; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |