* [parisc-linux] Fix msgctl
@ 2001-06-11 20:36 Matthew Wilcox
0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2001-06-11 20:36 UTC (permalink / raw)
To: parisc-linux
The switch statement fails to match any cases when IPC_64 is set,
so we must clear it. This fixes the problem fakeroot was having,
as it could allocate new sysv msg queues, but never free them,
and we're limited to 16 queues.
Index: Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/Makefile,v
retrieving revision 1.50
diff -u -p -r1.50 Makefile
--- Makefile 2001/06/12 01:21:38 1.50
+++ Makefile 2001/06/12 02:33:52
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 0
-EXTRAVERSION = -pa17
+EXTRAVERSION = -pa18
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
Index: arch/parisc/kernel/sys_parisc32.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/sys_parisc32.c,v
retrieving revision 1.16
diff -u -p -r1.16 sys_parisc32.c
--- sys_parisc32.c 2001/06/08 13:58:08 1.16
+++ sys_parisc32.c 2001/06/12 02:33:53
@@ -2681,7 +2681,7 @@ asmlinkage long sys32_msgctl (int msqid,
{
int err = -EINVAL;
- switch (cmd) {
+ switch (cmd &~ IPC_64) {
case IPC_INFO:
case MSG_INFO:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-11 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-11 20:36 [parisc-linux] Fix msgctl Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox