Menu

#23 allow vtun to run on no-MMU Linux systems without fork() (like blackfin)

None
closed-accepted
Bishop
None
5
2013-07-10
2013-07-04
Andrey Mazo
No

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.

1 Attachments

Related

Patches: #21

Discussion

  • Bishop

    Bishop - 2013-07-05

    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.

     
    • Andrey Mazo

      Andrey Mazo - 2013-07-05

      Thank you!:)
      I hope to see it merged!

       
  • Bishop

    Bishop - 2013-07-07

    committed BRANCH-3_X2

     
  • Bishop

    Bishop - 2013-07-07
    • status: open --> closed
    • assigned_to: Bishop
    • Group: -->
     
  • Bishop

    Bishop - 2013-07-07
    • status: closed --> closed-accepted
     
  • Andrey Mazo

    Andrey Mazo - 2013-07-10

    Thank you!

     

    Last edit: Andrey Mazo 2013-07-10
  • Andrey Mazo

    Andrey Mazo - 2013-07-10

    I've also made small changes to man pages to document no-MMU oddities.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.