User Details
- User Since
- May 16 2014, 7:35 PM (641 w, 5 d)
Today
Yes, but this is a kernel regression no? I hadn't realized that pdfork() children are reaped automatically upon close().
Are you stating that libcapser does not waitpid() on the resulting pid after pdfork()? If yes, the proper solution is to add PD_NOWAITPID to pdfork() call. This should fix it for all consumers.
Invert meaning of -y.
Fix new_proc() prototype.
Remove #if 0 block.
Initialize np var on new process.
Remove one more instance of 'Y'.
Use caph_enter().
Remove -Y option.
Update man page for -y.
Reword the comment about rtld_bind_lock.
Yesterday
amd64: provide the fast path for dynamic TLSDESC resolver
You could memset only device_name then, right before strcpy(). It would be more clear IMHO.
Mon, Aug 31
Let me formulate what I tried to say, differently. There should be no abi symlink pass, or, if you prefer such wording, there must be at least one swich from the ABI namespace to native namespace. If we get ENOENT and the failed component was provided by an absolute symlink, then we should restart native-rooted lookup from the symlink resolved and the rest of the unprocessed path. If we successfully resolved symlink target in the ABI root and ENOENT came later, it is not the reason to restart with the symlink in native root.
Is it reasonable to provide the inline versions of these methods for complicated cases, like x86? Could it be always a function call?
Sun, Aug 30
Please ask @emaste to merge.
This is a special case that should be not handled by the generic VFS lookup code. Ideally, it should be contained to the fdescfs vop_lookup(). I am not sure how, the obvious idea to change the vnode return type when !ISLASTCN has some drawbacks, at very least the vnode must be reclaimed on deactivation, might be it would work then.
Remove dtv_gen from tlsdesc_dynarg. There is no point of storing the generation there for our dtv update structure.
Add comment explaining the use of rtld_bind_lock in rtld_get_addr_slow().
Sat, Aug 29
I looked at the implementation for aarch64 and I see some issues that I do not understand.
Fix dta/dtv tls_gen check consistency.
How this behaves when there is more than one symlink in the path to resolve?
Fri, Aug 28
Rebase.
Use pdptrace(2) without syscall wrapper, now that the syscall is upstreamed.
sys/tests/kern/pdopenpid: pdopenpid(2) is allowed in cap mode
pdtrace.2: mention that pdtrace() does not clear errno unlike ptrace()
ptrace.2: cross-ref pdtrace(2)
pdwait tests: adjust for addition of CAP_PTRACE
Move ptrace_check_allowed() call into ptrace_useraction().
Fix sysctl mib name in ptrace.2.
Thu, Aug 27
Man page editing.
Renamed to ptrace_useraction().
Fixed tid.
Fixed arguments to ptrace_action() in kern_ptrace().
Man page editing.
Wed, Aug 26
Mon, Aug 24
I believe this is fine for the next batch, my patch requires more work.
[Cannot accept due to the review state]
Fix signed/unsigned comparison.
Report error on too long ABI name.
Man page improvements.
Sun, Aug 23
This is fine, but I think that we can avoid the trouble by locking the proctree_lock around the ioctl handler instead. Please see D59132
kobj should not mention 'softc', it is not limited to the driver support. It should be named more generally.
