[kernel] bug#107: marked as done (shmctl returns ENOSYS)

PA-RISC Linux bug Tracking System daniel_frazier@hp.com
Mon, 23 Apr 2001 23:18:01 -0600 (MDT)


X-PA-RISC Linux-PR-Message: closed 107

Your message dated Mon, 23 Apr 2001 23:05:01 -0600
with message-id <20010423230501.A1166@zumpano.fc.hp.com>
and subject line glibc fixed
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

dann frazier
(administrator, PA-RISC Linux bugs database)

--------------------------------------
Received: (at submit) by bugs.parisc-linux.org; 17 Apr 2001 06:54:02 +0000
>From bod@compusol.com.au  Tue Apr 17 00:54:02 2001
Received: from duende.compusol.com.au (compusol.com.au [203.101.1.221])
	by dsl2.external.hp.com (Postfix) with ESMTP id 58AB1482A
	for <submit@bugs.parisc-linux.org>; Tue, 17 Apr 2001 00:54:01 -0600 (MDT)
Received: from bod by duende.compusol.com.au with local (Exim 3.22 #1 (Debian))
	id 14pPM9-0007rz-00
	for <submit@bugs.parisc-linux.org>; Tue, 17 Apr 2001 16:52:57 +1000
Date: Tue, 17 Apr 2001 16:52:57 +1000
From: Brendan O'Dea <bod@debian.org>
To: submit@bugs.parisc-linux.org
Subject: shmctl returns ENOSYS
Message-ID: <20010417165257.A30220@compusol.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.17i
Sender: Brendan O'Dea <bod@compusol.com.au>

Package: kernel
Version: 2.4.0

Linux j5k 2.4.0 #15 Thu Apr 12 19:26:53 MDT 2001 parisc64 unknown

The shmctl in the code below fails with ENOSYS.

    #include <stdlib.h>
    #include <sys/ipc.h>
    #include <sys/shm.h>

    int main()
    {
	int seg;
	struct shmid_ds buf;

	if ((seg = shmget(IPC_PRIVATE, 2000, 0700)) < 0)
	{
	    perror("shmget");
	    return 1;
	}

	if (shmctl(seg, IPC_STAT, &buf) < 0)
	{
	    perror("shmctl");
	    return 1;
	}

	return 0;
    }

Regards,
-- 
Brendan O'Dea                                        bod@compusol.com.au
Compusol Pty. Limited                  (NSW, Australia)  +61 2 9810 3633

---------------------------------------
Received: (at 107-done) by bugs.parisc-linux.org; 24 Apr 2001 05:05:23 +0000
>From willy@ldl.fc.hp.com  Mon Apr 23 23:05:23 2001
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by dsl2.external.hp.com (Postfix) with ESMTP id 4F42B482A
	for <107-done@bugs.parisc-linux.org>; Mon, 23 Apr 2001 23:05:23 -0600 (MDT)
Received: from ldl.fc.hp.com (ldl.fc.hp.com [15.1.50.190])
	by atlrel2.hp.com (Postfix) with ESMTP id EEE00AD2
	for <107-done@bugs.parisc-linux.org>; Tue, 24 Apr 2001 01:05:03 -0400 (EDT)
Received: by ldl.fc.hp.com (Postfix, from userid 22224)
	id B00665AB08; Mon, 23 Apr 2001 23:05:01 -0600 (MDT)
Date: Mon, 23 Apr 2001 23:05:01 -0600
To: 107-done@bugs.parisc-linux.org
Subject: glibc fixed
Message-ID: <20010423230501.A1166@zumpano.fc.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: willy@ldl.fc.hp.com (Matthew Wilcox)


Glibc now always adds | __IPC64 to the call, so the 32-bit syscall
wrappers in the kernel work.