News for hackers. Stuff that matters.
Re:PolicyKit: Users with UID greater than INT_MAX can execut... by jabl on Wednesday December 05, 2018 @09:17AM (#18608329)
In POSIX, many functions return -1 to indicate errors. So I guess the value (uid_t) -1 was reserved to avoid confusion. Also some functions (chown()) allow specifying (uid_t) -1 or (gid_) -1 to mark an omitted argument.

See https://en.wikipedia.org/wiki/User_identifier#Special_values

There are no comments on this comment yet.