]> git.baikalelectronics.ru Git - kernel.git/commit
audit: implement generic feature setting and retrieving
authorEric Paris <eparis@redhat.com>
Wed, 22 May 2013 16:54:49 +0000 (12:54 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 5 Nov 2013 16:07:30 +0000 (11:07 -0500)
commitc0143e944de467b4b360b98478c1a00675f7935a
treefc912434e03f4a300942e809e376e2e4ec2cb837
parent41143e7b43cf2840d0db2eddd853a5f8d9093b87
audit: implement generic feature setting and retrieving

The audit_status structure was not designed with extensibility in mind.
Define a new AUDIT_SET_FEATURE message type which takes a new structure
of bits where things can be enabled/disabled/locked one at a time.  This
structure should be able to grow in the future while maintaining forward
and backward compatibility (based loosly on the ideas from capabilities
and prctl)

This does not actually add any features, but is just infrastructure to
allow new on/off types of audit system features.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
include/uapi/linux/audit.h
kernel/audit.c