allow vtun to run on no-MMU Linux systems without fork() (like blackfin)
Status: Inactive
Brought to you by:
mtbishop
I've tried to run vtun-3.0.3 for blackfin board running Linux with uClibc-based userspace.
Because blackfin is no-MMU system, it lacks fork() system call.
The patch replaces fork() with vfork() where possible or just disables some functionality for simplicity.
I successfully managed to run vtun as a client on blackfin using vtund -f vtund.conf -n <session> <IP-address>
.
Disabled functionality includes standalone server, up and down commands.
The patch should be applied after the patch from [patches:#21] or a manual update of config.h.in is required.
This is a great patch -- it even has a configure piece! I'd like to see it in 304 but I don't know a schedule for that.
Thank you!:)
I hope to see it merged!
committed BRANCH-3_X2
Thank you!
Last edit: Andrey Mazo 2013-07-10
I've also made small changes to man pages to document no-MMU oddities.