summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2017-09-15Coverity complained that the while loop at the end of m_adj() couldAlexander Bluhm
2017-09-11Coverty complains that the return value of sblock() is not checkedAlexander Bluhm
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-09-07In elf_load_file() to not call free(9) with an uninitialized sizeAlexander Bluhm
2017-09-06Do not pass an uninitialized size value to free(9) even if the addrAlexander Bluhm
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-08-27Revisit 2q queue sizes. Limit the hot queue to 1/20th the cache size upBob Beck
2017-08-22Make sogetopt(9) caller responsible for allocating an MT_SOOPTS mbuf.Martin Pieuchot
2017-08-22Add some buffercache docsStefan Fritsch
2017-08-21Allow SIOCGIFAFLAG_IN6 and SIOCGIFALIFETIME_IN6 ioctls withFlorian Obser
2017-08-17print why the signature block check of an unhibernate attempt failed, toMike Larkin
2017-08-16Correct the check when selecting an elevatorMike Belopuhov
2017-08-15remove parens that were copied from ndinit's previous life as a macroTed Unangst
2017-08-15create a temp directory for all the temp files instead of trying to nameTed Unangst
2017-08-14Load CTF debug symbols before mountrootUwe Stuehler
2017-08-13Nuke trailing whitespaceBob Beck
2017-08-13New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks insteadPhilip Guenther
2017-08-12Add rw_assert_anylock(), for assering you have it either read or write lockedPhilip Guenther
2017-08-12Silence clang warnings: remove unused variables and s/%hx/%x/gPhilip Guenther
2017-08-12regenTed Unangst
2017-08-12add a fktrace syscall that takes a file descriptor instead of a name.Ted Unangst
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-11Merge DDBCTF into DDB.Martin Pieuchot
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-08-10Move the solock()/sounlock() dance outside of sobind().Martin Pieuchot
2017-08-10Make rw_enter() always succeed after a panic.Martin Pieuchot
2017-08-10The socket field so_proto can never be NULL. Remove the checks.Alexander Bluhm
2017-08-09Move the socket lock "above" sosetopt(), sogetopt() and sosplice().Martin Pieuchot
2017-08-08Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict andAlexander Bluhm
2017-08-07Turns out gcc complains about %02hhx. So simply use %02x instead. This isMark Kettenis
2017-08-06Use %hhx instead of %hx to print u_char. Silences clang warning.Mark Kettenis
2017-07-31Give back some space to the ramdisk by compiling net/radix.c onlyFlorian Obser
2017-07-28Add some sanity length checks in VFS directory scan. This protectsAlexander Bluhm
2017-07-28Allow SIOCGIFDESCR with "route" promise in preparation for pledging snmpd.rob
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andMartin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-07-24Grab the socket lock in soo_ioctl() where `so_state', `so_rcv'Martin Pieuchot
2017-07-22Introduce jiffies, a volatile unsigned long version of our ticks variableMark Kettenis
2017-07-20When receiving a struct sockaddr from userland, enforce that memoryAlexander Bluhm
2017-07-20Initialize a local variable to not leak kernel stack info to userlandMartin Pieuchot
2017-07-20If pool_get() sleeps while allocating additional memory for socketAlexander Bluhm
2017-07-20Extend the scope of the socket lock in soo_stat() to protect `so_state'Martin Pieuchot
2017-07-20Prepare filt_soread() to be locked. No functionnal change.Martin Pieuchot
2017-07-19Uninitialized variable can leak kernel memory.Theo de Raadt
2017-07-19Move KTRPOINT call up. The lenght variable i is getting aligned and soClaudio Jeker
2017-07-18Both syslog(3) and syslogd(8) truncate the message at 8192 bytes.Alexander Bluhm
2017-07-18soreserve() modifies `so_snd' and `so_rcv' so asserts that it is calledMartin Pieuchot
2017-07-13Do not unlock the netlock in the goto out error path before it hasAlexander Bluhm
2017-07-12Invalidate read-ahead buffers when read shortMike Belopuhov