[PATCH] autofs4 - second try - set fields size for pipe packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have made almost all the changes recommended by Christoph.

I'm reluctant to change the type of autofs_wqt_t as it is part of the 
existing autofs4 struture. While such a change shouldn't cause a problem 
I'd rather not change what's been there for a long time just in case there 
are unexpected side effects.

Signed-off-by: Ian Kent <[email protected]>

--- linux-2.6.16-rc4-mm1/include/linux/auto_fs4.h.set-fields-size-for-packet	2006-02-22 16:07:57.000000000 +0800
+++ linux-2.6.16-rc4-mm1/include/linux/auto_fs4.h	2006-02-22 16:08:29.000000000 +0800
@@ -65,11 +65,11 @@ 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;
-	int len;
+	__u32 uid;
+	__u32 gid;
+	__u32 pid;
+	__u32 tgid;
+	__u32 len;
 	char name[NAME_MAX+1];
 };
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux