Eric W. Biederman
780a7654ce
audit: Make testing for a valid loginuid explicit.
...
audit rule additions containing "-F auid!=4294967295" were failing
with EINVAL because of a regression caused by e1760bd .
Apparently some userland audit rule sets want to know if loginuid uid
has been set and are using a test for auid != 4294967295 to determine
that.
In practice that is a horrible way to ask if a value has been set,
because it relies on subtle implementation details and will break
every time the uid implementation in the kernel changes.
So add a clean way to test if the audit loginuid has been set, and
silently convert the old idiom to the cleaner and more comprehensible
new idiom.
Cc: <stable@vger.kernel.org > # 3.7
Reported-By: Richard Guy Briggs <rgb@redhat.com >
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com >
Tested-by: Richard Guy Briggs <rgb@redhat.com >
Signed-off-by: Eric Paris <eparis@redhat.com >
2013-05-07 22:27:15 -04:00
..
2012-12-03 11:15:35 +00:00
2013-01-03 15:57:15 -08:00
2012-12-20 14:00:13 -08:00
2012-12-14 14:54:26 -08:00
2012-09-05 12:20:49 -07:00
2013-01-02 17:36:10 -08:00
2012-12-18 16:51:10 -08:00
2012-12-18 12:46:37 -08:00
2012-12-14 14:42:53 -08:00
2013-01-27 01:35:32 +01:00
2012-12-19 11:47:22 -08:00
2012-12-11 11:19:09 -08:00
2012-12-03 16:36:52 +02:00
2013-01-08 09:44:06 +01:00
2012-12-13 19:26:04 -08:00
2013-01-02 17:36:10 -08:00
2012-12-10 12:43:22 +09:00
2012-12-07 17:02:47 +00:00
2012-12-14 14:27:45 -08:00
2012-12-20 14:04:11 -08:00
2013-02-09 07:55:24 +11:00
2012-12-14 10:03:23 -08:00
2012-12-14 13:06:41 +10:30
2013-01-03 15:57:16 -08:00
2013-01-14 13:29:15 -05:00
2012-12-10 15:49:57 -05:00
2013-05-07 22:27:15 -04:00
2012-12-17 11:29:09 -08:00
2012-12-17 17:15:16 -08:00
2012-12-11 17:22:26 -08:00
2012-12-06 14:58:56 -05:00
2012-12-20 20:00:43 -08:00
2011-08-03 11:30:42 -04:00
2012-12-19 07:18:35 -08:00
2012-12-12 17:38:35 -08:00
2012-12-06 14:33:02 +01:00
2011-07-26 16:49:47 -07:00
2011-01-13 08:03:17 -08:00
2012-12-11 11:25:08 -08:00
2013-01-11 14:54:56 -08:00
2012-12-20 18:05:28 -08:00
2012-12-19 07:55:08 -08:00
2012-12-06 01:22:31 +00:00
2012-12-19 07:55:08 -08:00
2008-06-04 14:56:12 +01:00
2013-01-11 14:54:54 -08:00
2013-01-15 14:18:04 +01:00
2012-12-12 17:38:32 -08:00
2013-01-09 08:26:53 -08:00
2012-12-20 13:57:36 -05:00
2012-03-28 15:58:21 -07:00
2012-12-21 20:23:41 +00:00
2012-12-14 09:59:59 -08:00
2012-12-20 12:05:06 +05:30
2012-12-11 09:28:09 +01:00
2012-10-24 17:06:43 +02:00
2007-02-09 17:39:36 -05:00
2012-10-24 15:57:14 -07:00
2011-11-29 12:46:19 -05:00
2013-01-30 11:51:59 -08:00
2012-10-13 10:46:48 +01:00
2012-12-20 14:04:11 -08:00
2012-12-11 13:43:45 +09:00
2012-12-12 08:18:24 -08:00
2009-12-17 10:58:17 -05:00
2012-12-20 18:49:14 -05:00
2012-12-20 22:34:00 +00:00
2012-12-20 22:04:07 +00:00
2012-12-11 13:44:36 -05:00
2012-12-17 17:15:12 -08:00
2006-09-30 01:47:55 +02:00
2012-12-18 15:02:12 -08:00
2012-12-06 10:39:54 +01:00
2012-12-12 16:49:10 +01:00
2012-12-12 21:41:55 +01:00
2012-12-16 15:18:08 -08:00
2012-12-18 15:02:15 -08:00
2012-12-16 15:18:08 -08:00
2012-09-10 16:42:33 -07:00
2012-12-06 14:02:51 +01:00
2012-12-14 13:05:26 +10:30
2012-12-04 13:08:10 -05:00
2012-09-17 18:08:54 -07:00
2013-01-10 10:57:01 -08:00
2011-01-31 21:17:41 -08:00
2012-11-10 00:40:24 -08:00
2013-01-11 14:54:54 -08:00
2012-12-09 00:20:28 -05:00
2013-01-04 16:11:45 -08:00
2012-12-09 00:20:28 -05:00
2012-12-13 14:20:19 -08:00
2012-12-25 13:29:52 -05:00
2007-07-31 15:39:40 -07:00
2012-12-20 17:40:20 -08:00
2012-10-13 10:46:48 +01:00
2012-12-16 15:40:50 -08:00
2012-07-21 10:34:00 -07:00
2012-12-13 15:31:08 -08:00
2013-01-14 13:29:15 -05:00
2012-12-17 21:55:56 -05:00
2013-01-11 14:54:55 -08:00
2012-12-17 13:39:11 -08:00
2013-02-05 20:38:48 +11:00
2012-12-11 17:22:28 -08:00
2012-12-12 17:38:33 -08:00
2013-01-02 17:32:13 -08:00
2012-12-16 15:18:08 -08:00
2012-12-18 10:56:07 -08:00
2013-01-11 14:54:56 -08:00
2012-05-29 16:22:20 -07:00
2013-02-05 20:38:48 +11:00
2013-01-04 16:11:46 -08:00
2013-01-12 13:27:05 +10:30
2012-12-14 13:06:40 +10:30
2009-04-01 07:38:54 -04:00
2013-01-04 16:11:45 -08:00
2012-12-25 18:45:06 -05:00
2012-02-24 01:42:07 -08:00
2013-01-11 15:55:48 -08:00
2012-12-06 00:30:46 +01:00
2012-12-15 15:21:52 -05:00
2012-12-11 17:22:27 -08:00
2012-12-12 17:38:34 -08:00
2012-12-11 17:30:16 +00:00
2012-12-19 16:15:17 +00:00
2012-12-18 09:58:09 -08:00
2012-12-11 17:22:27 -08:00
2012-11-26 11:33:18 -08:00
2012-12-26 14:57:34 -08:00
2012-12-11 17:22:22 -08:00
2012-12-11 17:22:26 -08:00
2012-10-13 10:46:48 +01:00
2012-12-26 10:43:06 -07:00
2012-12-13 12:14:47 -08:00
2012-12-17 17:15:18 -08:00
2012-12-25 16:10:05 -08:00
2012-12-25 16:10:05 -08:00
2012-09-07 21:13:28 +01:00
2012-12-17 20:58:12 -08:00
2013-01-03 15:57:14 -08:00
2013-01-20 12:26:05 -08:00
2012-12-17 17:15:26 -08:00
2013-01-11 14:54:56 -08:00
2012-12-11 12:39:32 +09:00
2012-12-18 15:02:12 -08:00
2012-12-11 14:43:00 +00:00
2013-01-16 12:13:20 -08:00
2013-04-30 15:31:28 -04:00
2013-01-14 18:16:59 -05:00
2010-10-22 10:20:06 -07:00
2012-05-04 15:13:54 -07:00
2012-12-11 17:22:25 -08:00
2012-12-19 18:07:41 -05:00
2012-12-09 00:20:28 -05:00
2012-12-18 15:02:13 -08:00
2012-12-18 15:02:14 -08:00
2012-12-18 15:02:14 -08:00
2012-12-07 12:48:00 -05:00
2011-06-14 22:48:51 -04:00
2006-12-07 02:14:08 +01:00
2012-12-13 12:00:02 -08:00
2008-10-03 11:46:14 -05:00
2012-12-17 17:15:17 -08:00
2009-04-10 15:48:52 +02:00
2012-12-20 18:05:28 -08:00
2011-03-15 00:43:46 +01:00
2012-09-13 16:47:34 +02:00
2012-12-09 00:20:28 -05:00
2012-12-12 15:34:48 +08:00
2012-12-18 15:02:13 -08:00
2012-08-21 16:28:31 +02:00
2013-04-30 15:31:28 -04:00
2012-12-11 17:22:27 -08:00
2012-12-09 00:20:28 -05:00
2013-01-25 15:06:01 -08:00
2012-12-18 15:20:43 +10:30
2012-12-16 15:18:08 -08:00
2012-07-30 12:25:45 +02:00
2012-12-11 14:42:48 +00:00
2006-04-26 12:56:16 +01:00
2012-12-19 22:24:55 +01:00
2012-08-21 13:18:24 -07:00
2012-12-11 17:22:21 -08:00