Re: passing function ptrs to syscalls

2001-07-24 Thread Terry Lambert
Evan Sarmiento wrote: > I'm writing a system call which requires a function pointer as an argument, > In syscalls.master, it is specified as such: > > 366 STD BSD { int prfw_inject_fp(int sl, int synum, pid_t pi > d, int (*fp)() ); } > > However, when I try compiling the kernel, sysp

RE: passing function ptrs to syscalls

2001-07-23 Thread John Baldwin
On 23-Jul-01 Evan Sarmiento wrote: > Hello, > > I'm writing a system call which requires a function pointer as an argument, > In syscalls.master, it is specified as such: The kernel has no business executing untrusted code from userland. Use a kernel module to add code to the kernel. Either th

passing function ptrs to syscalls

2001-07-23 Thread Evan Sarmiento
Hello, I'm writing a system call which requires a function pointer as an argument, In syscalls.master, it is specified as such: 366 STD BSD { int prfw_inject_fp(int sl, int synum, pid_t pi d, int (*fp)() ); } However, when I try compiling the kernel, sysproto complains In file incl