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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
SPDX-FileCopyrightText: 2019-2020 Alyssa Ross <hi@alyssa.is>
SPDX-License-Identifier: GPL-2.0-or-later

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.

Some utility files (.gitignore, etc.) are licensed under the CC0
1.0 Universal Public Domain Dedication.
debug log:

solving 5a62791 ...
found 5a62791 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).