User Details
- User Since
- May 16 2014, 7:35 PM (612 w, 1 d)
Today
This patch does not make sense (to me at least). kldfind(2) looks up kld from the loaded files in kernel, it does not search anything in the file system.
What the syscall does it strips the passed filename from the non-base path components, and then compares the base name with names of all loaded klds, returning the finding, if any.
Yesterday
Fixes after tinderbox:
- openzfs sys/types32.h: use abi_compat.h for time32_t instead of unconditionally use of int32_t
- kdump used knote32.data{1,2} fields
Fri, Feb 6
My impression is that the whole pcb have to be considered part of the contract, unfortunately.
IMO instead of copying the amd64-style of the comment, it is better to remove the *-marking and make a herald comment describing that.
Add missed FU64_CP for kinfo_knote32.knt_vnode.knt_vnode_fileid
Thu, Feb 5
sys/user.h: remove XXXSKE markers
There are opportunities with amd64 at least, but I can do it myself after this patch lands. Thanks.
My previous answer was probably not quite clear in some aspects. I mean, on make installkernel we should either rename /usr/lib/debug/boot, or remove it, before installing new debug symbols.
Well, API or ABI, as is it is a sudden change in the behavior for the same code compiled against new or old base. IMO the #define posix is the required workaround if we going to change the ptsname_r() this way.
Wed, Feb 4
I think the idea was to use VARARG, but then the types and arg names have to be split out of it. Something similar to what is done to EXTERROR() from sys/exterrvar.h and CTR() from sys/ktr.h. But it might be too convoluted for the limited use.
FreeBSD is realtime kernel, where regions with disabled interrupts are exceptional. Trap happening with interrupts disabled means that CPU meeting some conditions that should not be there.
It might be that trap.c and exceptions.S somewhat evolved, but the guiding rule there was a simplification. As a secondary effect, it might take exceptions with interrupts disabled, in some cases.
It still assumes that e.g. GSBASE is valid, which is generally not true for regions with disabled interrupts. So I prefer to keep it close to original design.
Fix locking error with sched_bind()
Execute SCHED ops in critical section
Minor clarifications to the description.
finalize the change
Tue, Feb 3
I think it would be simpler if you commit this version now, then I will provide the proper herald comment explaining the modes, in mine SAFE patch.
Do you mean that the low-level startup, e.g. hammertime() for amd64, and initarm() for arm64, must be tagged with __nosanitizeaddress as well? (And recursively every function that is called from them, at least up to the point where ifuncs are resolved).
Mon, Feb 2
No, this is not what I suggested. You do not need to change fuse_vfsop_unmount(), instead in fdata_destroy()
if (fdata->mp != NULL) {
if fdata->dataflags & FSESS_AUTO_UNMOUNT)
dounmount(fdata->mp, MNT_FORCE, curthread);
else
mnt_rel(fdata-mp);
}modulo small details that you should figure out.
Sun, Feb 1
Add comment explaining why dvp is unlocked, and how possible reclamation is handled.
Sat, Jan 31
BTW, ls(1) and find(1) use -P for the same functionality. ls(1) does not fail if the argument is not a symbolic link.
