|
@@ -474,7 +474,7 @@ extern void audit_socketcall(int nargs, unsigned long *args);
|
|
extern int audit_sockaddr(int len, void *addr);
|
|
extern int audit_sockaddr(int len, void *addr);
|
|
extern void __audit_fd_pair(int fd1, int fd2);
|
|
extern void __audit_fd_pair(int fd1, int fd2);
|
|
extern int audit_set_macxattr(const char *name);
|
|
extern int audit_set_macxattr(const char *name);
|
|
-extern void __audit_mq_open(int oflag, mode_t mode, struct mq_attr *attr);
|
|
|
|
|
|
+extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
|
|
extern void __audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout);
|
|
extern void __audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout);
|
|
extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification);
|
|
extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification);
|
|
extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
|
|
extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
|
|
@@ -499,7 +499,7 @@ static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid
|
|
if (unlikely(!audit_dummy_context()))
|
|
if (unlikely(!audit_dummy_context()))
|
|
__audit_ipc_set_perm(qbytes, uid, gid, mode);
|
|
__audit_ipc_set_perm(qbytes, uid, gid, mode);
|
|
}
|
|
}
|
|
-static inline void audit_mq_open(int oflag, mode_t mode, struct mq_attr *attr)
|
|
|
|
|
|
+static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr)
|
|
{
|
|
{
|
|
if (unlikely(!audit_dummy_context()))
|
|
if (unlikely(!audit_dummy_context()))
|
|
__audit_mq_open(oflag, mode, attr);
|
|
__audit_mq_open(oflag, mode, attr);
|