summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2015-11-23need sys/device.hTheo de Raadt
2015-11-22For "disklabel", allow sysctl mach.chr2kblk and ioctl BIOCINQ/BIOCVOLTheo de Raadt
2015-11-22"getpw" should also allow access to /etc/netidTheo de Raadt
2015-11-21Retire ml_requeue(9) and mq_requeue(9).Martin Pieuchot
2015-11-21remove completely pledge_socket() from listen(2) and accept(2).Sebastien Marie
2015-11-20Neuter the pledge domain checking for listen, getpeername, and getsocknameTheo de Raadt
2015-11-20Permit msync(2) in the "stdio" set; only a few programs use it relatedTheo de Raadt
2015-11-20Add pledge "disklabel", which allows sysctl kern.rawpartition, aTheo de Raadt
2015-11-20Exempt accept(2) from the pledge_socket() check part of the "domain"Theo de Raadt
2015-11-20VISTTY check in revoke() is not working well for the non-indirectedTheo de Raadt
2015-11-20Fix whitespace. No binary change.Jonathan Gray
2015-11-19dont try and wakeup other threads to handle pending work when weDavid Gwynne
2015-11-19corrects leaks refs to files introduced by my previous commit for pledge_socket.Sebastien Marie
2015-11-18check domain and state of socket against pledge promise.Sebastien Marie
2015-11-18In sys_revoke, inspect the VISTTY flag on the backside of VOP_GETATTR,Theo de Raadt
2015-11-17backout removal of SYS_break from stdio, suggested by deraadt@Stuart Henderson
2015-11-17Allow sysctl kern.clockrate, kern.argmax, kern.ngroups, kern.sysvshm,Theo de Raadt
2015-11-16Allow TIOCEXT in pledge "tty"Theo de Raadt
2015-11-16Permit revoke(2) for a pledge "rpath tty"Theo de Raadt
2015-11-16Only perform revoke(2) on tty cdevs. Others paths return ENOTTY.Theo de Raadt
2015-11-16In getdevvp() set the VISTTY flag on a vnode to indicate the underlyingTheo de Raadt
2015-11-16brk/sbrk's use case is way too narrow to be a default stdio pledge.Pascal Stumpf
2015-11-14Add pathconf() to pledge "rpath"; ok guentherTheo de Raadt
2015-11-14For pledge "stdio", allow the break(2) system call which backends the brk/sbrkTheo de Raadt
2015-11-13All setsockopt IPPROTO_IPV6 IPV6_TCLASS (v4 calls this IP_TOS)Theo de Raadt
2015-11-13Use ph_ prefix for tag-related fields.Martin Pieuchot
2015-11-12Prefix flowid with ph_ and print it in m_print().Martin Pieuchot
2015-11-11ktrace vnodes do not need to be opened with FREAD, as they areTheo de Raadt
2015-11-10regenPhilip Guenther
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallPhilip Guenther
2015-11-08pull initialization up before poosible goto bad, from Mark LatimerTed Unangst
2015-11-08keep all the setperf timeout(9) handling in one place; ok tedu@Christian Weisgerber
2015-11-05revert sys/kern/kern_pledge.c 1.103 and reenable pledge in pwd_mkdbSebastien Marie
2015-11-04pledge_ioctl only takes files, adjust prototype. ok semarieTed Unangst
2015-11-04move /etc/spwd.db blacklist outside PLEDGE_GETPW check.Sebastien Marie
2015-11-03AF_UNIX connect is a "unix" operation, not "rpath wpath"Theo de Raadt
2015-11-03pledge_aftersyscall has been reduced to one case, "getpw", to open aTheo de Raadt
2015-11-02some tweaks to the signal code.Ted Unangst
2015-11-02use binary-search for pledge-requestSebastien Marie
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-11-02also handle the kill(self) case for threads; from Theo BuehlerTheo de Raadt
2015-11-02provide ml_purge and mq_purge.David Gwynne
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-11-01Do not need to check the pledge control bits for system calls that areTheo de Raadt
2015-11-01bind() on AF_UNIX should set PLEDGE_UNIX not PLEDGE_CPATH; ok semarieTheo de Raadt
2015-11-01uniformize "always allowed syscalls" with pledgeSebastien Marie
2015-10-31oops, forgot pselect! crazy how many interface the kernel has here.Theo de Raadt
2015-10-31expose the sysctl backing getloadavg(3) all the time, now that moreTheo de Raadt
2015-10-30Let m_resethdr() clear the whole mbuf packet header, not only theAlexander Bluhm
2015-10-30Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.Reyk Floeter