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
Showing the changes to include/linux/compat.h (1 of 19 files). Show all
Unified · Split
| @@ -171,15 +171,6 @@ extern int get_compat_itimerspec64(struct itimerspec64 *its, · 170 unmodified lines | |||
| 171 | extern int put_compat_itimerspec64(const struct itimerspec64 *its, | 171 | extern int put_compat_itimerspec64(const struct itimerspec64 *its, |
| 172 | struct compat_itimerspec __user *uits); | 172 | struct compat_itimerspec __user *uits); |
| 173 | 173 | ||
| 174 | /* | ||
| 175 | * This function convert a timespec if necessary and returns a *user | ||
| 176 | * space* pointer. If no conversion is necessary, it returns the | ||
| 177 | * initial pointer. NULL is a legitimate argument and will always | ||
| 178 | * output NULL. | ||
| 179 | */ | ||
| 180 | extern int compat_convert_timespec(struct timespec __user **, | ||
| 181 | const void __user *); | ||
| 182 | |||
| 183 | struct compat_iovec { | 174 | struct compat_iovec { |
| 184 | compat_uptr_t iov_base; | 175 | compat_uptr_t iov_base; |
| 185 | compat_size_t iov_len; | 176 | compat_size_t iov_len; |