patches and low-level development discussion
 help / color / mirror / code / Atom feed
5f19becf7e0a43a01ce849acc4b73ba994d17413 blob 922 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
mktuntap
--------

Creates a TUN or TAP device on a specified file descriptor, sets an
environment variable indicating its name, and then execs into the rest
of argv.

Unlike programs like tunctl, since mktuntap execs into the next
program with the created device available on a file descriptor, the
devices it creates don't need to have the IFF_PERSIST flag set, and
will therefore automatically be destroyed by the kernel when the file
descriptor is closed.  It works very well with, but is in no way
coupled to, the execline scripting language.

mktuntap makes use of example code from the Linux kernel, and as such is
licensed under (only) version 2 of the GNU General Public License as
published by the Free Software Foundation.

Other source files are licensed under the GNU General Public License
as published by the Free Software Foundation, either version 2 of the
License, or (at your option) any later version.
debug log:

solving 5f19bec ...
found 5f19bec in https://spectrum-os.org/git/mktuntap

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).