lkml.org 
[lkml]   [2004]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: SG_IO and security
    Linus Torvalds wrote:
    >
    > On Fri, 13 Aug 2004, Jeff Garzik wrote:
    >
    >>2B
    >>Jens Axboe wrote:
    >>
    >>>I have no idea how many apps use this ioctl, does anyone have a rough
    >>>list?
    >>
    >>Add a rate-limited "this feature is deprecated" feature and find out...
    >
    >
    > Googling for it does show it as being documented and apparently used by a
    > few programs, at least...


    Personally I know it's in use, but for some programs it's a fallback if
    SG_IO or a more modern method doesn't work...

    Since we have (AFAICS) five interfaces (scsi-send-command, sg v1, sg v2,
    sg v3, and SG_IO) I would rather just go ahead and

    static int printed_warning;
    if (!printed_warning++)
    printk(KERN_WARNING "SCSI_SEND_COMMAND deprecated\n");

    Also, inevitably some of the programs using this will be ancient disk
    tools (some written by disk vendors long gone)...

    Jeff


    -
    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: 2005-03-22 14:05    [W:0.023 / U:2.748 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site