summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2018-07-20Remove a few leftovers from the days of emulation, which could result inTheo de Raadt
2018-07-20Fail if a PT_LOAD segment has a memory size of 0. This prevents a panicMark Kettenis
2018-07-20Correctly copy across unveil's from parent to child process on fork().Bob Beck
2018-07-18Revert the change that delivers process signals to any threads. AsAlexander Bluhm
2018-07-17unvname_new() is passed something that is always 64-bits so theKenneth R Westerback
2018-07-15Restore correct behaviour to pledge for access and stat, which was brokenBob Beck
2018-07-14Don't pass an uninitialised size value to free(9). Pointer argument isJonathan Gray
2018-07-13unbreak gcc4 buildJonathan Gray
2018-07-13Make the default failure for unveil while disabled return successBob Beck
2018-07-13Unveiling unveil(2).Bob Beck
2018-07-12Add hw.ncpuonline to count the number of online CPUs.cheloha
2018-07-11If no thread can immediately handle a signal, which has been sentAlexander Bluhm
2018-07-10In free(9) call wakeup() after mtx_leave() consistently.Alexander Bluhm
2018-07-10After removing raw_usrreq() from route and pfkey, the global sockaddrAlexander Bluhm
2018-07-10Move socket & pipe specific logic in their ioctl handler.Martin Pieuchot
2018-07-10Move from sendsig() to its callers the initsiginfo() calls andPhilip Guenther
2018-07-09Fix trailing whitespaces and too long line.Alexander Bluhm
2018-07-09Use function name in panic string, like in some other places.Claudio Jeker
2018-07-09Make free(9) MP safe. It was wrong to set ku_indx to 0 after freeingAlexander Bluhm
2018-07-07Fix an argument type error that happens when translating fcntl(F_SETOWN)Visa Hankala
2018-07-07Remember to lock v_specparent for VOP operations.Visa Hankala
2018-07-07Fix a locking error in spec_setattr(). Unlike many VOP operations,Visa Hankala
2018-07-07Release the kernel lock fully on thread exit. This prevents a lockingVisa Hankala
2018-07-05regenMartin Pieuchot