Hi, I try to implement a minimun set of IOCTL in kernel, for the amiga graphic chipset (grf_cc.c). Can I do ioctl() and malloc() / free() inside the kernel ? Another problem is ioctl() call get an error at compile time (implicit declaration of function ioctl()), but I already included <sys/ioctl.h>. How to do such things ? Thanks.