From: Matthew Wilcox <willy@ldl.fc.hp.com>
To: parisc-linux@parisc-linux.org
Subject: [parisc-linux] Fix msgctl
Date: Mon, 11 Jun 2001 14:36:30 -0600 [thread overview]
Message-ID: <E159YQI-00030c-00@chrysl> (raw)
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:
reply other threads:[~2001-06-11 20:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E159YQI-00030c-00@chrysl \
--to=willy@ldl.fc.hp.com \
--cc=parisc-linux@parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox