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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1503956551.2841.70.camel@wdc.com>
Date:   Mon, 28 Aug 2017 21:42:32 +0000
From:   Bart Van Assche <Bart.VanAssche@....com>
To:     "keescook@...omium.org" <keescook@...omium.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     "jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>,
        "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
        "linux-mm@...ck.org" <linux-mm@...ck.org>,
        "kernel-hardening@...ts.openwall.com" 
        <kernel-hardening@...ts.openwall.com>,
        "martin.petersen@...cle.com" <martin.petersen@...cle.com>,
        "dave@...lcore.net" <dave@...lcore.net>
Subject: Re: [PATCH v2 17/30] scsi: Define usercopy region in scsi_sense_cache
 slab cache

On Mon, 2017-08-28 at 14:34 -0700, Kees Cook wrote:
> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
> index f6097b89d5d3..f1c6bd56dd5b 100644
> --- a/drivers/scsi/scsi_lib.c
> +++ b/drivers/scsi/scsi_lib.c
> @@ -77,14 +77,15 @@ int scsi_init_sense_cache(struct Scsi_Host *shost)
>  	if (shost->unchecked_isa_dma) {
>  		scsi_sense_isadma_cache =
>  			kmem_cache_create("scsi_sense_cache(DMA)",
> -			SCSI_SENSE_BUFFERSIZE, 0,
> -			SLAB_HWCACHE_ALIGN | SLAB_CACHE_DMA, NULL);
> +				SCSI_SENSE_BUFFERSIZE, 0,
> +				SLAB_HWCACHE_ALIGN | SLAB_CACHE_DMA, NULL);
>  		if (!scsi_sense_isadma_cache)
>  			ret = -ENOMEM;

All this part of this patch does is to change source code indentation. Should
these changes really be included in this patch?

Thanks,

Bart.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ