Skip to content

Commit

Permalink
fixup! fixup! squash! Consistently use uid_t/gid_t for credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
kheaactua committed Jan 31, 2025
1 parent 856700a commit b8bbeaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion implementation/security/src/policy_manager_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ policy_manager_impl::is_offer_allowed(const vsomeip_sec_client_t *_sec_client,
if (!policy_enabled_)
return true;

gid_t its_uid(ANY_UID), its_gid(ANY_GID);
uid_t its_uid(ANY_UID);
gid_t its_gid(ANY_GID);
if (_sec_client) {
if (_sec_client->port == VSOMEIP_SEC_PORT_UNUSED) {
its_uid = _sec_client->user;
Expand Down

0 comments on commit b8bbeaa

Please sign in to comment.