Hi,
I would like to add a new syscall in my kernel which execute an execve in a
forked process.
I call the fork1 function and hook inside it to execute my execve.
Has anyone an example of calling execve from kernel ?
I have some problem to pass the arguments ...
Thanks
To Unsubscribe: send mai
Here is my problem ...
I have got a process which syscall myown function.
This function forks the process in a child which has to execve.
My method :
- I hook in fork to insert the execve
- before calling the execve I have to switch context.
I use mi_switch and cpu_switch.
But ! My parent process
Hi
I coded a syscall which fork inside kernel and launch a new process.
The unique problem I got is when the father is waiting the child process
and received a sigkill signal. It freezes the system like a while (1) in
kernel mode.
Note that a sigkill to the child process does not matter at all.
It
3 matches
Mail list logo