summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tame.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename tame() to pledge(). This fairly interface has evolved to be morederaadt2015-10-091-1241/+0
* Rename tame() to pledge(). This fairly interface has evolved to be morederaadt2015-10-091-328/+328
* Expose a small set of multicast join operators under the request "mcast".deraadt2015-10-081-2/+18
* setsockopt has a small list of options it can set. If we find ourselvesderaadt2015-10-081-1/+8
* Only in TAME_ROUTE, allow ioctl SIOCGIFADDR/SIOCGIFFLAGS/SIOCGIFRDOMAIN,deraadt2015-10-081-1/+12
* Split out routing sysctl's from tame "inet", and put them into thederaadt2015-10-071-44/+55
* Add the tame "exec" request. This allows processes which requestderaadt2015-10-071-1/+18
* A process should be able to do sigpending for itselfderaadt2015-10-061-1/+2
* For TAME_PROC, allow setrlimit()deraadt2015-10-061-1/+2
* When "proc" is requested, allow setpgid() and sigsuspend().deraadt2015-10-061-1/+7
* Add new "tty" request, which allows TIOCGETA, TIOCGPGRP, TIOCGWINSZ,deraadt2015-10-061-22/+36
* Rework the tame cmsg handler to make it work both ways. While on recv oneclaudio2015-10-061-19/+10
* oops, namei was never allowing through valid CPATH operationsderaadt2015-10-061-2/+3
* Add getrusage() to the TAME_SELF catagory.deraadt2015-10-061-1/+2
* Enable ioctl() in the "rw" request, to support FIONREAD/FIONBIO easierderaadt2015-10-061-60/+48
* Move getcwd to a seperate area, with a hand-waving explanation for whyderaadt2015-10-041-2/+7
* Allow sysctl read of vm.vm_psstrings, as setproctitle() uses this toderaadt2015-10-041-1/+7
* spellingderaadt2015-10-041-2/+2
* Add ktracing of tame()'s arguments' valuesguenther2015-10-031-1/+9
* I see no evidence that lstat() is being done for /etc/resolv.conf, norderaadt2015-10-021-2/+2
* kern_tame.cderaadt2015-10-021-2/+3
* Actually, open of /etc/spwd.db must be handled by returning EPERM, notderaadt2015-10-021-1/+3
* mention these pathname calls are checked in nameideraadt2015-10-021-5/+5
* remove some debug printf no longer neededderaadt2015-10-021-15/+4
* changed my mind; block spwd.db, force drop-through to pwd.db for processes under tamederaadt2015-10-021-3/+1
* Fix tame(2) setsockopt check for TCP level.doug2015-10-011-1/+3
* add IPv6 equivalents for the permitted IPv4 setsockopts, noticed by doug@,sthen2015-10-011-1/+9
* implement new "prot_exec" tame(2) request:semarie2015-09-301-2/+3
* Reluctantly classify statfs and fstatfs as RPATH for now, because theyderaadt2015-09-291-3/+4
* make using tame path "/" work.semarie2015-09-281-2/+3
* In the internal conversion of _TM_* to TAME_*, some bits were lost forsemarie2015-09-191-3/+3
* Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerguenther2015-09-131-2/+2
* Convert _TM_ flags to TAME_ flags, collapsing the entire mappingderaadt2015-09-111-200/+200
* Only include <sys/tame.h> in the .c files that need itguenther2015-09-111-1/+2
* Move to next tame() API. The flags are now passed as a very simple string,deraadt2015-09-091-3/+63
* the special check logic for /usr/share/nls/../libc.cat became failurederaadt2015-09-011-3/+3
* Corrects a use-after-free in tame_namei().semarie2015-09-011-2/+2
* Consider getfsstat() a RPATH, even though it has no path in it. We mayderaadt2015-08-311-1/+5
* spaces snuck inderaadt2015-08-311-13/+12
* use ENAMETOOLONG instead of EINVAL for errno when string overflow occurs.semarie2015-08-261-3/+3
* After a report from jsg about a memory leak (or was it a double free?),deraadt2015-08-261-38/+26
* Add TIOCGETA to the tame list for TAME_IOCTL.doug2015-08-261-1/+2
* Convert paths argument of tame(2) to const char **.doug2015-08-261-3/+3
* remove duplicate SYS_utimes entryjsg2015-08-251-2/+1
* corrects two potential double-free on `cwdpath'. The variable will be free'edsemarie2015-08-241-3/+1
* Initialize cwdpath so free() is properly handled.doug2015-08-241-2/+2
* fix /tmp handling of unlink(); from Caspar Schutijserderaadt2015-08-231-2/+2
* Perform maximum one cwd lookup in tame(), also make namei version look thederaadt2015-08-231-36/+47
* Canonicalize non-rooted paths after cwd prepend.deraadt2015-08-231-30/+51
* check correct offset for terminator; with semariederaadt2015-08-231-2/+2