aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-08-16 16:13:03 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-08-16 16:21:29 -0400
commit0a3173a5f09bc58a3638ecfd0a80bdbae55e123c (patch)
treed6c0bc84863cca54dfbde3b7463e5d49c82af9f1 /include/linux/audit.h
parent92f4e77c85918eab5e5803d7e28ab89a7e6bd3a2 (diff)
parent5c60a7389d795e001c8748b458eb76e3a5b6008c (diff)
Merge branch 'linus/master' into rdma.git for-next
rdma.git merge resolution for the 4.19 merge window Conflicts: drivers/infiniband/core/rdma_core.c - Use the rdma code and revise with the new spelling for atomic_fetch_add_unless drivers/nvme/host/rdma.c - Replace max_sge with max_send_sge in new blk code drivers/nvme/target/rdma.c - Use the blk code and revise to use NULL for ib_post_recv when appropriate - Replace max_sge with max_recv_sge in new blk code net/rds/ib_send.c - Use the net code and revise to use NULL for ib_post_recv when appropriate Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 69c78477590b..9334fbef7bae 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -117,6 +117,9 @@ struct filename;
117 117
118extern void audit_log_session_info(struct audit_buffer *ab); 118extern void audit_log_session_info(struct audit_buffer *ab);
119 119
120#define AUDIT_OFF 0
121#define AUDIT_ON 1
122#define AUDIT_LOCKED 2
120#ifdef CONFIG_AUDIT 123#ifdef CONFIG_AUDIT
121/* These are defined in audit.c */ 124/* These are defined in audit.c */
122 /* Public API */ 125 /* Public API */
@@ -202,7 +205,7 @@ static inline int audit_log_task_context(struct audit_buffer *ab)
202static inline void audit_log_task_info(struct audit_buffer *ab, 205static inline void audit_log_task_info(struct audit_buffer *ab,
203 struct task_struct *tsk) 206 struct task_struct *tsk)
204{ } 207{ }
205#define audit_enabled 0 208#define audit_enabled AUDIT_OFF
206#endif /* CONFIG_AUDIT */ 209#endif /* CONFIG_AUDIT */
207 210
208#ifdef CONFIG_AUDIT_COMPAT_GENERIC 211#ifdef CONFIG_AUDIT_COMPAT_GENERIC