aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardKitC (follow)
Commit message (Collapse)AuthorAgeFilesLines
* App: bump copyrightJason A. Donenfeld2023-02-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply MIT more consistentlyJason A. Donenfeld2022-11-173-3/+3
| | | | | | People keep asking. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: bump copyright yearJason A. Donenfeld2021-06-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Kit: Adapter: use more reliable utun detection techniqueJason A. Donenfeld2021-06-161-0/+15
| | | | | | | | | | | | | | | Rather than hoping that the AF_SYSTEM fd is of type utun, and then calling "2" on it to get the name -- which could be defined as something else for a different AF_SYSTEM socket type -- instead simply query the AF_SYSTEM control socket ID with getpeername. This has one catch, which is that the ID is dynamically allocated, so we resolve it using the qualified name. Normally we'd make a new AF_SYSTEM socket for this, but since that's not allowed in the sandbox, we reuse the AF_SYSTEM socket that we're checking. At this point in the flow, we know that it's a proper AF_SYSTEM one, based on the first sockaddr member; we just don't know that it's a utun variety. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump year in headerJason A. Donenfeld2020-12-041-1/+1
| | | | | | A bit overdue, but better late than never. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardKit: Set publicHeadersPath = "." to flatten public headers structureAndrej Mihajlov2020-12-032-3/+3
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* WireGuardKit: Fix module map for WireGuardKitCAndrej Mihajlov2020-12-031-1/+1
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* Move all source files to `Sources/` and rename WireGuardKit targetsAndrej Mihajlov2020-12-036-0/+342
Signed-off-by: Andrej Mihajlov <and@mullvad.net>