Opened 4 years ago
Closed 4 years ago
#16607 closed enhancement (fixed)
Add ability to get parent PID of process
Reported by: | X512 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev54703.
_user_process_info(process, PARENT_ID)
allows to get parent PID, but it has following check so only current process can get it's parent: team.cpp:4002. Check should be removed or applied only if user has no administrator privileges.
This feature is required to implement process view in a tree.
Change History (4)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
I published my process view utility with process tree: SystemManager, screenshot. Kernel changes are not yet published.
comment:4 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Probably the check can be changed to check if EUID is either the same as the target process' EUID, or the current EUID is 0 (root).