net/netns: add Android implementation, allowing registration of JNI hook

Updates #2102
Updates #1809

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-06-24 12:50:47 -07:00
parent b92e2ebd24
commit 7b8ed1fc09
2 changed files with 66 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux,!android
package netns
import (