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/sem.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/sem.h')
-rw-r--r-- | include/linux/sem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h index de2deb8676bd..0083128318f6 100644 --- a/include/linux/sem.h +++ b/include/linux/sem.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <linux/atomic.h> | 4 | #include <linux/atomic.h> |
5 | #include <linux/rcupdate.h> | 5 | #include <linux/rcupdate.h> |
6 | #include <linux/cache.h> | 6 | #include <linux/cache.h> |
7 | #include <linux/time64.h> | ||
7 | #include <uapi/linux/sem.h> | 8 | #include <uapi/linux/sem.h> |
8 | 9 | ||
9 | struct task_struct; | 10 | struct task_struct; |
@@ -30,7 +31,7 @@ struct sem { | |||
30 | /* One sem_array data structure for each set of semaphores in the system. */ | 31 | /* One sem_array data structure for each set of semaphores in the system. */ |
31 | struct sem_array { | 32 | struct sem_array { |
32 | struct kern_ipc_perm sem_perm; /* permissions .. see ipc.h */ | 33 | struct kern_ipc_perm sem_perm; /* permissions .. see ipc.h */ |
33 | time_t sem_ctime; /* create/last semctl() time */ | 34 | time64_t sem_ctime; /* create/last semctl() time */ |
34 | struct list_head pending_alter; /* pending operations */ | 35 | struct list_head pending_alter; /* pending operations */ |
35 | /* that alter the array */ | 36 | /* that alter the array */ |
36 | struct list_head pending_const; /* pending complex operations */ | 37 | struct list_head pending_const; /* pending complex operations */ |