Re: adding a syscall to libc?

2019-06-08 Thread Konstantin Belousov
On Sat, Jun 08, 2019 at 02:57:27AM +, Rick Macklem wrote: > Hi, > > I've started working of a copy_file_range() syscall for FreeBSD. I think I > have the > kernel patched and ready for some testing. > However, I'm confused about what I need to do in src/lib/libc/sys? > - Some syscalls have li

Re: adding a syscall to libc?

2019-06-08 Thread Oliver Pinter
On Saturday, June 8, 2019, Konstantin Belousov wrote: > On Sat, Jun 08, 2019 at 02:57:27AM +, Rick Macklem wrote: > > Hi, > > > > I've started working of a copy_file_range() syscall for FreeBSD. I think > I have the > > kernel patched and ready for some testing. > > However, I'm confused abou

Re: adding a syscall to libc?

2019-06-08 Thread Rick Macklem
Konstantin Belousov wrote: >On Sat, Jun 08, 2019 at 02:57:27AM +, Rick Macklem wrote: >> Hi, >> First off, thanks Kostik for the fine explanation. I agree with Oliver that it should be captured somewhere like the wiki. I'm no wiki guy, so hopefully someone else will do this? >> I've started w