summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2015-10-28syncTheo de Raadt
2015-10-28The short-lived dnssocket/dnsconnect calls are being required because weTheo de Raadt
2015-10-28Paranoa: p_pledgenote the NAMEI for ld.so loadingTheo de Raadt
2015-10-28The short-lived dnssocket/dnsconnect calls are being required because weTheo de Raadt
2015-10-28There are three situations where pty ioctl's result in a NDINIT.Theo de Raadt
2015-10-28Set pledgenote to PLEDGE_RPATH in chdir & chrootTheo de Raadt
2015-10-28TIOCCONS will probably never be permitted, but it is good style to setTheo de Raadt
2015-10-28Though sys_ktrace is not yet pledge allowed, prepare by settingTheo de Raadt
2015-10-28move p_pledgenote setting next to NDINIT()Theo de Raadt
2015-10-28kern.cptime is length 2Theo de Raadt
2015-10-28support kern.cptime alsoTheo de Raadt
2015-10-26Add ppoll() to "stdio"Theo de Raadt
2015-10-26dns check needs to be done on the kernel address after copyinTed Unangst
2015-10-26Allow NET_RT_IFLIST in pledge "dns" as wellTheo de Raadt
2015-10-26If the system call is entirely unpermitted, code will be 0, and there isTheo de Raadt
2015-10-26add setreuid/setregid to "id"Theo de Raadt
2015-10-26change some pledge_fail() error/codeSebastien Marie
2015-10-26make pledge_check(), used for syscall check with pledge, returns an error andSebastien Marie
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
2015-10-25pledge_sockopt_check is shared between setsockopt/getsockopt. nicmTheo de Raadt
2015-10-25reorder some checks in pledge_namei() in order to properly work.Sebastien Marie
2015-10-25ps(1) needs sysctl KERN_PROC_CWD exposed as well in the pledge "ps" set.Theo de Raadt
2015-10-25For SYS_open let the /dev/null special case match if any TMN_RPATH,Todd C. Miller
2015-10-25Allow getsockopt(IP_OPTIONS) (with inet), needed by portmap (for RPC).Nicholas Marriott
2015-10-23Allow SIOCGIFINFO_IN6Theo de Raadt
2015-10-23Introduce a new sysctl NET_RT_IFNAMES that returns only ifnames to ifindexClaudio Jeker
2015-10-23Add 3 new pledge requests. "ps" exposes enough sysctl information forTheo de Raadt
2015-10-23Allow hw.ncpu sysctl (a few reasons showed up in my mailbox rapidly..)Theo de Raadt
2015-10-22Further study shows "route" should allow all address families in NET_RT_DUMPTheo de Raadt
2015-10-22After some consideration, simply allow TIOCSCTTY in the "tty" pledge.Theo de Raadt
2015-10-22rename ml_join to ml_enlist and expose it to the rest of the kernel.David Gwynne
2015-10-21Setting fcntl(F_SETOWN) for a pipe failed with inappropriate ioctlAlexander Bluhm
2015-10-20At guenther's suggestion replace dnssocket() with a SOCK_DNS flag onTheo de Raadt
2015-10-20Add SIOCGIFGMEMB to "route" (returns a list of all interfaces who areReyk Floeter
2015-10-20clear whitelisted-paths view in pledge.Sebastien Marie
2015-10-20allow SO_ERROR all the timeTheo de Raadt
2015-10-20Always allow the setsockopt & getsockopt system calls... however, in theTheo de Raadt
2015-10-19Allow setpriority in "proc" as well, since a few shells have "nice"Theo de Raadt
2015-10-19Print vnode type for sendfd/recvfd not file type, ok semarieNicholas Marriott
2015-10-18Instead of fragile CMSG parsing, control pledge "sendfd" and "recvfd"Theo de Raadt
2015-10-18move SS_DNS socket check from kern_plegde.c to sys_generic.cSebastien Marie
2015-10-18getting sloppy, lost a }Theo de Raadt
2015-10-18Move your drink further away... When a program pledged "getpw" fails toTheo de Raadt
2015-10-18TIOCSTI and TIOCSCTTY; oops got the condition backwards.Theo de Raadt
2015-10-18Allow read/write access to /dev/tty when using "tty" pledge.Doug Hogan
2015-10-18syncTheo de Raadt
2015-10-18Add two new system calls: dnssocket() and dnsconnect(). This creates aTheo de Raadt
2015-10-17naddy asks me if __tfork should be allowed by "proc". yes!Theo de Raadt
2015-10-17connect() to an AF_UNIX socket is really read/write, so tell pledge thisTheo de Raadt
2015-10-17Allow the nasty ioctl TIOCSTI in "tty", but also require the "proc"Theo de Raadt