[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH 8/8] wall: new applet
From:       Peter Korsgaard <jacmet () uclibc ! org>
Date:       2009-10-27 16:21:12
Message-ID: 87ocnsdczr.fsf () macbook ! be ! 48ers ! dk
[Download RAW message or body]

>>>>> "Denys" == Denys Vlasenko <vda.linux@googlemail.com> writes:

Hi,

 Denys> Yes, you can do

 Denys> int main()
 Denys> {
 Denys>         static char *argv[1] = { 0 };
 Denys>         execvp("busybox", argv);
 Denys>         return 0;
 Denys> }

 Denys> but this way busybox wouldn't even call wall_main, it will segfault earlier.

Unless wall is the only applet you have enabled.

-- 
Bye, Peter Korsgaard
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic