summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2023-02-19Make pinsyscall(2) always available for pledged processes. Needed by pledgeAnton Lindqvist
2023-02-17Validate execve() libc stub location if kernel knows it. (due to ld.soTheo de Raadt
2023-02-16regenClaudio Jeker
2023-02-16utrace(2) can run without kernel lock. Now ktruser() will take theClaudio Jeker
2023-02-16Like other ktrace functions make ktruser() callable without kernel lockClaudio Jeker
2023-02-16syncTheo de Raadt
2023-02-16Add pinsyscall(2). With this you can tell the kernel the locationTheo de Raadt
2023-02-15Relax kernel lock assertion within tsleep(9). The `nowake' channel isVitaliy Makkoveev
2023-02-15Use the nowake channel for sys_nanosleep() instead of handrolling the same.Claudio Jeker
2023-02-14regenVitaliy Makkoveev
2023-02-14Backout previous. Assertion was triggered within tsleep().Vitaliy Makkoveev
2023-02-13regenVitaliy Makkoveev
2023-02-13Push kernel lock down to dopselect() and doppoll() and unlock select(2),Vitaliy Makkoveev
2023-02-12Rename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()Vitaliy Makkoveev
2023-02-11non-padded 64-bit system calls arrived 2021/12/23, over a year ago.Theo de Raadt
2023-02-11syncTheo de Raadt
2023-02-11sync for __syscall removalTheo de Raadt
2023-02-11__syscall() is no longer neccessary since the system calls which neededTheo de Raadt
2023-02-10Adjust knote(9) APIVisa Hankala
2023-02-10Remove explicit rejection of zero duid in disk_map() added in 1.262.Miod Vallat
2023-02-09Delay setting the timestamp in the ktrace header until we've grabbedPhilip Guenther
2023-02-04kernel: stathz is always non-zero after cpu_initclocks()Scott Soule Cheloha
2023-02-04timecounting: remove incomplete PPS supportScott Soule Cheloha
2023-02-02Move the rest of common socket initialization within soalloc().Vitaliy Makkoveev
2023-01-31On systems without xonly mmu hardware-enforcement, we can still mitigateTheo de Raadt
2023-01-27Push solock() down to sogetopt(). It is not required for the most cases.Vitaliy Makkoveev
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-24ptrace reads/writes memory using uvm_io, which generates an temporaryTheo de Raadt
2023-01-23Move SS_ISSENDING flag to `sb_state'. It should belong to the sendVitaliy Makkoveev
2023-01-23In somove() rename `state' variable to `rcvstate' to make code moreVitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2023-01-16Currently we disable kbind(2) for static program from libc.a'sPhilip Guenther
2023-01-14sysctl(2): KERN_CPUSTATS: zero struct cpustats before copyoutScott Soule Cheloha
2023-01-13Since the signal trampoline is now execute-only we no longer write itMark Kettenis
2023-01-12Use solock() instead solock_shared() within sys_getsockopt(). OtherwiseVitaliy Makkoveev
2023-01-09setthrname() should return EINVAL, not ENAMETOOLONG, when thePhilip Guenther
2023-01-07regenPhilip Guenther
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
2023-01-06Replace last user of copystr() with strlcpy(). NFCIMiod Vallat
2023-01-05after a few trap.c were fixed to fault with the right access, theTheo de Raadt
2023-01-02Add tfind_user(), for getting a proc* given a user-space TID andPhilip Guenther
2023-01-01copyright++;Jonathan Gray
2022-12-31timeout: rename "timeout_at_ts" to "timeout_abs_ts"Scott Soule Cheloha
2022-12-31sysctl_clockintr: clear "sum" with memset before copyout(9)Scott Soule Cheloha
2022-12-29Add ktrace struct tracepoints for siginfo_t to the kernel side ofPhilip Guenther
2022-12-27Fix array bounds mismatch with clang 15Patrick Wildt
2022-12-26Replace two (void)copystr(..., NULL) with equivalent (void)strlcpy() calls.Miod Vallat
2022-12-23wrap a line betterTheo de Raadt
2022-12-21The location of the aux info vector is now cached in ps_auxinfo of structClaudio Jeker