lkml.org 
[lkml]   [2011]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Applying inappropriate ioctl operation on socket should return ENOTTY
    > EINVAL is ok too : Request or argp is not valid.

    It confuses portable code in some situations

    > I would say, its not a bug as you claim.

    POSIX and SuS tend to disagree

    > Its really too late to make such change and risk regressions.

    We've been quietly doing it for hundreds of cases including the entire
    tty driver. Almost nobody (you included) has actually noticed and in
    doing so we fixed various porting funnies without any reported
    regressions.

    Networking may be a more tricky one (not that tty wasn't a large one we
    fixed) but most of the other driver ones are clearly sensible.

    Alan


    \
     
     \ /
      Last update: 2011-04-27 11:49    [W:5.424 / U:0.444 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site