Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-01-30 | regen now that setreuid/setregid have moved out of compat and into kern | Todd C. Miller | |
2003-01-30 | Bring back setreuid(2) and setregid(2) as first class syscalls | Todd C. Miller | |
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK | |||
2003-01-04 | spelling | Theo de Raadt | |
2002-08-23 | Just like getvnode, make getsock FREF the file so that we can't get away | Artur Grabowski | |
with not refing it. Eyeballed by lurene@daemonkitty.net, fries@, nordin@ and fries@ Some additional cleanups by nordin@ | |||
2002-08-23 | Cleanup change. Since almost all callers (except one) of getvnode did a FREF | Artur Grabowski | |
on the returned file, do the FREF inside getvnode so that people can't get away with avoiding FREF and FRELE. Eyeballed by various people. | |||
2002-08-23 | FREF/FRELE cleanup/simplification, no functional changes; ok art | Peter Valchev | |
2002-07-25 | Avoid time wrap at securelevel 2. ok millert@ fgsch@ | Thomas Nordin | |
2002-03-14 | remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵ | Michael Shalayeff | |
they are and declarre 'em accordingly also removing private externies of those | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-14 | Regen after syscall changes (option PTRACE) | Miod Vallat | |
2002-03-14 | Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in | Miod Vallat | |
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks. | |||
2002-02-14 | More FREF/FRELE fixes | Peter Valchev | |
2002-02-13 | More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl ↵ | Artur Grabowski | |
functions in sys/compat are left. | |||
2002-02-12 | More FREF/FRELE protection. This time all users of getvnode. | Artur Grabowski | |
2002-02-12 | Fix all users of getsock to use FREF/FRELE properly. | Artur Grabowski | |
2002-02-02 | Be more consistent about using fd_getfile where it matters. | Artur Grabowski | |
2001-11-15 | New function vn_marktext - mark a vnode as executing a text image. | Artur Grabowski | |
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet). | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-10-31 | There is no need to fake handling of /dev/zero here. The vm system ↵ | Artur Grabowski | |
ultrix/ultrix_misc.c sunos/sunos_misc.c does this automagically (and has done it for ages). | |||
2001-10-26 | - every new fd created by falloc() is marked as larval and should not be used | Artur Grabowski | |
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile. | |||
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |
2001-08-26 | sync | Theo de Raadt | |
2001-08-26 | there is no need for .bak files | Theo de Raadt | |
2001-08-11 | redundant includes. | Artur Grabowski | |
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
2001-05-16 | regen after removing compatopts | Todd C. Miller | |
2001-05-16 | remove unneeded compatopts | Todd C. Miller | |
2001-05-05 | Remove the (vaddr_t) casts inside the round_page and trunc_page macros. | Artur Grabowski | |
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts. | |||
2001-01-26 | fix compile error by including compat_dir.h | Marco S Hyman | |
2001-01-23 | SunOS, IBCS2, Linux, and SVR4 all require translations of directory entries | Constantine Sapuntzakis | |
from OpenBSD format to their respective native formats. A lot of common code here for interfacing with OpenBSD VOP_READDIR. Most of this code and logic has been moved to common/compat_dir.c When reading a portion of the directory, the compatibility layer registers a callback which is passed an OpenBSD-style dirent and the cookie/offset. | |||
2000-08-15 | keep file naming consistent, rename exec.h -> sunos_exec.h | Brad Smith | |
2000-04-21 | O_FYNC -> O_SYNC | Todd C. Miller | |
2000-01-22 | minor getdents cleanup: | Todd C. Miller | |
o return ENOTDIR, not EINVAL for v_type != VDIR (SunOS behavior) o return EINVAL for values of nbytes too small to hold a single dir entry o remove a redundant check for error != 0 | |||
1999-11-26 | Use round_page(X) instead of roundup(X, NBPG), use PAGE_SIZE instead of NBPG. | Artur Grabowski | |
1999-11-10 | include syscallnames only if compiling w/ SYSCALL_DEBUG. | Michael Shalayeff | |
was already so for native and sunos, the rest was just wasting space on it. niels@ millert@ ok | |||
1999-07-02 | sparc -> __sparc__ | Brad Smith | |
1999-06-07 | sync | Theo de Raadt | |
1999-06-07 | replacement pipe() system call; copies data into place inside kernel, so | Theo de Raadt | |
that EFAULT return value is possible | |||
1999-06-03 | use __sparc__ just in case | Theo de Raadt | |
1999-05-21 | remove duplicate contents from Makefile | Brad Smith | |
1999-02-10 | Correct directory entry reads, big directories lost entries as it were. | Niklas Hallqvist | |
Also, fix the NCR SVR4 rdebug syscall emulation. | |||
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |
1998-04-26 | NetBSD merge | Niklas Hallqvist | |
1998-04-26 | New audio adaption; netbsd | Niklas Hallqvist | |
1998-03-23 | regen | Todd C. Miller | |
1998-03-23 | Emulated version of SunOS ostime(2) wass totally wrong. For now | Todd C. Miller | |
we will just return EPERM. Correct code is #if 0'd out as it needs to call settime() which is static to kern_time.c (and it's not clear that we really want to be setting the clock from an emulated program anyway). | |||
1998-03-23 | Emulate otimes(2) | Todd C. Miller | |
1997-12-18 | support GETLK,SETLK,UNLK etc like svr4 code does; pk | Theo de Raadt | |
1997-12-04 | vfs lite2 changes things... | Theo de Raadt | |
1997-11-30 | fix TIOCGPGRP in sunos emulation | Theo de Raadt | |