|
@@ -220,7 +220,7 @@ extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
|
|
|
extern int __audit_log_bprm_fcaps(struct linux_binprm *bprm,
|
|
|
const struct cred *new,
|
|
|
const struct cred *old);
|
|
|
-extern void __audit_log_capset(pid_t pid, const struct cred *new, const struct cred *old);
|
|
|
+extern void __audit_log_capset(const struct cred *new, const struct cred *old);
|
|
|
extern void __audit_mmap_fd(int fd, int flags);
|
|
|
|
|
|
static inline void audit_ipc_obj(struct kern_ipc_perm *ipcp)
|
|
@@ -285,11 +285,11 @@ static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline void audit_log_capset(pid_t pid, const struct cred *new,
|
|
|
+static inline void audit_log_capset(const struct cred *new,
|
|
|
const struct cred *old)
|
|
|
{
|
|
|
if (unlikely(!audit_dummy_context()))
|
|
|
- __audit_log_capset(pid, new, old);
|
|
|
+ __audit_log_capset(new, old);
|
|
|
}
|
|
|
|
|
|
static inline void audit_mmap_fd(int fd, int flags)
|
|
@@ -397,8 +397,8 @@ static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm,
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
-static inline void audit_log_capset(pid_t pid, const struct cred *new,
|
|
|
- const struct cred *old)
|
|
|
+static inline void audit_log_capset(const struct cred *new,
|
|
|
+ const struct cred *old)
|
|
|
{ }
|
|
|
static inline void audit_mmap_fd(int fd, int flags)
|
|
|
{ }
|