Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
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-03-11 | Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional. | Artur Grabowski | |
They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha. | |||
2002-02-22 | Extended Attribute support from FreeBSD/TrustedBSD ok art@, deraadt@ | Dale Rahn | |
2002-02-16 | Make this compile. | Miod Vallat | |
2002-02-14 | More FREF/FRELE fixes | Peter Valchev | |
2002-02-13 | Ooops. unbreak after last. | Artur Grabowski | |
noted by pvalchev@ | |||
2002-02-13 | FREF/FRELE where required due to fd_getfile. | jasoni | |
- ok art@ | |||
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 | test before commit | Theo de Raadt | |
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-08 | Opps. unbreak. | Artur Grabowski | |
2002-02-08 | - Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't have | Artur Grabowski | |
the same semantics as NetBSD anyway, so it's good to avoid name collissions. - Always fdremove before freeing the file, not the other way around. - falloc FREFs the file. - have FILE_SET_MATURE FRELE the file (It feels like a good ortogonality to falloc FREFing the file). - Use closef as much as possible instead of ffree in error paths of falloc:ing functions. closef is much more careful with the fd and can deal with the fd being forcibly closed by dup2. Also try to avoid manually calling *fo_close when closef can do that for us (this makes some error paths mroe complicated (sys_socketpair and sys_pipe), but others become simpler (sys_open)). | |||
2002-02-08 | Remove some commented out FILE_UNUSE (incorrect) | Artur Grabowski | |
2002-02-06 | emulate linux behaviour by passing ioctl's down to the underlying device | jasoni | |
> From NetBSD; ok art@ | |||
2002-02-04 | sync | Niels Provos | |
2002-02-04 | fcntl64 support; okay deraadt@ | Niels Provos | |
2002-02-02 | Be more consistent about using fd_getfile where it matters. | Artur Grabowski | |
2002-01-30 | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | Thomas Nordin | |
2002-01-22 | call osf1_exec_ecoff_hook for osf1 bin's | Eric Jackson | |
2002-01-16 | Don't include <sys/map.h> when you don't need what's in it. | Miod Vallat | |
2001-11-30 | Only m68k-based architectures need to include <machine/psl.h> here. | Miod Vallat | |
2001-11-28 | Sync in more uvm changes from NetBSD. | Artur Grabowski | |
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead. | |||
2001-11-27 | sync. -moj | Mats O Jansson | |
2001-11-27 | Add clock_gettime. -moj ok art@ | Mats O Jansson | |
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-14 | Compat layer for 1k Vax aout, from NetBSD. | Hugh Graham | |
2001-11-07 | Add an alignment argument to uvm_map that specifies an alignment hint | Artur Grabowski | |
for the virtual address. | |||
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-11-06 | Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument, | Artur Grabowski | |
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD. | |||
2001-11-05 | More fallout from the fd_getfile changes. | Artur Grabowski | |
2001-11-05 | blink-matching-paren should be default in mg | Artur Grabowski | |
2001-11-02 | Fix typo when assigning bds->sem_base. | Todd C. Miller | |
The SVR4 compat stuff needs a serious sync but so far no one has been able to goat Niklas into doing it. | |||
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 | Unbreak. | Artur Grabowski | |
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-10-10 | regen | Artur Grabowski | |
2001-10-10 | Don't roll our own dup, we cen use the standard one. | Artur Grabowski | |
2001-10-02 | Values coming from userland should be bounds checked, even if we put them | Constantine Sapuntzakis | |
there just a couple calls ago. Thanks to Ken Ashcraft of Stanford for finding this bug. | |||
2001-09-21 | Unnecessary wrapper. | Artur Grabowski | |
2001-09-21 | Save some space on the stack for AuxInfo. Dynamic binaries now have the ↵ | Artur Grabowski | |
correct argv. | |||
2001-09-21 | regen | Artur Grabowski | |
2001-09-21 | no need for own implemenation of p{read,write}{,v} | Artur Grabowski | |
2001-09-20 | occured->occurred | Mike Pechkin | |
idea from deraadt@ via NetBSD millert@ ok | |||
2001-09-19 | Unify elf32 and elf64 code with macros. This forced a renaming | Artur Grabowski | |
of a few functions from elf32. | |||
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |