tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syscall stub



On Thu, Sep 25, 2014 at 08:43:04AM +0000, Emmanuel Dreyfus wrote:
> How can I do it? My problem is that the system call and the libc
> function have the same name. Do I need to rename the system call,
> to something like _posix_fallocate ? Or is there a trick to do
> it otherwise.

Replaying to myself: copy sys/pread.c and carefully substitute 
strings. The build seems extremely picky about what is in the
file in ordre to acheive the proper result.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index