lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 19 Dec 2016 08:34:33 -0700
From:   Jens Axboe <axboe@...nel.dk>
To:     Mauricio Faria de Oliveira <mauricfo@...ux.vnet.ibm.com>,
        linux-block@...r.kernel.org
Cc:     hch@...radead.org, linux-scsi@...r.kernel.org,
        linux-kernel@...r.kernel.org, pbonzini@...hat.com,
        latha@...ux.vnet.ibm.com, manjuhr1@...ibm.com
Subject: Re: [PATCH RESEND] block: allow WRITE_SAME commands with the SG_IO
 ioctl

On 12/15/2016 10:48 AM, Mauricio Faria de Oliveira wrote:
> The WRITE_SAME commands are not present in the blk_default_cmd_filter
> write_ok list, and thus are failed with -EPERM when the SG_IO ioctl()
> is executed without CAP_SYS_RAWIO capability (e.g., unprivileged users).
> [ sg_io() -> blk_fill_sghdr_rq() > blk_verify_command() -> -EPERM ]

Added for 4.10, thanks.

-- 
Jens Axboe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ