Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166890554
D9361.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D9361.diff
View Options
Index: head/sys/compat/linux/linux_misc.c
===================================================================
--- head/sys/compat/linux/linux_misc.c
+++ head/sys/compat/linux/linux_misc.c
@@ -1733,9 +1733,7 @@
printf(ARGS(getppid, ""));
#endif
- PROC_LOCK(td->td_proc);
- td->td_retval[0] = td->td_proc->p_pptr->p_pid;
- PROC_UNLOCK(td->td_proc);
+ td->td_retval[0] = kern_getppid(td);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 1:43 PM (17 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36895136
Default Alt Text
D9361.diff (411 B)
Attached To
Mode
D9361: Fix linux_getppid()
Attached
Detach File
Event Timeline
Log In to Comment