Re: [RFC:PATCH 4/4] autofs4 - add new packet type for v5communications

From: Andrew Morton
Date: Fri Feb 17 2006 - 03:51:00 EST


Ian Kent <raven@xxxxxxxxxx> wrote:
>
> +/* autofs v5 common packet struct */
> +struct autofs_v5_packet {
> + struct autofs_packet_hdr hdr;
> + autofs_wqt_t wait_queue_token;
> + __u32 dev;
> + __u64 ino;
> + uid_t uid;
> + gid_t gid;
> + pid_t pid;
> + pid_t tgid;
> + int len;
> + char name[NAME_MAX+1];
> +};

Is this known to work with 32-bit userspace on 64-bit kernels?

In particular, perhaps the ?id_t's should become a type of known size and
alignment (u32 or u64)?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/