summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2015-12-06Change kernel internal pledge variables to 64bit (to prepare for moreTheo de Raadt
2015-12-05Make sure we use the same cpu numbering for the kern.cptime2 sysctl as weMark Kettenis
2015-12-05Study of kernel code complete. Permit ioctl SIOCGIFMEDIA for pledgeTheo de Raadt
2015-12-05remove stale lint annotationsTed Unangst
2015-12-04allow utrace(2) by default.Theo de Raadt
2015-12-04remove PLEDGE_INET granting when using "getpw" in YP environnmentSebastien Marie
2015-12-04Add pledge "dpath", which provides access to mknod(2) and mkfifo(2).Theo de Raadt
2015-12-04Do not think atomicity is required here. In any case, prepare forTheo de Raadt
2015-12-03remove code that's been #ifdef'ed out for 20 yearsBret Lambert
2015-12-03Remove the /usr/share/nls/ exception from pledge(2). The libcAlexander Bluhm
2015-12-03pledge(pf) needs to allow DIOCKILLSRCNODES, used in relayd.Sebastian Benoit
2015-12-01solbourne went awayTheo de Raadt
2015-12-01Send Aviion to same place as Nova IITheo de Raadt
2015-11-29On a SMALL_KERNEL, pledge "pf" has to be a no-op. We cannot matchTheo de Raadt
2015-11-29Add pledge "pf" which allows ioctls on pf(4). This will be used bySebastian Benoit
2015-11-28move buffer size adjustment to buf_adjcnt - from Walter NetoBob Beck
2015-11-28pledge: allow getsockopt IP_IPDEFTTL with promise inetSebastian Benoit
2015-11-27Two additional ioctls for pledge("disklabel"), needed by installboot.Jeremie Courreges-Anglas
2015-11-25permit kern.maxpartitionsTheo de Raadt
2015-11-24Add sendsyslog2(), which accepts the syslog/openlog "logopt" flagTheo de Raadt
2015-11-24syncTheo de Raadt
2015-11-24Add sendsyslog2... this has an additional flags variable to permitTheo de Raadt
2015-11-23the "getpw" test for /dev/tty is only needed for readpassphrase(3),Theo de Raadt
2015-11-23Do not include <sys/atomic.h> inside <sys/refcnt.h>.Martin Pieuchot
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