Date: Thu, 3 Apr 1997 07:51:36 -0800 (PST) From: paul@kryten.woc.atinc.com To: freebsd-gnats-submit@freebsd.org Subject: kern/3186: sys call shm_get() broken in 2.2.1-RELEASE, but OK in 2.1.0-RELEASE Message-ID: <199704031551.HAA28856@freefall.freebsd.org> Resent-Message-ID: <199704031600.IAA29363@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3186 >Category: kern >Synopsis: sys call shm_get() broken in 2.2.1-RELEASE, but OK in 2.1.0-RELEASE >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 3 08:00:01 PST 1997 >Last-Modified: >Originator: Paul Berner >Organization: A&T, Inc. >Release: 2.2.1-RELEASE & 2.1.0-RELEASE >Environment: FreeBSD kiawah.woc.Atinc.COM 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Tue Mar 25 15:12:02 GMT 1997 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: Call to shm_get() produces: Bad system call (core dumped) >How-To-Repeat: make this program: #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> int main() { key_t key = 6575; int area_a_id; #ifndef SHM_R #define SHM_R 000400 #define SHM_W 000200 #endif /* set up shared memory regions */ area_a_id = shmget(key, 64*sizeof(double), IPC_CREAT|SHM_R|SHM_W|(SHM_R>>3)|(SHM_R>>6)); return 0; } /* works fine in 2.1.0-R, but cores in 2.2.1-R */ >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704031551.HAA28856>