[lkml]   [2000]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Calling userspace apps from within kernel
On Tue Sep 26, 2000 at 03:18:54PM +1000, Daniel Walls wrote:
> Hi,
> I was wondering if it is possible to execute a userspace application from
> within the kernel (particularly binfmt_elf.c)...
> something along the lines of execl()...
> If so, what is the name of the function used to do this?

static char * envp[MAX_INIT_ENVS+2] = { "HOME=/", "TERM=linux", NULL, };

Just because you can do something does not, however,
make it a good idea...


Erik B. Andersen email:
--This message was written using 73% post-consumer electrons--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.031 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site