Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 17:10:29 +0200
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        Ravi Krishna <ravikrish@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD system call implementation
Message-ID:  <20041215151029.GA2832@pm514-9.comsys.ntu-kpi.kiev.ua>
In-Reply-To: <6669fd8604121506494c5afe65@mail.gmail.com>
References:  <6669fd8604121506494c5afe65@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 15, 2004 at 08:19:05PM +0530, Ravi Krishna wrote:

> My question is why we store the p->p_sysent->sv_table
> for each process. What is the reason for keeping this per process?
> Are there some situations where two processes can have different system calls
> available?

Processes can have different p_sysent, because the kernel supports
different ABIs.  sv_entry (pointer to some system call table) is
only one part, read comments in sys/sysent.h file for sysentvec
structure.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215151029.GA2832>