Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
fe0ad86e
Commit
fe0ad86e
authored
9 years ago
by
Hisham Muhammad
Browse files
Options
Download
Email Patches
Plain Diff
Fix tree organization on OSX.
Closes #393.
parent
dc4f1456
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
darwin/DarwinProcess.c
+2
-1
darwin/DarwinProcess.c
with
2 additions
and
1 deletion
+2
-1
darwin/DarwinProcess.c
View file @
fe0ad86e
...
...
@@ -275,7 +275,8 @@ void DarwinProcess_setFromKInfoProc(Process *proc, struct kinfo_proc *ps, time_t
proc
->
ppid
=
ps
->
kp_eproc
.
e_ppid
;
proc
->
pgrp
=
ps
->
kp_eproc
.
e_pgid
;
proc
->
session
=
0
;
/* TODO Get the session id */
proc
->
tgid
=
ps
->
kp_eproc
.
e_tpgid
;
proc
->
tpgid
=
ps
->
kp_eproc
.
e_tpgid
;
proc
->
tgid
=
proc
->
pid
;
proc
->
st_uid
=
ps
->
kp_eproc
.
e_ucred
.
cr_uid
;
/* e_tdev = (major << 24) | (minor & 0xffffff) */
/* e_tdev == -1 for "no device" */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help