Richard Guy Briggs
041d7b98ff
audit: restore AUDIT_LOGINUID unset ABI
...
A regression was caused by commit 780a7654ce
:
audit: Make testing for a valid loginuid explicit.
(which in turn attempted to fix a regression caused by e1760bd
)
When audit_krule_to_data() fills in the rules to get a listing, there was a
missing clause to convert back from AUDIT_LOGINUID_SET to AUDIT_LOGINUID.
This broke userspace by not returning the same information that was sent and
expected.
The rule:
auditctl -a exit,never -F auid=-1
gives:
auditctl -l
LIST_RULES: exit,never f24=0 syscall=all
when it should give:
LIST_RULES: exit,never auid=-1 (0xffffffff) syscall=all
Tag it so that it is reported the same way it was set. Create a new
private flags audit_krule field (pflags) to store it that won't interact with
the public one from the API.
Cc: stable@vger.kernel.org # v3.10-rc1+
Signed-off-by: Richard Guy Briggs <rgb@redhat.com >
Signed-off-by: Paul Moore <pmoore@redhat.com >
2014-12-23 16:40:18 -05:00
..
2014-06-04 16:54:17 -07:00
2014-07-27 09:57:16 -07:00
2014-06-10 15:34:46 -07:00
2014-07-05 21:42:08 +02:00
2014-07-16 14:57:13 +02:00
2014-07-15 14:27:30 +02:00
2014-07-03 09:21:54 -07:00
2014-07-30 17:16:13 -07:00
2014-07-19 06:26:43 -10:00
2014-08-01 12:54:41 +02:00
2014-07-21 09:56:12 -04:00
2013-12-10 18:21:34 +00:00
2014-06-06 16:08:14 -07:00
2014-11-11 14:20:22 -05:00
2014-09-23 16:37:53 -04:00
2014-12-19 18:37:56 -05:00
2014-09-23 16:37:51 -04:00
2014-12-23 16:40:18 -05:00
2014-12-22 12:27:39 -05:00
2014-06-04 16:54:14 -07:00
2013-12-20 12:25:45 -08:00
2014-06-10 13:57:22 -07:00
2014-05-16 13:22:48 -04:00
2014-06-30 10:16:26 -04:00
2014-06-04 16:54:19 -07:00
2013-05-01 17:29:18 -04:00
2014-06-14 09:07:44 +02:00
2014-06-12 13:14:19 -07:00
2014-07-01 16:42:28 -04:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2014-06-04 16:54:15 -07:00
2014-06-06 16:08:11 -07:00
2014-02-13 18:13:22 -08:00
2014-06-21 00:15:12 -04:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-06-08 11:31:16 -07:00
2014-04-03 16:21:05 -07:00
2014-06-06 07:55:06 +02:00
2014-06-04 16:54:15 -07:00
2014-02-21 21:49:07 +01:00
2013-10-19 19:45:35 -04:00
2014-04-07 16:36:11 -07:00
2013-11-15 09:32:22 +09:00
2014-07-16 14:57:13 +02:00
2014-07-30 20:09:37 -07:00
2014-06-06 16:08:12 -07:00
2014-07-18 06:23:40 +02:00
2014-04-25 12:00:49 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:15 -07:00
2014-03-31 14:13:25 -07:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-06-11 16:09:14 -07:00
2014-04-24 10:26:39 +02:00
2013-09-07 14:35:32 -07:00
2013-12-05 21:28:42 +08:00
2014-06-06 16:08:12 -07:00
2014-04-28 11:48:34 +09:30
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2013-12-09 16:56:29 +01:00
2013-04-18 12:51:19 +02:00
2014-06-06 16:08:13 -07:00
2014-03-06 15:35:10 +01:00
2013-06-18 11:32:10 -05:00
2014-06-04 16:54:15 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-05-23 10:47:21 -06:00
2014-06-12 14:27:40 -07:00
2014-06-06 16:08:12 -07:00
2014-06-23 16:47:43 -07:00
2013-07-14 19:36:59 -04:00
2014-05-22 11:36:10 +02:00
2014-06-04 16:54:15 -07:00
2014-06-04 16:54:14 -07:00
2014-05-22 11:16:36 +02:00
2013-11-13 12:09:33 +09:00
2014-06-23 16:47:44 -07:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2013-04-29 18:28:42 -07:00
2013-06-19 12:58:42 +02:00
2014-04-30 13:46:17 +02:00
2014-05-14 09:46:30 -07:00
2014-06-21 00:15:26 -04:00
2013-08-30 23:44:11 -07:00
2014-02-24 14:47:15 -08:00
2014-06-06 16:08:13 -07:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2013-08-30 23:44:11 -07:00
2014-06-23 16:47:44 -07:00
2014-05-20 10:59:32 -04:00
2014-07-07 09:56:48 -04:00