This patch adds the sender uid check for system users.
If the uid is less than minimum regular uid, AMD doesn't check
whether the uid is equal to the sender uid or not.
Change-Id: I9193c3429d216b323b9983cb76dfff7ed5d2e280
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
continue;
uid_t uid = client->GetUid();
- if (uid >= REGULAR_UID_MIN && uid != sender_uid)
+ if (uid >= REGULAR_UID_MIN && sender_uid >= REGULAR_UID_MIN &&
+ uid != sender_uid)
continue;
queue_.Push(AppComMessage(pid, uid, envelope));