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: <4DFEF9B6.7000402@intel.com>
Date:	Mon, 20 Jun 2011 10:41:42 +0300
From:	Adrian Hunter <adrian.hunter@...el.com>
To:	Namhyung Kim <namhyung@...il.com>
CC:	Jens Axboe <jaxboe@...ionio.com>, linux-kernel@...r.kernel.org,
	gregkh@...e.de
Subject: Re: [PATCH reRESEND] block: add REQ_SECURE to REQ_COMMON_MASK

On 17/06/11 06:12, Namhyung Kim wrote:
> Add REQ_SECURE flag to REQ_COMMON_MASK so that
> init_request_from_bio() can pass it to @req->cmd_flags.
>
> Signed-off-by: Namhyung Kim<namhyung@...il.com>
> ---
> Send it again due to Adrian's mail delivery failure.
>
>   include/linux/blk_types.h |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
> index 2a7cea53ca0d..6395692b2e7a 100644
> --- a/include/linux/blk_types.h
> +++ b/include/linux/blk_types.h
> @@ -167,7 +167,7 @@ enum rq_flag_bits {
>   	(REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER)
>   #define REQ_COMMON_MASK \
>   	(REQ_WRITE | REQ_FAILFAST_MASK | REQ_SYNC | REQ_META | REQ_DISCARD | \
> -	 REQ_NOIDLE | REQ_FLUSH | REQ_FUA)
> +	 REQ_NOIDLE | REQ_FLUSH | REQ_FUA | REQ_SECURE)
>   #define REQ_CLONE_MASK		REQ_COMMON_MASK
>
>   #define REQ_RAHEAD		(1<<  __REQ_RAHEAD)

Acked-by: Adrian Hunter <adrian.hunter@...el.com>

The fix needs to go back to 2.6.36
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ