Reyk Floeter <[email protected]> wrote:

>On Wed, Nov 28, 2012 at 10:42 PM, Mark Kettenis
><[email protected]> wrote:
>> But currently /dev/tunN is usable from any programming language that
>> that can do reads and writes.  With Reyk's changes you need to do an
>> ioctl even for basic usage, which is at best quirky in languages
>other
>> than C/C++.  That feels like a step backward to me.
>
>OK, I didn't think about VPN services written in node.js...
>
>I'm just kidding, but can you give me any examples of programs using
>tun that are written in an arbitrary language other than C/C++?

I use(d) to use shell redirection of type "su alexander -c qemu ... 
3<>/dev/tun2" to let root open the tun device but run qemu as unpriv user.

Reply via email to