mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-23 06:46:02 +00:00
feat(native): guests see the session hostname from uname and gethostname
This commit is contained in:
1 parent
bde8c9fbed
commit
0c5219b225
6 files changed
+43
-2
No files matched your search
@@ -32,6 +32,8 @@ struct ddnatv_bind {
|
||||
static struct ddnatv_bind *g_binds = NULL;
|
||||
static int g_nbinds = 0;
|
||||
static char *g_binds_raw = NULL;
|
||||
// The session's host name (DDNATV_HOSTNAME), what proot put in uname(): Android's kernel says "localhost"
|
||||
static char g_hostname[65];
|
||||
|
||||
static int ddnatv_bind_longer_first(const void *a, const void *b) {
|
||||
const struct ddnatv_bind *x = a, *y = b;
|
||||
|
||||
Reference in new issue
Block a user