Jinbum Park
73b9160d0d
ARM: 8748/1: mm: Define vdso_start, vdso_end as array
...
Define vdso_start, vdso_end as array to avoid compile-time analysis error
for the case of built with CONFIG_FORTIFY_SOURCE.
and, since vdso_start, vdso_end are used in vdso.c only,
move extern-declaration from vdso.h to vdso.c.
If kernel is built with CONFIG_FORTIFY_SOURCE,
compile-time error happens at this code.
- if (memcmp(&vdso_start, "177ELF", 4))
The size of "&vdso_start" is recognized as 1 byte, but n is 4,
So that compile-time error is reported.
Acked-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Jinbum Park <jinb.park7@gmail.com >
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk >
2018-03-24 14:27:49 +00:00
..
2013-10-09 16:54:10 -07:00
2018-01-21 15:37:56 +00:00
2017-10-23 16:58:59 +01:00
2014-11-21 15:24:50 +00:00
2017-09-29 13:57:21 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-18 23:07:43 -06:00
2017-08-16 22:25:30 +02:00
2014-04-07 12:10:00 +01:00
2017-11-08 19:42:43 +00:00
2017-08-16 22:25:30 +02:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:24:50 +00:00
2017-10-12 11:29:29 +01:00
2016-04-28 11:33:53 +02:00
2017-11-16 12:50:35 -08:00
2017-12-17 22:14:21 +00:00
2017-12-17 22:14:21 +00:00
2017-06-18 22:25:16 +01:00
2017-12-03 10:51:08 -05:00
2016-06-22 19:54:28 +01:00
2017-11-02 11:10:55 +01:00
2014-07-18 12:29:04 +01:00
2017-06-18 22:25:16 +01:00
2018-01-21 15:37:56 +00:00
2017-09-10 19:34:53 -04:00
2017-10-23 16:59:31 +01:00
2017-08-14 16:22:55 +01:00
2016-02-08 15:48:32 +00:00
2017-12-17 22:16:20 +00:00
2017-08-14 16:22:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-01-26 23:49:02 +00:00
2014-06-06 16:08:15 -07:00
2017-08-14 16:22:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-16 12:50:35 -08:00
2017-03-17 10:01:28 +00:00
2017-05-11 14:43:31 +01:00
2017-11-02 11:10:55 +01:00
2015-12-21 14:40:54 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-01-04 11:12:10 +00:00
2018-01-05 15:19:56 +01:00
2015-12-01 22:17:45 +01:00
2018-01-22 19:07:11 -06:00
2017-04-09 07:49:24 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2015-03-28 16:54:53 +00:00
2017-09-29 13:57:21 +01:00
2017-11-16 12:50:35 -08:00
2017-09-10 19:31:46 -04:00
2017-09-10 19:31:46 -04:00
2017-11-02 11:10:55 +01:00
2017-02-03 18:46:33 +00:00
2017-10-29 08:29:30 -07:00
2017-01-16 17:30:46 +00:00
2017-06-14 11:58:45 +02:00
2018-01-21 15:32:23 +00:00
2017-12-17 22:14:21 +00:00
2017-11-02 11:10:55 +01:00
2017-03-02 08:42:37 +01:00
2012-11-28 22:13:54 -05:00
2017-03-02 08:42:31 +01:00
2015-06-06 10:37:28 +01:00
2014-11-21 15:24:50 +00:00
2017-06-14 11:59:16 +02:00
2017-08-16 22:25:30 +02:00
2018-02-02 09:50:51 -08:00
2014-11-13 23:58:09 +00:00
2013-09-02 13:49:29 +01:00
2018-03-24 14:27:49 +00:00
2017-12-17 22:14:21 +00:00
2017-12-17 22:14:21 +00:00
2015-12-01 21:44:24 +01:00