diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-01-10 18:34:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-01-10 18:34:43 +0000 |
commit | ab355d9aa5186937757b20b93f7d52ea3926427a (patch) | |
tree | 202797696b5ede624ce3e0bfeb14e39dc4d5dc5f /nptl/sysdeps/unix/sysv/linux/structsem.sym | |
parent | f6bacb8ef4dfcee39864d6383e3660d8ac267d23 (diff) | |
download | glibc-ab355d9aa5186937757b20b93f7d52ea3926427a.tar.gz glibc-ab355d9aa5186937757b20b93f7d52ea3926427a.tar.xz glibc-ab355d9aa5186937757b20b93f7d52ea3926427a.zip |
* pthread-errnos.sym: Add EOVERFLOW.
* sysdeps/unix/sysv/linux/structsem.sym: Add SEM_VALUE_MAX. * sysdeps/unix/sysv/linux/sem_post.c: Don't overflow value field. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/structsem.sym')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/structsem.sym | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/structsem.sym b/nptl/sysdeps/unix/sysv/linux/structsem.sym index 4f32c68da5..0e2a15f2b5 100644 --- a/nptl/sysdeps/unix/sysv/linux/structsem.sym +++ b/nptl/sysdeps/unix/sysv/linux/structsem.sym @@ -1,3 +1,4 @@ +#include <limits.h> #include <stddef.h> #include <sched.h> #include <bits/pthreadtypes.h> @@ -8,3 +9,4 @@ VALUE offsetof (struct new_sem, value) PRIVATE offsetof (struct new_sem, private) NWAITERS offsetof (struct new_sem, nwaiters) +SEM_VALUE_MAX SEM_VALUE_MAX |