lkml.org 
[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] autofs4 - second try - set fields size for pipe packet

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 <raven@themaw.net>

--- 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 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/
\
 
 \ /
  Last update: 2006-02-22 09:46    [W:0.024 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site