- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I ported pppd from busybox on the Nios2. Actually, I just did two things : - add the -Wl,-elf2flt linker flags to convert the binary file - changed calls to fork() by vfork() It seems everything goes right, but I wonder if it is authorized to use vfork() instead of fork() ? Do I risk anything by doing this ? Do I have to expect pppd to crash, or is it completely safe ? Thanks for any comments, Regards PodLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You aren't supposed to change all of hte calls manually in the source code.. you can add a compile flag -Dfork=vfork ... or something like that (look at the compile for busybox). That will automatically change them for you. But it should be safe doing this, in most instances..
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page