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
..
2016-12-22 09:25:45 -08:00
2016-12-13 11:06:21 -08:00
2017-01-06 10:53:21 -08:00
2016-12-15 15:39:02 -08:00
2016-10-03 08:58:35 -07:00
2016-10-10 07:12:02 -06:00
2017-01-03 16:47:13 -07:00
2016-10-24 08:12:35 -02:00
2017-02-14 08:29:56 -07:00
2016-10-24 08:12:35 -02:00
2016-12-01 10:46:01 -07:00
2016-12-08 01:43:05 +01:00
2016-12-17 16:00:34 -08:00
2016-12-16 00:13:41 +02:00
2016-12-14 11:12:25 -08:00
2016-12-27 10:06:00 -08:00
2016-11-14 08:14:24 +05:30
2016-11-30 17:08:09 -07:00
2016-12-27 13:05:36 -07:00
2017-01-03 00:07:09 +01:00
2016-11-15 22:34:25 -05:00
2016-12-23 10:22:47 -08:00
2016-12-17 19:16:12 -08:00
2016-11-29 15:51:49 -06:00
2016-10-24 08:12:35 -02:00
2016-12-13 07:54:57 -08:00
2016-12-13 09:35:09 -08:00
2016-12-13 15:43:56 -08:00
2016-12-15 12:56:35 -08:00
2016-10-01 00:49:58 -06:00
2016-10-02 08:42:19 -04:00
2016-10-04 11:47:02 -07:00
2016-10-24 08:12:35 -02:00
2016-11-16 09:26:33 +01:00
2016-12-13 09:29:06 -08:00
2016-11-22 12:07:02 +01:00
2016-12-09 13:41:46 +01:00
2016-10-24 08:12:35 -02:00
2016-12-15 08:38:35 -02:00
2017-01-02 15:49:08 -05:00
2016-10-07 11:46:37 -07:00
2016-12-13 10:41:53 -08:00
2016-10-07 20:19:31 -07:00
2016-12-01 10:44:08 -07:00
2016-11-14 10:39:48 -08:00
2016-11-16 16:27:50 -07:00
2016-12-22 12:32:33 -08:00
2016-12-14 13:57:44 -08:00
2016-11-18 16:19:28 -07:00
2016-12-18 13:30:29 -07:00
2016-10-04 13:54:07 -07:00
2016-10-10 07:12:09 -06:00
2016-12-12 21:58:13 -08:00
2016-09-27 14:02:16 +08:00
2016-10-10 07:12:09 -06:00
2016-12-15 13:49:34 -08:00
2016-12-16 00:13:41 +02:00
2016-12-16 17:53:38 +01:00
2016-12-12 21:58:13 -08:00
2016-10-24 08:12:35 -02:00
2016-12-23 16:54:46 -08:00
2016-12-15 08:57:16 -02:00
2016-12-14 16:30:12 -08:00
2016-11-16 16:17:45 -07:00
2016-10-24 08:12:35 -02:00
2016-11-19 10:22:04 -07:00
2016-10-25 17:07:52 -06:00
2016-10-11 15:06:32 -07:00
2016-12-14 10:54:28 +01:00
2016-12-13 16:37:54 -07:00
2016-11-07 12:16:06 -06:00
2016-11-19 10:22:04 -07:00
2016-10-24 08:12:35 -02:00
2016-11-07 18:04:18 -07:00
2016-10-24 08:12:35 -02:00
2016-10-10 07:12:02 -06:00
2016-11-30 17:08:03 -07:00
2016-10-24 08:12:35 -02:00
2016-10-02 22:50:21 -07:00
2016-10-24 08:12:35 -02:00
2016-10-24 08:12:35 -02:00
2016-10-25 14:40:39 +02:00
2016-12-27 13:08:42 -07:00
2016-12-30 08:13:41 -07:00