aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-09-08 16:34:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-08 16:34:59 -0400
commit425afcff13a4bea2a3cf6f395cbc66fc158852be (patch)
treec34863cf9fc8f608be586794db866285abbe317e /include/uapi/linux
parentb793c005ceabf6db0b17494b0ec67ade6796bb34 (diff)
parent15ce414b82b07acb99afda6e4d9bd14f317b6011 (diff)
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit
Pull audit update from Paul Moore: "This is one of the larger audit patchsets in recent history, consisting of eight patches and almost 400 lines of changes. The bulk of the patchset is the new "audit by executable" functionality which allows admins to set an audit watch based on the executable on disk. Prior to this, admins could only track an application by PID, which has some obvious limitations. Beyond the new functionality we also have some refcnt fixes and a few minor cleanups" * 'upstream' of git://git.infradead.org/users/pcmoore/audit: fixup: audit: implement audit by executable audit: implement audit by executable audit: clean simple fsnotify implementation audit: use macros for unset inode and device values audit: make audit_del_rule() more robust audit: fix uninitialized variable in audit_add_rule() audit: eliminate unnecessary extra layer of watch parent references audit: eliminate unnecessary extra layer of watch references
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/audit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index 1f977dd4c370..843540c398eb 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -266,6 +266,7 @@
266#define AUDIT_OBJ_UID 109 266#define AUDIT_OBJ_UID 109
267#define AUDIT_OBJ_GID 110 267#define AUDIT_OBJ_GID 110
268#define AUDIT_FIELD_COMPARE 111 268#define AUDIT_FIELD_COMPARE 111
269#define AUDIT_EXE 112
269 270
270#define AUDIT_ARG0 200 271#define AUDIT_ARG0 200
271#define AUDIT_ARG1 (AUDIT_ARG0+1) 272#define AUDIT_ARG1 (AUDIT_ARG0+1)
@@ -324,8 +325,10 @@ enum {
324 325
325#define AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT 0x00000001 326#define AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT 0x00000001
326#define AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME 0x00000002 327#define AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME 0x00000002
328#define AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH 0x00000004
327#define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \ 329#define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \
328 AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME) 330 AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \
331 AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH)
329 332
330/* deprecated: AUDIT_VERSION_* */ 333/* deprecated: AUDIT_VERSION_* */
331#define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL 334#define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL