Do not allocate my_type (in general, big data structures)
on kernel stack (e.g, use malloc(9)).
Adam wrote:
Hi, I am writing a custom system call that needs to transfer 16kb of
data from the kernel to userspace. I am transferring the data out of
the kernel by using copyout. This seems to wor
On Fri, Apr 25, 2008 at 9:59 AM, Adam <[EMAIL PROTECTED]> wrote:
> Hi, I am writing a custom system call that needs to transfer 16kb of data
> from the kernel to userspace. I am transferring the data out of the kernel
> by using copyout. This seems to work for a small struct of data < 4k.
>
> int
On Fri, Apr 25, 2008 at 09:59:55AM -0400, Adam wrote:
> Hi, I am writing a custom system call that needs to transfer 16kb of data
> from the kernel to userspace. I am transferring the data out of the kernel
> by using copyout. This seems to work for a small struct of data < 4k.
You are not allo
Hi, I am writing a custom system call that needs to transfer 16kb of
data from the kernel to userspace. I am transferring the data out of
the kernel by using copyout. This seems to work for a small struct of
data < 4k.
int my_system_call(struct thread *td, struct my_system_call_args *uap)
4 matches
Mail list logo