From owner-freebsd-hackers Wed Jan 29 06:58:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA03629 for hackers-outgoing; Wed, 29 Jan 1997 06:58:48 -0800 (PST) Received: from quasi.bis.co.il (quasi.bis.co.il [192.115.114.40]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA03621 for ; Wed, 29 Jan 1997 06:58:42 -0800 (PST) Received: from quasi.bis.co.il (localhost [127.0.0.1]) by quasi.bis.co.il (8.8.3/8.8.3) with SMTP id RAA05762; Wed, 29 Jan 1997 17:01:00 GMT Message-ID: <32EF824C.167EB0E7@bis.co.il> Date: Wed, 29 Jan 1997 17:01:00 +0000 From: Meir Dukhan Organization: Bis Software Systems Ltd X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.6-RELEASE i386) MIME-Version: 1.0 To: Julian Elischer CC: hackers@freebsd.org, mdukhan@quasi.bis.co.il Subject: Re: Sys V IPC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks for your answer Julian, and let me ask/precise a little bit, Julian Elischer wrote: > > Meir Dukhan wrote: > > > > Hi > >` > > Ok, I know BSD ppl may not like it, but anyway I have few questions I > > think some of you know the answers. > > > > Sys V ipc (at least the calls related to shared mem and messages queues) > > seems to _not_ be implemented as system calls. > > > > Indeed, ktrace/kdump wont records them as system calls (even if the > > manpage for shmat is in section 2 ;=) > they are system calls > you need to enable them in your kernel config. > they are not compiled in to GENERIC. That's was not what I wanted to say. First my GENERIC file has the SYSVSHM, SYSVSEM, SYSVMSG options. and second I work with a kernel that has, too, these options enabled. By saying that they are not sys call, I mean that maybe they are not implemented as system calls, because ktrace doesn't record them . Another possibility is that ktrace is not aware that msgrcv/msgsnd, shmget/shmat and freinds _are_ system calls. I don't know how ktrace works, maybe it make its jobs by looking at a table of existing system calls, instead of checking if a call is actually a system call or a mere function. > > > > - a process can have no more than 8 shared mem segments > > (how can I change this ?) > > compile in a bigger number? Where can I specify this number ? Can one confirm/infirm ? Tia -- Meir ps: cc to mdukhan@bis.co.il, I'm not on hackers@freebsd.org, Thanks to all in advance.