Emese Revfy
0766f788eb
latent_entropy: Mark functions with __latent_entropy
...
The __latent_entropy gcc attribute can be used only on functions and
variables. If it is on a function then the plugin will instrument it for
gathering control-flow entropy. If the attribute is on a variable then
the plugin will initialize it with random contents. The variable must
be an integer, an integer array type or a structure with integer fields.
These specific functions have been selected because they are init
functions (to help gather boot-time entropy), are called at unpredictable
times, or they have variable loops, each of which provide some level of
latent entropy.
Signed-off-by: Emese Revfy <re.emese@gmail.com >
[kees: expanded commit message]
Signed-off-by: Kees Cook <keescook@chromium.org >
2016-10-10 14:51:45 -07:00
..
2016-07-25 11:09:19 -07:00
2016-09-22 10:01:21 +02:00
2016-07-28 15:32:53 +02:00
2016-06-25 14:30:42 -07:00
2016-07-02 14:31:34 +09:00
2016-06-28 00:38:53 +02:00
2016-08-15 15:39:09 +01:00
2016-07-15 14:50:53 -07:00
2016-08-09 16:43:23 +02:00
2016-07-28 09:34:47 +05:30
2016-09-03 11:33:33 -07:00
2016-08-04 20:10:31 -04:00
2016-09-08 16:15:28 -07:00
2016-07-25 10:34:47 +02:00
2016-07-15 17:06:26 -07:00
2016-08-18 00:38:23 +02:00
2016-07-03 10:55:07 +02:00
2016-07-20 09:57:34 +02:00
2016-07-04 17:19:22 +05:30
2016-06-23 11:18:56 +02:00
2016-08-05 09:48:22 -04:00
2016-06-28 20:05:41 +02:00
2016-08-08 22:22:20 -07:00
2016-07-20 18:02:03 +01:00
2016-07-08 16:23:11 +02:00
2016-07-06 22:12:04 -07:00
2016-07-25 11:47:52 +01:00
2016-08-12 12:32:24 -07:00
2016-07-04 08:19:21 -07:00
2016-09-02 22:21:34 +02:00
2016-06-20 12:47:09 -07:00
2016-07-18 20:55:38 -04:00
2016-07-08 17:01:14 +03:00
2016-07-07 09:16:20 +02:00
2016-06-29 15:18:47 -07:00
2016-08-04 14:19:16 -06:00
2016-08-04 14:19:16 -06:00
2016-07-26 16:19:19 -07:00
2016-07-25 16:51:49 +10:00
2016-08-16 09:16:51 -06:00
2016-08-04 08:50:07 -04:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-08 08:38:49 -06:00
2016-08-16 09:16:51 -06:00
2016-07-25 10:34:11 -07:00
2016-07-26 15:03:07 -07:00
2016-08-11 09:41:35 -06:00
2016-08-02 17:31:41 -04:00
2016-08-22 14:05:49 -03:00
2016-08-22 14:00:51 -03:00
2016-07-01 16:30:38 -04:00
2016-07-01 17:40:23 -07:00
2016-07-30 11:20:02 -07:00
2016-06-28 10:19:35 +02:00
2016-07-28 16:07:41 -07:00
2016-10-10 14:51:45 -07:00
2016-10-10 14:51:45 -07:00
2016-06-25 09:04:48 -07:00
2016-06-25 09:04:48 -07:00
2016-08-02 16:11:27 -04:00
2016-07-14 09:34:43 +02:00
2016-07-21 14:46:08 +02:00
2016-09-14 15:31:53 +02:00
2016-07-21 23:29:38 +02:00
2016-08-02 19:35:24 -04:00
2016-07-18 17:35:46 +08:00
2016-07-26 16:19:19 -07:00
2016-08-07 10:01:14 -04:00
2016-07-26 16:19:19 -07:00
2016-07-28 17:38:16 -07:00
2016-06-20 22:26:37 +05:30
2016-08-04 08:50:07 -04:00
2016-09-28 16:19:01 -07:00
2016-08-04 08:50:07 -04:00
2016-09-05 12:32:28 +01:00
2016-07-20 21:35:12 -06:00
2016-07-01 16:37:06 +02:00
2016-06-20 22:42:32 +02:00
2016-06-21 09:22:39 +10:00
2016-08-04 10:16:56 +09:30
2016-06-29 19:50:43 +09:00
2016-10-10 14:51:45 -07:00
2016-08-21 17:43:32 +02:00
2016-07-24 00:53:32 -04:00
2016-08-02 19:35:10 -04:00
2016-07-26 16:19:19 -07:00
2016-09-01 11:11:59 +02:00
2016-09-10 01:18:57 -04:00
2016-09-19 15:36:17 -07:00
2016-07-05 17:28:30 -04:00
2016-10-10 14:51:45 -07:00
2016-07-28 16:07:41 -07:00
2016-08-24 15:58:57 +02:00
2016-07-15 10:41:37 +02:00
2016-07-28 16:07:41 -07:00
2016-07-22 09:07:02 +02:00
2016-07-19 05:57:23 +02:00
2016-07-27 14:20:09 -07:00
2016-06-18 22:11:39 -07:00
2016-06-30 12:06:20 +02:00
2016-07-08 13:23:12 +02:00
2016-06-24 17:07:33 -07:00
2016-10-10 14:51:45 -07:00
2016-07-13 17:27:24 -07:00
2016-07-04 12:25:14 +02:00
2016-08-29 11:33:58 +10:00
2016-07-13 12:46:05 +02:00
2016-08-02 19:35:44 -04:00
2016-07-27 10:24:38 -05:00
2016-09-13 16:57:40 +02:00
2016-07-04 12:26:05 +02:00
2016-06-17 20:47:11 -07:00
2016-06-30 11:40:54 -04:00
2016-08-04 08:50:07 -04:00
2016-08-02 17:31:41 -04:00
2016-06-20 22:42:32 +02:00
2016-07-28 16:07:41 -07:00
2016-07-06 10:34:48 +01:00
2016-08-02 19:35:03 -04:00
2016-08-02 19:35:30 -04:00
2016-07-26 16:19:19 -07:00
2016-07-26 16:19:19 -07:00
2016-08-12 12:01:27 +02:00
2016-07-18 08:46:09 +02:00
2016-06-20 09:43:33 +02:00
2016-06-27 08:58:42 +02:00
2016-07-18 20:55:38 -04:00
2016-07-23 21:51:42 -07:00
2016-07-07 08:51:52 -06:00
2016-07-07 10:35:07 +02:00
2016-07-20 23:30:06 -04:00
2016-07-11 17:58:30 +02:00
2016-06-26 01:20:08 +02:00
2016-07-28 16:07:41 -07:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-09-01 17:52:01 -07:00
2016-07-28 16:07:41 -07:00
2016-07-15 11:53:02 -07:00
2016-07-26 16:19:19 -07:00
2016-07-28 16:07:41 -07:00
2016-07-28 16:07:41 -07:00
2016-09-01 15:55:56 -07:00
2016-08-02 19:35:02 -04:00
2016-07-26 16:19:19 -07:00
2016-09-01 17:52:01 -07:00
2016-06-26 17:14:03 -07:00
2016-08-04 10:16:55 +09:30
2016-06-24 10:40:41 -05:00
2016-07-01 23:45:18 +08:00
2016-09-25 23:41:39 -04:00
2016-09-25 23:41:39 -04:00
2016-08-09 09:19:32 +02:00
2016-07-29 12:17:52 -07:00
2016-07-12 19:25:38 -07:00
2016-07-01 05:32:17 -04:00
2016-09-04 11:41:12 -07:00
2016-07-13 15:32:47 -04:00
2016-07-05 19:11:05 -04:00
2016-08-06 09:49:02 -04:00
2016-07-10 20:58:36 +02:00
2016-07-08 08:38:49 -06:00
2016-08-19 12:00:44 +03:00
2016-06-25 07:42:55 -07:00
2016-07-06 10:34:46 +01:00
2016-06-23 14:57:40 -05:00
2016-07-16 21:32:58 -07:00
2016-07-08 18:14:03 -03:00
2016-07-31 02:25:02 -07:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-07-26 16:19:19 -07:00
2016-06-21 09:43:04 +02:00
2016-07-26 16:19:19 -07:00
2016-09-25 18:16:44 -07:00
2016-09-01 17:52:01 -07:00
2016-08-10 13:05:52 +02:00
2016-06-24 11:39:29 -07:00
2016-06-28 00:42:10 +02:00
2016-06-29 02:15:19 +02:00
2016-07-12 19:25:38 -07:00
2016-07-29 15:54:19 -07:00
2016-07-01 22:44:34 +02:00
2016-08-09 10:48:18 -07:00
2016-09-30 15:26:52 -07:00
2016-07-01 05:32:17 -04:00
2016-07-25 16:23:39 +02:00
2016-06-24 22:53:50 -05:00
2016-07-29 15:54:19 -07:00
2016-08-02 19:35:08 -04:00
2016-10-10 14:51:45 -07:00
2016-08-02 19:35:06 -04:00
2016-07-06 10:51:14 +01:00
2016-07-06 10:51:14 +01:00
2016-07-27 12:03:20 -07:00
2016-07-15 10:41:44 +02:00
2016-07-15 10:41:44 +02:00
2016-07-15 13:44:47 +01:00
2016-06-29 23:39:52 +02:00
2016-08-02 19:35:38 -04:00
2016-08-02 19:35:37 -04:00
2016-08-02 19:35:37 -04:00
2016-07-26 16:19:19 -07:00
2016-06-22 09:10:00 +01:00
2016-08-02 19:35:23 -04:00
2016-06-21 10:15:56 +01:00
2016-08-08 12:51:58 -07:00
2016-07-20 23:30:06 -04:00
2016-08-31 15:36:01 +02:00
2016-06-25 14:31:04 -07:00
2016-07-27 14:20:09 -07:00
2016-07-13 09:24:51 +02:00
2016-07-26 16:19:19 -07:00
2016-07-01 05:32:17 -04:00
2016-08-08 13:11:43 -07:00
2016-07-28 16:07:41 -07:00
2016-08-08 14:48:14 -07:00
2016-07-28 16:07:41 -07:00
2016-08-28 23:44:55 -04:00
2016-07-15 10:41:43 +02:00
2016-06-28 09:08:51 -04:00
2016-06-28 08:54:23 -04:00
2016-09-30 15:26:52 -07:00
2016-08-04 08:50:07 -04:00
2016-08-26 17:39:35 -07:00
2016-09-07 11:33:26 -07:00
2016-07-17 19:59:26 +02:00
2016-06-20 12:47:15 -07:00
2016-07-15 10:41:42 +02:00
2016-07-28 16:07:41 -07:00
2016-07-19 17:43:38 +03:00
2016-08-08 13:02:01 -07:00
2016-06-30 18:04:36 -05:00
2016-09-17 14:05:30 -07:00
2016-06-24 10:40:31 -05:00
2016-07-26 16:19:19 -07:00
2016-08-01 21:44:52 +03:00
2016-08-02 02:57:29 +03:00
2016-07-28 16:07:41 -07:00
2016-07-28 16:07:41 -07:00
2016-06-25 09:04:48 -07:00
2016-07-14 10:42:35 +02:00
2016-07-19 03:08:07 -04:00
2016-07-17 21:00:14 +02:00
2016-07-14 09:34:43 +02:00
2016-07-28 16:07:41 -07:00
2016-08-04 08:50:07 -04:00