User Details
- User Since
- May 16 2014, 7:35 PM (635 w, 4 d)
Today
This obviously changes the semantic of the pwait(1) tool. Before, it returned control after the process exited. Now, it additionally wait until a reaper makes the wait*() call.
Yesterday
proc_to_reap(orphan) can reap.
Rename PZOMBIEREF_ORPHAN to PZOMBIEREF_REALPARENT.
Move an assert into proc_realparent().
Correct the condition to reparent on the last procdesc close.
Start modifying the man pages.
Fix one more locking comment.
Change p_zombieref lock annotation to be just proctree_lock.
Will be consumed by D58264
Mon, Jul 20
Add a control variable for proc_can_ptrace() calls.
Remove the weird block.
Several minor fixes accumulated from the testing.
Allocate children big enough to hold information about all children processes, regardless of the p_cansee() return value.
Sun, Jul 19
This is still not intended for review, I just demonstrate the (IMO) full branch where the end is the ability to run truss in cap mode.
I am posting individual commits from the branch for review still.
Update comment.
Edit comments and the man page update.
Use atomic to load p_flag.
Fix PTCHLD_TRACED_BY_ME.
Check uap->data < 0.
Use more correct type for rsrv[] to avoid compat32 conversions.
Man page editing.
please re-upload the patch with the full context.
Add PTCHLD_TRACED_BY_ME.
Add space for future ABI expansion.
Please upload patches with the full context.
Sat, Jul 18
This adds two syscalls to each dynamic syscall failure path. I understand that calling the sysctl is the easiest way to handle dynamically loaded modules. But I already got some negative comments due to exterrors adding some nanoseconds to the failing syscalls timings.
Although I do not object in principle, can we have some smarter way to avoid the sysctl if we already queried the specific module? E.g. we can make each module to register 'range' for dynamic errors' pathes, and memoize the range with the values in libc.
This is esp. sorrow because the display of the source line is really a niche feature.
Could somebody provide an isolated test for the situation where the patch is needed?
As I said it elsewhere, there is no point in kern.features.exterror. You cannot run 15 userspace on <= 14 kernel.
