Fix comments

This commit is contained in:
Theodor S. Midtlien
2026-09-18 14:19:59 +02:00
parent 3d6591b053
commit 5d9e791626
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -28,8 +28,7 @@ const (
ErrorMetaCommand = "command"
// ErrorReasonSessionHeld identifies a refusal caused by another user's live
// connection. Nothing the caller can run satisfies it, since the session is
// not theirs to end, so the detail carries no command.
// connection.
ErrorReasonSessionHeld = "SESSION_HELD"
// ErrorReasonNotProfileOwner identifies a refusal caused by the profile
+1 -1
View File
@@ -569,7 +569,7 @@ func (s *ServiceManager) profilesDirPath() string {
return filepath.Join(DefaultConfigPathDir, DefaultProfilePathDir)
}
// loadAllProfiles returns every profile acessible by a given kernal attested
// loadAllProfiles returns every profile accessible by a given kernel attested
// user. The returned slice is sorted by ID for a stable display order.
//
// Each Profile is fully populated: ID is the filename stem, Name comes
+2 -2
View File
@@ -829,8 +829,8 @@ message ClaimProfileRequest {
// handle is an exact ID, a unique ID prefix, or a unique display name.
// Resolution happens server-side.
string handle = 1;
// owner is the principal to record, "uid:1000" or "sid:S-1-5-21-...".
// The daemon validates its shape and does not require the account to exist.
// owner is either principal to record ("uid:1000" or "sid:S-1-5-21-...") or
// an account the daemon resolves.
string owner = 2;
}