diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-14 20:37:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-14 20:37:26 -0400 |
commit | cc73fee0bae2d66594d1fa2df92bbd783aa98e04 (patch) | |
tree | d1e7fe7f76cae4cbc941fc3bb43a46d237a9df77 /include/linux/audit.h | |
parent | e7cdb60fd28b252f1c15a0e50f79a01906124915 (diff) | |
parent | aaed2dd8a31359e5767ee099ecbb078d55be4d29 (diff) |
Merge branch 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull ipc compat cleanup and 64-bit time_t from Al Viro:
"IPC copyin/copyout sanitizing, including 64bit time_t work from Deepa
Dinamani"
* 'work.ipc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
utimes: Make utimes y2038 safe
ipc: shm: Make shmid_kernel timestamps y2038 safe
ipc: sem: Make sem_array timestamps y2038 safe
ipc: msg: Make msg_queue timestamps y2038 safe
ipc: mqueue: Replace timespec with timespec64
ipc: Make sys_semtimedop() y2038 safe
get rid of SYSVIPC_COMPAT on ia64
semtimedop(): move compat to native
shmat(2): move compat to native
msgrcv(2), msgsnd(2): move compat to native
ipc(2): move compat to native
ipc: make use of compat ipc_perm helpers
semctl(): move compat to native
semctl(): separate all layout-dependent copyin/copyout
msgctl(): move compat to native
msgctl(): split the actual work from copyin/copyout
ipc: move compat shmctl to native
shmctl: split the work from copyin/copyout
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 2150bdccfbab..74d4d4e8e3db 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -351,7 +351,7 @@ extern int __audit_socketcall(int nargs, unsigned long *args); | |||
351 | extern int __audit_sockaddr(int len, void *addr); | 351 | extern int __audit_sockaddr(int len, void *addr); |
352 | extern void __audit_fd_pair(int fd1, int fd2); | 352 | extern void __audit_fd_pair(int fd1, int fd2); |
353 | extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); | 353 | extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); |
354 | extern void __audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout); | 354 | extern void __audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec64 *abs_timeout); |
355 | extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification); | 355 | extern void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification); |
356 | extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat); | 356 | extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat); |
357 | extern int __audit_log_bprm_fcaps(struct linux_binprm *bprm, | 357 | extern int __audit_log_bprm_fcaps(struct linux_binprm *bprm, |
@@ -412,7 +412,7 @@ static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) | |||
412 | if (unlikely(!audit_dummy_context())) | 412 | if (unlikely(!audit_dummy_context())) |
413 | __audit_mq_open(oflag, mode, attr); | 413 | __audit_mq_open(oflag, mode, attr); |
414 | } | 414 | } |
415 | static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout) | 415 | static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec64 *abs_timeout) |
416 | { | 416 | { |
417 | if (unlikely(!audit_dummy_context())) | 417 | if (unlikely(!audit_dummy_context())) |
418 | __audit_mq_sendrecv(mqdes, msg_len, msg_prio, abs_timeout); | 418 | __audit_mq_sendrecv(mqdes, msg_len, msg_prio, abs_timeout); |
@@ -549,7 +549,7 @@ static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) | |||
549 | { } | 549 | { } |
550 | static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, | 550 | static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, |
551 | unsigned int msg_prio, | 551 | unsigned int msg_prio, |
552 | const struct timespec *abs_timeout) | 552 | const struct timespec64 *abs_timeout) |
553 | { } | 553 | { } |
554 | static inline void audit_mq_notify(mqd_t mqdes, | 554 | static inline void audit_mq_notify(mqd_t mqdes, |
555 | const struct sigevent *notification) | 555 | const struct sigevent *notification) |