Kees Cook
853fe1bf75
cdrom: Make device operations read-only
...
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.
Inspired by similar changes in grsecurity/PaX.
Signed-off-by: Kees Cook <keescook@chromium.org >
Acked-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Jens Axboe <axboe@fb.com >
2017-02-14 08:29:56 -07:00
..
2017-01-06 14:36:30 +01:00
2016-12-13 15:30:50 -08:00
2016-12-24 11:46:01 -08:00
2016-12-31 21:52:07 +01:00
2017-02-14 08:29:56 -07:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2017-02-14 08:29:56 -07:00
2016-12-25 11:04:12 +01:00
2017-01-06 15:35:27 -08:00
2016-12-25 14:30:04 -08:00
2017-01-06 14:34:52 +01:00
2016-12-24 11:46:01 -08:00
2016-12-27 17:51:36 -08:00
2016-12-18 15:49:10 -08:00
2017-01-03 00:21:45 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-14 11:14:28 -08:00
2017-01-04 16:38:39 +01:00
2016-12-19 08:16:26 -08:00
2017-01-06 11:19:03 -08:00
2017-01-02 14:01:30 +01:00
2016-12-25 11:04:12 +01:00
2017-01-02 10:15:28 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2017-02-14 08:29:56 -07:00
2016-12-13 10:41:53 -08:00
2017-01-02 16:59:44 +01:00
2016-12-29 14:17:40 -05:00
2016-12-25 17:21:22 +01:00
2017-01-06 10:49:36 -08:00
2016-12-25 14:30:04 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 10:47:44 +01:00
2016-12-24 11:46:01 -08:00
2017-01-31 08:32:13 -07:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2017-01-27 09:01:45 -07:00
2016-12-25 17:21:22 +01:00
2016-12-13 10:19:16 -08:00
2016-12-24 11:46:01 -08:00
2016-12-19 08:16:26 -08:00
2017-01-04 18:22:44 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-04 16:12:14 -05:00
2016-12-23 16:11:07 -05:00
2016-12-24 11:46:01 -08:00
2016-12-18 15:49:10 -08:00
2017-02-06 09:44:21 -07:00
2017-01-04 18:22:47 +01:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-30 14:27:42 +01:00
2016-12-28 12:38:10 +02:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2016-12-19 08:16:26 -08:00
2016-12-15 16:03:25 -08:00
2016-12-13 08:52:45 -08:00
2016-12-25 17:21:22 +01:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-02-14 08:29:56 -07:00
2016-12-12 18:55:08 -08:00
2016-12-16 09:26:42 -08:00
2016-12-14 20:42:45 -08:00
2017-01-03 17:11:50 +01:00
2016-12-21 10:16:05 -08:00
2016-12-13 10:41:53 -08:00
2016-12-13 12:11:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-05 19:38:40 +01:00
2017-01-04 08:34:39 -07:00
2016-12-16 10:24:44 -08:00
2017-01-04 12:58:45 +01:00
2016-12-16 00:13:39 +02:00
2016-12-24 11:27:45 -08:00
2017-01-06 10:53:21 -08:00
2016-12-24 11:46:01 -08:00