Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-21 | Move contents of sys/select.h to sys/selinfo.h in preparation for a | Todd C. Miller | |
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@. | |||
2005-08-07 | malloc svr4_utsname struct as needed instead of on stack; ok millert | Theo de Raadt | |
2004-06-22 | Replace a whole bunch of scary uses of strncpy() with strlcpy() and | Jean-Francois Brousseau | |
use compat-specific MAXNAMLEN values where appropriate ok millert@, pedro@ | |||
2003-11-23 | check for too-small length in stream debug code | Anil Madhavapeddy | |
discussed with grange@ tedu@ | |||
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-05-07 | string cleaning; ok art tedu | Theo de Raadt | |
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-09 | Remove fetch(9) and store(9) functions from the kernel, and replace the few | Miod Vallat | |
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC | |||
2002-11-06 | maintain refcnt correctly, ok art@ | Niklas Hallqvist | |
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-07-06 | sync | Thomas Nordin | |
2002-07-06 | Remove kernel support for NTP. ok deraadt@ and tholo@ | Thomas Nordin | |
2002-04-25 | unfudge size_t vs. unsigned int parameters. | Marc Espie | |
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-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 | test before commit | Theo de Raadt | |
2002-02-12 | More FREF/FRELE protection. This time all users of getvnode. | 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-02 | Be more consistent about using fd_getfile where it matters. | Artur Grabowski | |
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-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-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-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-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-19 | Unify elf32 and elf64 code with macros. This forced a renaming | Artur Grabowski | |
of a few functions from elf32. | |||
2001-08-28 | don't reference seminfo if SYSVSEM isn't defined | Jason Wright | |
2001-08-26 | remove duplicate syscallargs() macros | Theo de Raadt | |
2001-08-26 | sync | Theo de Raadt | |
2001-08-26 | there is no need for .bak files | Theo de Raadt | |
2001-08-22 | Consolidate svr4_waitsys with our wait4. Fixes gdt_get_slot panic, due to a ↵ | Niklas Hallqvist | |
double cpu_wait invocation. | |||
2001-08-11 | Unnecessary and redundant includes. | Artur Grabowski | |
2001-06-27 | Remove old vm. | Artur Grabowski | |
2001-06-21 | Do not FREE() stuff allocated in a pool | Niklas Hallqvist | |
2001-05-16 | regen after removing compatopts | Todd C. Miller | |
2001-05-16 | remove unneeded compatopts | Todd C. Miller | |
2001-05-14 | Add a fo_stat member to struct fileops. Used soon. | Artur Grabowski | |
Also add a stat function for kqueue from FreeBSD. | |||
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-04-18 | Declare undeclared variable in #ifdef DEBUG_SVR4 | Niklas Hallqvist | |
2001-03-25 | Don't access user space pointer directly. Thanks to dawson and team | Constantine Sapuntzakis | |
2001-03-16 | More copyin bugs. | Constantine Sapuntzakis | |
2001-03-16 | Fix copyin argument order bug. Thanks to Dawson Engler and team. | Constantine Sapuntzakis | |
2001-03-01 | port kqueue changes from freebsd, plus all required openbsd glue. | Niels Provos | |
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org | |||
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. |