User Details
- User Since
- May 16 2014, 7:35 PM (611 w, 6 d)
Today
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.
Yesterday
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.
Fri, Jan 30
FWIW, we do not disable EFI RT timer services when we attach to rtc, and in reverse. I am not sure, might be we should. Right now we lock accesses according to the UEFI spec recommendation.
Thu, Jan 29
Editings by olce.
Add assert that ast handler is called for curthread.
Simplify. Use TDP_SCHED1 instead of the new field in the ts structure.
