Re: 2.2.x: Secret stack size limit in Driver file-ops??? (Was:are Generic ioctls a good thing?)

2000-11-05 Thread Ingo Oeser
On Sun, Nov 05, 2000 at 01:08:40PM +0100, Bernd Harries wrote: > Is there a limit to the stack size (automatic variables) in > driver methods, esp. ioctl? Yes, there is. It's INIT_TASK_SIZE. See include/linux/sched.h for this. > I was just implementing some generic ioctls where the size field

2.2.x: Secret stack size limit in Driver file-ops??? (Was:are Generic ioctls a good thing?)

2000-11-05 Thread Bernd Harries
Hi kernel hackers, Is there a limit to the stack size (automatic variables) in driver methods, esp. ioctl? I was just implementing some generic ioctls where the size field and cmd field are defined at runtime. For testing I use a kernbuf on the stack. The driver's ioctl interface, which is

2.2.x: Secret stack size limit in Driver file-ops??? (Was:are Generic ioctls a good thing?)

2000-11-05 Thread Bernd Harries
Hi kernel hackers, Is there a limit to the stack size (automatic variables) in driver methods, esp. ioctl? I was just implementing some generic ioctls where the size field and cmd field are defined at runtime. For testing I use a kernbuf on the stack. The driver's ioctl interface, which is