summaryrefslogtreecommitdiff
path: root/sys/kern/kern_pledge.c
AgeCommit message (Expand)Author
2021-06-29remove arch ifdefs around drm.h includeJonathan Gray
2021-06-26Add powerpc64 and riscv64 to the list of architectures that have DRM.Mark Kettenis
2021-06-09unveil: small cleanup for UNVEIL_INSPECTSebastien Marie
2021-04-30When terminating via pledge_fail() stop all threads, before issuing aTheo de Raadt
2021-03-25Permit kern.somaxconn when the unix pledge is used. Previously this was onlyAaron Bieber
2021-02-03Add SIOCAIFADDR_IN and SIOCDIFADDR_IN to the wroute pledgetobhe
2021-01-20If pledge "wroute" is missing for setsockopt SO_RTABLE, print failureAlexander Bluhm
2021-01-19/etc/malloc.conf path-approval in pledge is no longer needed since 6.5Theo de Raadt
2020-10-29Add feature to force the selection of source IP addressdenis
2020-09-16Move duplicated code to send an uncatchable SIGABRT into a function.Martin Pieuchot
2020-09-16put HW_PHYSMEM64 case under CTL_HW not CTL_KERNJonathan Gray
2020-09-16As discovered by kettenis, recent mesa wants sysctl hw.physmem64, andTheo de Raadt
2020-07-17Allow setsockopt SO_RTABLE when pleding "wroute" soon to be neededFlorian Obser
2020-04-05Declare pledgenames[] as const.Visa Hankala
2020-02-15Consistently perform atomic writes to the ps_flags field of structanton
2020-02-11the pledge_ioctl() rule checker is written in a style which could readTheo de Raadt
2020-02-05Allow programs with the "audio" promise to use the AUDIO_MIXER_xxx ioctls.Alexandre Ratchov
2020-02-04allow reading of sysctl kern.somaxconn in "inet", due toTheo de Raadt
2020-01-23add /etc/protocols to the magic unveil whitelist that the dns pledge hasDavid Gwynne
2019-12-08msyscall(2) is like kbind(2), and should be always permitted. it doesTheo de Raadt
2019-08-25Add SIOCDIFADDR_IN6 to the wroute pledge to allow removal of IPv6 addressespamela
2019-06-26allow more video(4) ioctls for the video pledge (required by chromium)Robert Nagy
2019-06-16SYS___realpath is legitimately PLEDGE_STDIO, because the other pledgeTheo de Raadt
2019-05-13Add a kernel implementation of realpath() as __realpath().Bob Beck
2019-02-14Allow *at variant of mkfifo and mknod, too.Florian Obser
2019-01-22#ifdef video junk as required.Theo de Raadt
2019-01-21Add "video" promise.Landry Breuil
2019-01-18delete vmm(4) in i386pd
2019-01-06the pledge handing for access(2) of /var/run/ypbind.lock is artificiallyTheo de Raadt
2019-01-06fold a bunch of similar sysctl cases into a switch.Ted Unangst
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha
2018-11-06new sysctl for userland malloc flags, kernel part. ok millert@ deraadt@Otto Moerbeek
2018-09-13When unveil(2) was introduced one break from SYS_access case was removedRicardo Mestre
2018-08-20Preparations for arm64 radeondrm(4) support.Mark Kettenis
2018-08-13The first panic in pledge_namei should only be for ni_pledge == 0Theo de Raadt
2018-08-11Get rid of PLEDGE_STAT, which was a hack used for unveil.Bob Beck
2018-08-02Grammar fix in comment.rob
2018-07-27Add SIOCSIFMTU to the wroute pledge.bket
2018-07-15Restore correct behaviour to pledge for access and stat, which was brokenBob Beck
2018-07-13Unveiling unveil(2).Bob Beck
2018-07-12Add hw.ncpuonline to count the number of online CPUs.cheloha
2018-06-25Implement DRI3/prime support. This allows graphics buffers to be passedMark Kettenis
2018-06-20Grab and/or assert for the KERNEL_LOCK() in in ktrace & pledge.Martin Pieuchot
2018-06-16Introduce "wroute" promise.Florian Obser
2018-06-03on i386, libm does sysctl to discover is the system has SSE. WhitelistTheo de Raadt
2018-04-28Remove redundant error checkkn
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
2018-01-09Change `so_state' and `so_error' to unsigned int such that they canMartin Pieuchot
2018-01-08Allow TIOCUCNTL issued on a pty(4) master in promise "tty".Martin Pieuchot
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt