summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2018-09-06fix whitespaceJonathan Gray
2018-09-04kevent: Don't poll for nonzero timeouts < 1us.cheloha
2018-09-01Fix errno for post-lock unveil callsTheo de Raadt
2018-09-01Recognize more talker IDs when parsing NMEA RMC messagesLandry Breuil
2018-08-30Remove dead code related to tty allocation for ptys. Back in revision 1.17 ofanton
2018-08-30Split the system-wide list of all futexes into process-specific listsVisa Hankala
2018-08-29Initialize device numbers for newly allocated ptys. Prevents a panic caused byanton
2018-08-28Fix stat of path components - this was breaking chrome - because theBob Beck
2018-08-25Change kcov semantics, kernel code coverage tracing is now enabled on a peranton
2018-08-24Remove all knotes from a file descriptor before closing the file inVisa Hankala
2018-08-21Rework kcov kernel config. Instead of treating kcov as both an option and aanton
2018-08-21Use explicit fd indexing to access fd_ofiles, to clarify the code.Visa Hankala
2018-08-21If the control message of IP_SENDSRCADDR did not fit into the socketAlexander Bluhm
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-08-20Make fnew() return a new file with only one reference. This makesVisa Hankala
2018-08-20Preparations for arm64 radeondrm(4) support.Mark Kettenis
2018-08-19Add kcov(4), a kernel code coverage tracing driver. It's used in conjunctionanton
2018-08-19Remove a stale/obvious comment.Visa Hankala
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
2018-08-13More clear version of previous namei/pledge/chroot solution. namei flagTheo de Raadt
2018-08-13in sys_statfs(), BYPASSUNVEIL can be passed to NDINIT in the "flags"Theo de Raadt
2018-08-13The first panic in pledge_namei should only be for ni_pledge == 0Theo de Raadt
2018-08-13Simplify the startup of the cleaner, reaper and update threads byVisa Hankala
2018-08-13Make it possible to run pipe(2) and pipe2(2) mostly w/o KERNEL_LOCK():Martin Pieuchot
2018-08-11Get rid of PLEDGE_STAT, which was a hack used for unveil.Bob Beck
2018-08-10Update fd_freefile when filtering/closing kqueue descriptors in fdcopy().Joel Sing
2018-08-09Remove redundant "kq == kn->kn_kq" checks. The lists kq_knhash andVisa Hankala
2018-08-07UNVEIL_* flags defined elsewhere in a .h fileTheo de Raadt
2018-08-07Fix dangling knote references.Visa Hankala
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-08-05Prevent a panic when reboot -q is used by making unveil_removevnodeBob Beck
2018-08-03wrap long linesTheo de Raadt
2018-08-03ni_pledge flags are a uint64_t not an int - don't initialize with an int.Bob Beck
2018-08-02Grammar fix in comment.rob
2018-08-02Fix panic when we attempt to mess with "." but have a flags mismatchBob Beck
2018-07-30regenMartin Pieuchot
2018-07-30Unlock sendmsg(2), sendto(2), recvfrom(2) and recvmsg(2).Martin Pieuchot
2018-07-30Fix a NULL-pointer dereference when calling open() on a cloned device with writeanton
2018-07-30syncTheo de Raadt
2018-07-30rename 2nd argument of unveil from vague "flags" to "permissions";Theo de Raadt
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-07-30KNFTheo de Raadt
2018-07-30Allow for us to do a CREATE style lookup on a read only filesystemBob Beck
2018-07-30activate unveil for testingTheo de Raadt
2018-07-29revert accidentally changed prototypeBob Beck
2018-07-29Don't exceed UNVEIL_MAX_VNODES with a long path now that we saveBob Beck
2018-07-29Make sure we don't count looking at .. as a componentBob Beck
2018-07-27Add SIOCSIFMTU to the wroute pledge.bket
2018-07-27Don't double vput and panic after looking up "."Bob Beck
2018-07-22Avoid a NULL pointer deref when calling fchown() on a file descriptor belonginganton