lkml.org 
[lkml]   [1999]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch-2.3.29] bugfix for pipe(2) system call.
    Date
    From
    In message <Pine.SCO.3.94.991125130218.1686B-100000@tyne.london.sco.com>, 
    Tigra
    n Aivazian writes:
    +-----
    | If David suggested to write -1's to userspace's fd[2] that means overhead
    | in non-failing case which is totally unacceptable. (it's the same as doing
    +--->8

    Compared to odd race conditions or file descriptor leaks?

    | verify_area(), in fact it is cheaper to keep the kernel lock over
    | copy_to_user() and close the descriptors if failed than doing that).
    +--->8

    Then perhaps that should be done. I'm not real happy with the other
    alternatives.

    --
    brandon s. allbery os/2,linux,solaris,perl allbery@kf8nh.apk.net
    system administrator kthkrb,heimdal,gnome,rt allbery@ece.cmu.edu
    carnegie mellon / electrical and computer engineering kf8nh
    We are Linux. Resistance is an indication that you missed the point.



    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:55    [W:0.036 / U:6.340 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site