After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755945 - tracker: detect uid from /proc/pid
tracker: detect uid from /proc/pid
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2015-10-01 15:08 UTC by Andres Gomez
Modified: 2015-10-06 21:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker: detect uid from /proc/pid (2.00 KB, patch)
2015-10-01 15:08 UTC, Andres Gomez
accepted-commit_now Details | Review

Description Andres Gomez 2015-10-01 15:08:15 UTC
Owner UID of the /proc/[pid]/cmdline could be different than process real UID
while /proc/[pid] owner is expected to be equal.
Comment 1 Andres Gomez 2015-10-01 15:08:19 UTC
Created attachment 312495 [details] [review]
tracker: detect uid from /proc/pid

Owner UID of the /proc/[pid]/cmdline could be different than process real UID
while /proc/[pid] owner is expected to be equal.

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
Comment 2 Martyn Russell 2015-10-06 19:21:28 UTC
Review of attachment 312495 [details] [review]:

Looks good to me, thanks for the patch Denis! Please go ahead and commit. If you need to, I can.
Comment 3 Andres Gomez 2015-10-06 21:04:55 UTC
Attachment 312495 [details] pushed as 6d942b0 - tracker: detect uid from /proc/pid
Comment 4 Andres Gomez 2015-10-06 21:08:11 UTC
(In reply to Martyn Russell from comment #2)
> Review of attachment 312495 [details] [review] [review]:
> 
> Looks good to me, thanks for the patch Denis! Please go ahead and commit. If
> you need to, I can.

Thanks for the review!