summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2019-10-06Fix vn_open to require an op of 0, and 0 or KERNELPATH only as flags.Bob Beck
2019-10-03poll(2), ppoll(2), select(2), pselect(2): always set P_SELECT before tsleepcheloha
2019-10-03sysctl global nosuidcoredump was being inspected twice inside coredump(),Theo de Raadt
2019-10-01Only increment the ps_uvncount counter when a path is successfully addedanton
2019-10-01*sleep_nsec(9): add missing newlines to DIAGNOSTIC logscheloha
2019-09-20timeout(9): process-context timeouts can be latecheloha
2019-09-20timeout(9): use CLR/ISSET/SET consistentlycheloha
2019-09-11Fix unveil for relative lookups in the non AT_FDCWD caseBob Beck
2019-09-11Make it possible to free overlapping regions (effectively allowingMark Kettenis
2019-09-06options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@cheloha
2019-09-04gettimeofday, settimeofday(2): limit timezone supportcheloha
2019-08-31Make readlink require UNVEIL_READ instead of UNVEIL_INSPECT onlyBob Beck
2019-08-28If the EX_CONFLICTOK flag is given, allow operations that (partly)Mark Kettenis
2019-08-26When a thread tries to exclusively lock a vnode, the same thread mustanton
2019-08-25Add SIOCDIFADDR_IN6 to the wroute pledge to allow removal of IPv6 addressespamela
2019-08-21sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)cheloha
2019-08-15NMEA 4.1 has one more field in the RMC message; ok kettenis@Otto Moerbeek
2019-08-15Serialize access to the vnode pointers associated with acct(2) systemanton
2019-08-13regenanton
2019-08-13Revert unlock of lseek(2) since vn_lock() could end up calling tsleep()anton
2019-08-12regenanton
2019-08-12Unlock lseek(2) since the file offset is MP-safe by now. Callinganton
2019-08-07The pathname in unveil(2) allocated 1024 bytes on the stack duringAlexander Bluhm
2019-08-07avoid large MAXPATHLEN object on the stack in coredump(), by allocatingTheo de Raadt
2019-08-06Fix white spaces.Alexander Bluhm
2019-08-05Kernel realpath(3) and unveil(2) did not work correctly if the rootAlexander Bluhm
2019-08-05Kernel realpath(3) had the same vnode leakage bug like unveil(2).Alexander Bluhm
2019-08-05Remove the unused function parameter rootvnode from unveil_add_vnode().Alexander Bluhm
2019-08-05Allow concurrent reads of the f_offset field of struct file byanton
2019-08-04Calling unveil(2) with the current directory leaked a vnode. EvenAlexander Bluhm
2019-08-03R.I.P. itimerround(); ok mpi@cheloha
2019-08-02Move prototypes of unveil(2) functions which are used in separate CAlexander Bluhm
2019-08-02per-process itimers: itimerval -> itimerspeccheloha
2019-08-01In ufs_lookup() *vpp is always refcounted, also in the ISDOTDOTAlexander Bluhm
2019-07-29correct mispellings of EACCES; from Kris KatterjohnTheo de Raadt
2019-07-29When setting immutable flags on directories with chflags(1), callingAlexander Bluhm
2019-07-27Move unveil prototypes from vfs_lookup.c to namei.h for functionsAlexander Bluhm
2019-07-25itimerdecr(): simplify logic with timer*(9) macros; ok millert@cheloha
2019-07-25Use process accounting to find programs which try to access filesAlexander Bluhm
2019-07-25vinvalbuf(9): tlseep -> tsleep_nsec(9); ok millert@cheloha
2019-07-23Grab the vnode lock earlier in vn_read() since it could end up sleeping,anton
2019-07-23Fix realpath(3) errno code for an empty input path string.Stefan Sperling
2019-07-22Correct minor style nit in sys_getdents() for consistency, missing parens aroundanton
2019-07-22Grab the vnode lock earlier in sys_getdents() since it could end upanton
2019-07-22implement SO_DOMAIN and SO_PROTOCOL so that the domain and the protocolRobert Nagy
2019-07-21Grab the vnode lock in vn_seek(). Consensus has emerged around using theanton
2019-07-20Get rid of `ddb_is_active' instead use `db_active'.Martin Pieuchot
2019-07-19After the kernel has reached the sysclt kern.maxclusters limit,Alexander Bluhm
2019-07-19vwaitforio(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha
2019-07-19getblk(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha