summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2019-07-19ttysleep(): drop unused timeout parametercheloha
2019-07-19ddb(4): clean up callout commandcheloha
2019-07-18Fix unveiling nonexistent files on read-only filesystemskn
2019-07-16Fix uipc white spaces.Alexander Bluhm
2019-07-16According to POSIX msgsnd(2) has to fail with EINVAL if passing aAlexander Bluhm
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
2019-07-16move the whole `struct pipe' allocation and initialization inside pipe_create()Sebastien Marie
2019-07-16Make rrw_init/rrw_init_flags take a const name argument matchingJonathan Gray
2019-07-15Stop calling resched_proc() after changing the nice(3) value of a process.Martin Pieuchot
2019-07-15revert unintended change that snuck in last commitBob Beck
2019-07-15Make realpath posixly correct by changing the kernel implementationBob Beck
2019-07-15Convert struct unpcb malloc(9) to pool_get(9).Alexander Bluhm
2019-07-15revisit pipe initialization and buffer managementSebastien Marie
2019-07-15Do not relock fdp in fdrelease(). This prevents unnecessary lockingVisa Hankala
2019-07-14rename PIPE_WANT to PIPE_WANTD.Sebastien Marie
2019-07-14Don't lock the struct unveil being created in the child when cloning thePhilip Guenther
2019-07-13pipe_write() do opportunistic buffer resizing, when the buffer is empty.Sebastien Marie
2019-07-12Revert anton@ changes about read/write unlockingsolene
2019-07-12sysctl(2): add KERN_TIMEOUT_STATS: timeout(9) status and statistics.cheloha
2019-07-11listen(2) should return EINVAL if the socket is connected.Alexander Bluhm