Re: [RFD w/info-PATCH] device arguments from lookup, partion code

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat May 19 2001 - 22:51:17 EDT

  • Next message: Richard Gooch: "Re: [RFD w/info-PATCH] device arguments from lookup, partion code"

    Alexander Viro writes:
    >
    >
    > On Sat, 19 May 2001, Richard Gooch wrote:
    >
    > > The transaction(2) syscall can be just as easily abused as ioctl(2) in
    > > this respect. People can pass pointers to ill-designed structures very
    >
    > Right. Moreover, it's not needed. The same functionality can be
    > trivially implemented by write() and read(). As the matter of fact,
    > had been done in userland context for decades. Go and buy
    > Stevens. Read it. Then come back.

    I don't need to read it. Don't be insulting. Sure, you *can* use a
    write(2)/read(2) cycle. But that's two syscalls compared to one with
    ioctl(2) or transaction(2). That can matter to some applications.

                                    Regards,

                                            Richard....
    Permanent: rgooch@atnf.csiro.au
    Current: rgooch@ras.ucalgary.ca
    -
    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/



    This archive was generated by hypermail 2b29 : Sat May 19 2001 - 22:54:03 EDT