lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC:PATCH 4/4] autofs4 - add new packet type for v5 communications
    On Fri, 17 Feb 2006, Ian Kent wrote:

    > On Fri, 17 Feb 2006, Andrew Morton wrote:
    >
    > > Ian Kent <raven@themaw.net> 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)?
    > >
    >
    > Yes. I take your point.
    >
    > I used this for some time on my Ultra 2, which has this type of arch,
    > without problem. I increased the ino field from 32 to 64 bits since that
    > time and haven't since tested it.
    >
    > I'm happy to change them to 64 bit if you believe it will avoid potential
    > problems?
    >

    Come to think of it my sons has an AMD64 system with a 32 bit Fedora
    install on it. I'll test on that as well over the weekend.

    Ian

    -
    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-17 10:24    [W:0.042 / U:13.940 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site