Borislav Petkov
4fd4b6e553
x86/alternatives: Use optimized NOPs for padding
...
Alternatives allow now for an empty old instruction. In this case we go
and pad the space with NOPs at assembly time. However, there are the
optimal, longer NOPs which should be used. Do that at patching time by
adding alt_instr.padlen-sized NOPs at the old instruction address.
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Borislav Petkov <bp@suse.de>
2015-02-23 13:44:12 +01:00
..
2015-02-21 10:36:06 -08:00
2015-02-13 10:26:18 -08:00
2015-02-21 10:41:29 -08:00
2015-02-21 10:39:16 -08:00
2015-02-23 13:44:12 +01:00
2014-06-04 16:53:57 -07:00
2014-10-20 14:18:45 +02:00
2014-12-23 10:43:35 +01:00
2014-05-23 10:47:19 -06:00
2014-11-12 21:17:27 +01:00
2014-12-11 11:43:56 +01:00
2014-12-14 11:51:50 -08:00
2013-09-25 14:07:57 +02:00
2014-12-13 12:42:51 -08:00
2014-01-21 16:19:47 -08:00
2014-10-17 13:40:51 -07:00
2014-12-16 14:08:17 +01:00
2014-06-21 23:05:44 +02:00
2014-01-06 21:25:18 -08:00
2014-04-01 10:17:18 -07:00
2014-11-23 13:56:19 -08:00
2015-02-13 21:21:41 -08:00
2015-01-23 16:14:27 +01:00
2015-02-02 10:11:27 -08:00
2014-09-24 14:47:39 +02:00
2015-02-23 13:44:00 +01:00
2015-02-01 04:03:02 -08:00
2014-11-11 17:57:46 +01:00
2015-01-20 11:38:33 +10:30
2015-02-04 12:10:42 +01:00
2015-02-16 14:58:12 -08:00
2014-03-07 18:58:40 -08:00
2015-02-13 21:21:41 -08:00
2015-02-12 18:54:13 -08:00
2014-12-03 15:14:30 +01:00
2013-09-25 14:23:07 +02:00
2015-02-16 14:58:12 -08:00
2014-10-28 12:01:08 +01:00
2014-09-19 13:08:43 +02:00
2015-01-02 10:22:46 -08:00
2014-08-26 13:45:49 -04:00
2014-09-13 18:38:29 +02:00
2015-02-18 15:01:42 +01:00
2014-12-16 14:08:16 +01:00
2013-10-19 19:45:35 -04:00
2014-10-14 02:18:21 +02:00
2014-01-06 21:25:18 -08:00
2014-01-03 14:37:13 +00:00
2015-02-18 14:53:49 +01:00
2014-12-10 12:49:39 +01:00
2014-05-21 10:22:59 -07:00
2014-12-22 15:40:49 +01:00
2014-12-16 14:08:17 +01:00
2014-12-16 14:08:17 +01:00
2015-02-13 21:21:41 -08:00
2014-12-01 14:08:58 -05:00
2013-07-14 19:36:56 -04:00
2015-02-21 10:41:29 -08:00
2014-07-31 08:05:42 -07:00
2014-10-17 13:40:55 -07:00
2014-04-24 10:26:38 +02:00
2014-07-28 15:25:40 -07:00
2013-08-09 07:54:00 -07:00
2014-04-24 10:02:58 +02:00
2014-04-10 19:51:32 -07:00
2014-06-04 16:53:57 -07:00
2014-01-06 21:25:18 -08:00
2014-06-04 16:53:57 -07:00
2015-01-09 11:12:29 +01:00
2015-01-20 12:50:14 +01:00
2015-02-04 12:10:42 +01:00
2015-02-04 12:10:42 +01:00
2015-02-04 12:10:41 +01:00
2014-11-20 23:01:53 +01:00
2013-11-06 09:49:02 +02:00
2014-09-15 17:53:35 -07:00
2014-12-16 14:08:17 +01:00
2013-06-25 16:26:06 -07:00
2013-06-20 21:30:04 -07:00
2014-07-16 12:29:36 -06:00
2015-02-12 18:54:13 -08:00
2014-11-04 20:13:28 +01:00
2015-02-21 10:41:29 -08:00
2015-02-12 18:54:12 -08:00
2014-05-05 16:07:44 -07:00
2015-01-22 15:10:56 +01:00
2013-08-22 10:19:35 -07:00
2013-08-06 14:20:18 -07:00
2013-08-06 14:20:18 -07:00
2013-08-02 16:17:47 -07:00
2014-10-17 13:40:52 -07:00
2014-10-17 13:40:52 -07:00
2013-07-31 14:25:51 +02:00
2014-10-28 11:22:13 +01:00
2015-01-22 21:45:07 +01:00
2013-09-30 19:55:51 +02:00
2013-07-16 15:14:48 -07:00
2015-02-09 18:01:52 -08:00
2014-02-19 17:12:24 +01:00
2014-01-06 21:25:18 -08:00
2015-01-23 10:53:52 +01:00
2015-02-18 20:55:53 +01:00
2013-05-02 20:36:32 -04:00
2014-11-04 20:43:14 +01:00
2014-08-01 15:09:45 -07:00
2014-11-10 10:46:35 +01:00
2014-07-23 15:01:53 -07:00
2014-11-11 15:14:30 -07:00
2015-02-13 21:21:41 -08:00
2015-02-04 12:10:41 +01:00