You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In gitlab.freedesktop.org by jrybar on Mar 1, 2023, 12:34
Link to the original issue: https://gitlab.freedesktop.org/polkit/polkit/-/issues/190
Despite posix which doesn't state whether uid_t should be signed,
usual linux configuration uses __U32 (grep -rn "__UID_T_TYPE" /usr/include/bits/).
Proposed fix:
Use preprocessor branch detecting the platform and change definition in struct PolkitUnixProcess accordingly, along with rest of associated code.
This will preserve multiplatformness and also allow high UIDs on linux (where it seems to be more and more required and used).
The text was updated successfully, but these errors were encountered:
In gitlab.freedesktop.org by jrybar on Mar 1, 2023, 12:34
Link to the original issue: https://gitlab.freedesktop.org/polkit/polkit/-/issues/190
Despite posix which doesn't state whether uid_t should be signed,
usual linux configuration uses __U32 (
grep -rn "__UID_T_TYPE" /usr/include/bits/
).Proposed fix:
Use preprocessor branch detecting the platform and change definition in
struct PolkitUnixProcess
accordingly, along with rest of associated code.This will preserve multiplatformness and also allow high UIDs on linux (where it seems to be more and more required and used).
The text was updated successfully, but these errors were encountered: