Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580608

Re: [PATCH] cdrom: Make device operations read-only

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] cdrom: Make device operations read-only
Date 2017-02-14 16:40 +0100
Message-ID <taNmW-3BD-9@gated-at.bofh.it> (permalink)
References <tazah-2DY-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/13/2017 05:25 PM, Kees Cook wrote:
> Since function tables are a common target for attackers, it's best to keep
> them in read-only memory. As such, this makes the CDROM device ops tables
> const. This drops additionally n_minors, since it isn't used meaningfully,
> and sets the only user of cdrom_dummy_generic_packet explicitly so the
> variables can all be const.

Agree, it's a good change. Applied for 4.11.

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] cdrom: Make device operations read-only Kees Cook <keescook@chromium.org> - 2017-02-14 01:30 +0100
  Re: [PATCH] cdrom: Make device operations read-only David Miller <davem@davemloft.net> - 2017-02-14 04:00 +0100
  Re: [PATCH] cdrom: Make device operations read-only Jens Axboe <axboe@kernel.dk> - 2017-02-14 16:40 +0100

csiph-web