Skip to content

Commit

Permalink
squash! Consistently use uid_t/gid_t for credentials
Browse files Browse the repository at this point in the history
Applied similar changes to Android's internal_android.hpp
  • Loading branch information
kheaactua committed Jan 30, 2025
1 parent 9c88e15 commit bc84683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions implementation/configuration/include/internal_android.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ inline constexpr std::uint32_t MAX_RECONNECTS_UNLIMITED = std::numeric_limits<st
inline constexpr std::uint32_t MAX_RECONNECTS_LOCAL_UDS = 13;
inline constexpr std::uint32_t MAX_RECONNECTS_LOCAL_TCP = 5;

inline constexpr std::uint32_t ANY_UID = 0xFFFFFFFF;
inline constexpr std::uint32_t ANY_GID = 0xFFFFFFFF;
inline constexpr uid_t ANY_UID = (std::numeric_limits<uid_t>::max)();
inline constexpr gid_t ANY_GID = (std::numeric_limits<uid_t>::max)();

enum class port_type_e {
PT_OPTIONAL,
Expand Down

0 comments on commit bc84683

Please sign in to comment.