On 5/11/13, Alfred Perlstein wrote:
> On 5/11/13 1:23 AM, Karl Dreger wrote:
>>
>> I am feeling rather stupid at the moment, but I can't find the assembler
>>
>> files that you are referring to. Do you mean that every syscall under
>>
>> sys/kern/*.c has a corresponding .S file in src/lib/libc/?
>
On 5/11/13 1:23 AM, Karl Dreger wrote:
I am feeling rather stupid at the moment, but I can't find the assembler
files that you are referring to. Do you mean that every syscall under
sys/kern/*.c has a corresponding .S file in src/lib/libc/?
Nope, the .S files are under the object directory:
d.org" ; Alfred
Perlstein
Gesendet: 16:58 Samstag, 11.Mai 2013
Betreff: Re: syscall to userland interface
On Sat, May 11, 2013 at 09:23:31AM +0100, Karl Dreger wrote:
> What my question boils down to is this: when running fork and friends
>
> from userland they are invoked as:
>
&g
On Sat, May 11, 2013 at 09:23:31AM +0100, Karl Dreger wrote:
> What my question boils down to is this: when running fork and friends
>
> from userland they are invoked as:
>
> fork();, open();, read();, close(); ...
>
>
> but are defined as:
>
> sys_fork(), sys_open(), sys_read(), sys_close()
quot;freebsd-hackers@freebsd.org"
Gesendet: 3:36 Samstag, 11.Mai 2013
Betreff: Re: syscall to userland interface
On 5/10/13 12:31 PM, Karl Dreger wrote:
> Hello,
> I have been taking a look at a few syscalls in /usr/src/sys/kern/ and
> always find that in their actuall c definition t
On 5/10/13 12:31 PM, Karl Dreger wrote:
Hello,
I have been taking a look at a few syscalls in /usr/src/sys/kern/ and
always find that in their actuall c definition the function names are
preprended by a sys_. Take for example the fork system call which
is found in /usr/src/sys/kern/kern_fork.c
i
Hello,
I have been taking a look at a few syscalls in /usr/src/sys/kern/ and
always find that in their actuall c definition the function names are
preprended by a sys_. Take for example the fork system call which
is found in /usr/src/sys/kern/kern_fork.c
int
sys_fork(struct thread *td, struct fork
7 matches
Mail list logo