Re: Auto-generate module-loadable syscall table?

2015-05-09 Thread David Holland
On Sat, May 09, 2015 at 12:25:09PM +0800, Paul Goyette wrote: Is there some reason why kern/Makefile isn't used to create the table at the same time as creating the other various syscall-related sources? All kinds of things about syscalls should be auto-generated that aren't.

Auto-generate module-loadable syscall table?

2015-05-08 Thread Paul Goyette
I've just noticed that the table in sys/kern/kern_syscall.c is not generated from the kern/syscalls.master file. Is there some reason why kern/Makefile isn't used to create the table at the same time as creating the other various syscall-related sources?

Re: Auto-generate module-loadable syscall table?

2015-05-08 Thread Paul Goyette
On Fri, 8 May 2015, Christos Zoulas wrote: | Well, there's already a MODULAR keyword for kern/makesyscalls.sh so it | doesn't seem to be so difficult to possibly add one more parameter to | those lines (to identify the name of the containing module). Then the | MODULAR syscalls could all be

Re: Auto-generate module-loadable syscall table?

2015-05-08 Thread Paul Goyette
On Sat, 9 May 2015, David Holland wrote: On Fri, May 08, 2015 at 06:00:05PM +0800, Paul Goyette wrote: I've just noticed that the table in sys/kern/kern_syscall.c is not generated from the kern/syscalls.master file. Is there some reason why kern/Makefile isn't used to create the table at

Re: Auto-generate module-loadable syscall table?

2015-05-08 Thread David Holland
On Fri, May 08, 2015 at 06:00:05PM +0800, Paul Goyette wrote: I've just noticed that the table in sys/kern/kern_syscall.c is not generated from the kern/syscalls.master file. Is there some reason why kern/Makefile isn't used to create the table at the same time as creating the other

Re: Auto-generate module-loadable syscall table?

2015-05-08 Thread Christos Zoulas
In article pine.neb.4.64.1505081756290.25...@vps1.whooppee.com, Paul Goyette p...@whooppee.com wrote: I've just noticed that the table in sys/kern/kern_syscall.c is not generated from the kern/syscalls.master file. Is there some reason why kern/Makefile isn't used to create the table at the

Re: Auto-generate module-loadable syscall table?

2015-05-08 Thread Paul Goyette
On Fri, 8 May 2015, Christos Zoulas wrote: In article pine.neb.4.64.1505081756290.25...@vps1.whooppee.com, Paul Goyette p...@whooppee.com wrote: I've just noticed that the table in sys/kern/kern_syscall.c is not generated from the kern/syscalls.master file. Is there some reason why