Vasily Averin
3ea4331c60
check_syslog_permissions() cleanup
...
Patch fixes drawbacks in heck_syslog_permissions() noticed by AKPM:
"from_file handling makes me cry.
That's not a boolean - it's an enumerated value with two values
currently defined.
But the code in check_syslog_permissions() treats it as a boolean and
also hardwires the knowledge that SYSLOG_FROM_PROC == 1 (or == `true`).
And the name is wrong: it should be called from_proc to match
SYSLOG_FROM_PROC."
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Josh Boyer <jwboyer@redhat.com>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-25 17:00:39 -07:00
..
2015-06-15 15:53:50 -07:00
2014-08-08 16:30:24 -07:00
2015-02-19 12:39:03 -06:00
2015-06-22 18:57:44 -07:00
2015-04-17 09:04:08 -04:00
2015-06-20 19:14:31 +02:00
2015-06-22 16:26:56 +02:00
2015-06-24 15:09:40 -07:00
2015-05-19 02:26:56 +02:00
2015-06-25 17:00:39 -07:00
2015-06-22 18:57:44 -07:00
2015-06-24 15:09:40 -07:00
2015-06-23 14:18:07 -07:00
2015-06-24 16:49:49 -07:00
2015-04-11 22:27:55 -04:00
2014-10-09 22:26:04 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:55 -04:00
2015-04-26 17:22:07 -07:00
2015-04-22 14:49:23 -07:00
2015-02-11 20:07:47 -08:00
2015-04-26 17:22:07 -07:00
2014-06-04 16:54:14 -07:00
2014-08-08 15:57:18 -07:00
2015-04-15 16:35:22 -07:00
2014-07-15 11:05:09 -04:00
2015-04-15 16:35:25 -07:00
2015-06-04 23:57:18 +02:00
2015-05-07 12:02:51 +02:00
2015-05-27 12:58:39 -07:00
2015-04-14 16:49:03 -07:00
2014-08-25 15:42:19 -07:00
2015-04-15 16:35:22 -07:00
2014-07-23 10:18:06 -07:00
2015-04-12 21:03:31 +02:00
2015-06-24 17:49:43 -07:00
2014-11-19 15:25:26 -05:00
2015-06-25 17:00:38 -07:00
2014-10-21 23:44:20 +02:00
2015-06-24 14:46:01 -07:00
2015-04-15 16:35:22 -07:00
2015-04-15 16:35:22 -07:00
2014-10-29 11:18:18 -04:00
2014-10-14 02:18:16 +02:00
2014-09-10 15:42:12 -07:00
2015-05-12 09:46:00 +02:00
2015-04-23 16:52:01 +02:00
2014-12-10 17:41:17 -08:00
2015-02-13 21:21:42 -08:00
2014-04-25 12:00:49 -07:00
2014-10-09 22:25:51 -04:00
2014-06-04 16:54:15 -07:00
2015-04-30 09:35:41 -07:00
2015-05-09 03:29:24 +09:30
2015-01-06 11:04:29 -08:00
2014-12-04 14:34:54 -05:00
2015-02-13 21:21:38 -08:00
2014-12-22 15:40:48 +01:00
2015-04-15 13:31:23 +09:30
2014-12-16 15:53:03 -08:00
2015-04-17 09:04:06 -04:00
2015-02-13 21:21:38 -08:00
2015-04-17 09:04:06 -04:00
2015-01-17 10:02:23 +13:00
2015-04-15 16:35:23 -07:00
2015-04-15 15:06:55 -04:00
2015-04-15 16:35:22 -07:00
2015-05-09 17:35:05 -04:00
2015-05-08 12:04:36 +02:00
2015-04-19 13:19:23 -07:00
2015-06-24 17:49:40 -07:00
2015-02-09 15:24:03 -08:00
2014-12-13 12:42:48 -08:00
2015-06-19 10:03:12 +02:00
2015-04-15 16:35:22 -07:00
2015-06-25 17:00:37 -07:00
2014-12-10 17:41:10 -08:00
2015-06-24 17:49:40 -07:00
2014-07-17 09:35:17 -04:00
2015-01-18 01:03:45 -05:00
2014-08-08 15:57:18 -07:00
2015-05-27 12:56:15 -07:00
2014-06-21 00:15:26 -04:00
2014-07-23 10:18:05 -07:00
2014-12-05 17:19:27 -06:00
2014-02-24 14:47:15 -08:00
2014-12-17 12:31:40 -08:00
2014-08-26 13:45:45 -04:00
2014-12-17 12:31:40 -08:00
2014-06-06 16:08:16 -07:00
2014-12-04 14:34:47 -05:00
2015-06-24 17:49:40 -07:00
2014-05-20 10:59:32 -04:00
2015-04-06 11:16:04 -04:00