Merge remote-tracking branch 'origin/main' into mdm_integration

# Conflicts:
#	client/android/client.go
This commit is contained in:
riccardom
2026-08-07 11:53:24 +02:00
269 changed files with 15632 additions and 4488 deletions
+5 -1
View File
@@ -92,7 +92,11 @@ func setupServerWithProfile(t *testing.T) (s *Server, ctx context.Context, profN
Username: currUser.Username,
}))
ctx = context.Background()
// The privileged-change gate reads the caller's kernel identity from the
// context, which a real caller gets from the daemon's transport credentials.
// This test drives the handler directly, so it stands in for a root caller;
// without an identity the gate would (correctly) refuse the SSH fields.
ctx = privilegedTestCtx()
s = New(ctx, "console", "", false, false, false, false)
return s, ctx, profName, currUser.Username, cfgPath
}