projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
report that posix_spawn is supported in unistd.h and sysconf
[musl]
/
src
/
ipc
/
shmctl.c
diff --git
a/src/ipc/shmctl.c
b/src/ipc/shmctl.c
index
ae6ce69
..
e2879f2
100644
(file)
--- a/
src/ipc/shmctl.c
+++ b/
src/ipc/shmctl.c
@@
-5,8
+5,8
@@
int shmctl(int id, int cmd, struct shmid_ds *buf)
{
#ifdef SYS_shmctl
int shmctl(int id, int cmd, struct shmid_ds *buf)
{
#ifdef SYS_shmctl
- return syscall(SYS_shmctl, id, cmd | IPC_
MODERN
, buf);
+ return syscall(SYS_shmctl, id, cmd | IPC_
64
, buf);
#else
#else
- return syscall(SYS_ipc, IPCOP_shmctl, id, cmd | IPC_
MODERN
, 0, buf, 0);
+ return syscall(SYS_ipc, IPCOP_shmctl, id, cmd | IPC_
64
, 0, buf, 0);
#endif
}
#endif
}