UserId class final
A user id that names one real user: never one the kernel uses to say it does not know the user.
parse refuses:
- 65534, the overflow uid Linux reports for a user unmapped in the
reader's user namespace, and Linux's
nobody; - 4294967294, macOS's
nobody; - 4294967295,
(uid_t)-1, which Linux reports for a peer with no credentials; - anything outside
uid_t's 32 bits, which includes -2 and -1, the signed forms of the two above that tools such as macOS'sid -u nobodyprint.
So none of them can be in an allow list built from UserIds.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override