| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | recompute len when the path is absolute as canonpath could have shrink it | 2015-08-23 | 1 | -2/+3 | ||
| | | | | | OK deraadt@ | |||||
| * | Move to tame(int flags, char *paths[]) API/ABI. | 2015-08-22 | 1 | -77/+250 | ||
| | | | | | | | | | | | | | The pathlist is a whitelist of dirs and files; anything else returns ENOENT. Recommendation is to use a narrowly defined list. Also add TAME_FATTR, which permits explicit change operations against "struct stat" fields. Some other TAME_ flags are refined slightly. Not cranking libc now, since nothing commited in base uses this and the timing is uncomfortable for others. Discussed with many; thanks for a few bug fixes from semarie, doug, guenther. ok guenther | |||||
| * | Whitelist TIOCGPGRP (for tcgetpgrp()) in TAME_IOCTL. | 2015-08-21 | 1 | -1/+2 | ||
| | | | | | | | Requested by Sunil Nimmagadda to help tame http. ok deraadt@ | |||||
| * | reactivate tame() | 2015-08-20 | 1 | -5/+1 | ||
| | | ||||||
| * | Neuter tame(2) with ENOSYS for upcoming release cycle, in a fairly | 2015-07-29 | 1 | -1/+5 | ||
| | | | | | simple and gross fashion, but the least impact on other parts... | |||||
| * | normalize disclaimer to license.template; noted by reyk | 2015-07-28 | 1 | -4/+4 | ||
| | | ||||||
| * | Rather than disabling tame to coredump, leave it enabled but flag that | 2015-07-27 | 1 | -1/+4 | ||
| | | | | | | a coredump is happening. This improves behaviour while threaded. ok semarie | |||||
| * | enforce tame by disabling all TAME_ flags if tame_fail() is reach, and not only | 2015-07-27 | 1 | -2/+3 | ||
| | | | | | | | if TAME_ABORT is setted. ok deraadt@ | |||||
| * | Replace TIOCSWINSZ with TIOCGWINSZ in tame(2). | 2015-07-23 | 1 | -2/+2 | ||
| | | | | | ok deraadt@ | |||||
| * | Slam signal handlers harder in tame_fail(), found by semarie. | 2015-07-22 | 1 | -20/+9 | ||
| | | | | | | Also delete some prototype KTRACE code which is not headed in the right direction. | |||||
| * | Always permit kbind (for dynamic linking) and add __thrsigdivert to the | 2015-07-21 | 1 | -2/+4 | ||
| | | | | | | | SELF list like the other threading calls ok deraadt@ | |||||
| * | crudely canonicalize paths before taming them. ok deraadt doug | 2015-07-20 | 1 | -2/+72 | ||
| | | ||||||
| * | Allow the sched_yield, __thrsleep, __thrwakeup, and __threxit syscalls | 2015-07-20 | 1 | -1/+7 | ||
| | | | | | | | when using tame(2). This allows threaded programs to work. OK deraadt@ | |||||
| * | In _TM_SELF, permit uname(3); OK deraadt@. | 2015-07-20 | 1 | -3/+18 | ||
| | | ||||||
| * | Be more paranoid and don't let any ioctls through with invalid file | 2015-07-20 | 1 | -3/+4 | ||
| | | | | | descriptors. | |||||
| * | Don't try to dereference fp if it is NULL, ok deraadt | 2015-07-20 | 1 | -2/+5 | ||
| | | ||||||
| * | tame_cmsg_send and tame_cmsg_recv are called with the data set to a file | 2015-07-20 | 1 | -7/+16 | ||
| | | | | | descriptor, so call fd_getfile to get a struct file *. ok deraadt | |||||
| * | getpagesize() may occur late in programs; permit it | 2015-07-20 | 1 | -2/+6 | ||
| | | ||||||
| * | Add setgroups(2) to TAME_PROC, ok deraadt | 2015-07-20 | 1 | -1/+2 | ||
| | | ||||||
| * | In TAME_IOCTL, permit BIOCGSTATS on a vnode. We don't drill down deeper | 2015-07-20 | 1 | -1/+7 | ||
| | | | | | yet to verify it is a bpf node. Will be used by tcpdump privsep side. | |||||
| * | Repair various strncmp lengths, noticed by Brandon Casey | 2015-07-19 | 1 | -6/+9 | ||
| | | ||||||
| * | tame(2) is a subsystem which restricts programs into a "reduced feature | 2015-07-19 | 1 | -0/+784 | ||
| operating model". This is the kernel component; various changes should proceed in-tree for a while before userland programs start using it. ok miod, discussions and help from many | ||||||
