[lkml]   [2004]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: SG_IO and security
    Linus Torvalds wrote:
    > On Fri, 13 Aug 2004, Jeff Garzik wrote:
    >>Jens Axboe wrote:
    >>>I have no idea how many apps use this ioctl, does anyone have a rough
    >>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)...


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:05    [W:0.021 / U:10.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site