summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2015-09-01Corrects a use-after-free in tame_namei().Sebastien Marie
2015-09-01Push down the KERNEL_LOCK/KERNEL_UNLOCK calls into the back-end allocatorMark Kettenis
2015-09-01mattieu baptiste reported a problem with bpf+srps where the per cpuDavid Gwynne
2015-09-01a white space krw could not seeTheo de Raadt
2015-09-01'bogous' is bogus spelling of 'bogus' in debug message.Kenneth R Westerback
2015-09-01Missing letoh64() when checking value of gh_lba_alt.Kenneth R Westerback
2015-08-31Consider getfsstat() a RPATH, even though it has no path in it. We mayTheo de Raadt
2015-08-31In tame mode, return EPERM for *chown if uid/gid change is not towardsTheo de Raadt
2015-08-31Rather than killing when *chmod is asked to do setuid/setgid, clearTheo de Raadt
2015-08-31Abstract 5 identical code blocks into a readdisksector() function.Kenneth R Westerback
2015-08-31Rejig the the expression calculating of the address of the diskKenneth R Westerback
2015-08-31spaces snuck inTheo de Raadt
2015-08-31KNFTheo de Raadt
2015-08-30In readgptlabel() avoid pointless conversions from sector countsKenneth R Westerback
2015-08-30Eliminate a couple of extraneous DL_SECTOBLK() calls.Kenneth R Westerback
2015-08-30Use a global table for domains instead of building a list at run time.Martin Pieuchot
2015-08-30For *chmod, allow S_ISTXT in tame mode. I am evaluating what toTheo de Raadt
2015-08-29sizes for free(); ok guentherTheo de Raadt
2015-08-29In readgptlabel() the block offsets of the GPT header and GPT partitionKenneth R Westerback
2015-08-29size for free()Theo de Raadt
2015-08-28Move label 'offset' calculation out of the buf setup logic andKenneth R Westerback
2015-08-28Rename 'part_blkno' to 'sector' as it has not held DEV_BSIZE values inKenneth R Westerback
2015-08-28Rework the UNIX domain socket garbage collector, including ideas fromPhilip Guenther
2015-08-28Modify ttystats_init() to tell us about the buffer size, so that weTheo de Raadt
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-08-26two simple free() sizesTheo de Raadt
2015-08-26Enhance setdisklabel() to ensure that the disk size and 'C'Kenneth R Westerback
2015-08-26use ENAMETOOLONG instead of EINVAL for errno when string overflow occurs.Sebastien Marie
2015-08-26After a report from jsg about a memory leak (or was it a double free?),Theo de Raadt
2015-08-26Add TIOCGETA to the tame list for TAME_IOCTL.Doug Hogan
2015-08-26regenDoug Hogan
2015-08-26Convert paths argument of tame(2) to const char **.Doug Hogan
2015-08-25remove duplicate SYS_utimes entryJonathan Gray
2015-08-24Fix GPT code to work with non-DEV_BSIZE disks.Kenneth R Westerback
2015-08-24Items from pool sosplice_pool are get in process context and putAlexander Bluhm
2015-08-24corrects two potential double-free on `cwdpath'. The variable will be free'edSebastien Marie
2015-08-24Initialize cwdpath so free() is properly handled.Doug Hogan
2015-08-23fix /tmp handling of unlink(); from Caspar SchutijserTheo de Raadt
2015-08-23Perform maximum one cwd lookup in tame(), also make namei version look theTheo de Raadt
2015-08-23Canonicalize non-rooted paths after cwd prepend.Theo de Raadt
2015-08-23check correct offset for terminator; with semarieTheo de Raadt
2015-08-23recompute len when the path is absolute as canonpath could have shrink itSebastien Marie
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-08-21Whitelist TIOCGPGRP (for tcgetpgrp()) in TAME_IOCTL.Doug Hogan
2015-08-21re-enable *8.David Gwynne
2015-08-20reactivate tame()Theo de Raadt
2015-08-14provide ml_requeue and mq_requeue for prepending mbufs on lists/queuesDavid Gwynne
2015-08-12Remove last two 'uses' of d_subtype in tree. No point in settingKenneth R Westerback
2015-08-03Unfortunately netstat did not show sockets without file descriptorsAlexander Bluhm
2015-08-01Fix free() of uninitialized variable introduced in previous commit.Philip Guenther