Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-05-12 | strlcpy; tedu ok | Theo de Raadt | |
2003-05-10 | Deprecate the swapon system call and move it to COMPAT_25 land, since swapctl | Miod Vallat | |
has been introduced for this release. ok deraadt@ weingart@ | |||
2003-04-29 | Deprecate omsync syscall, and only enable it if COMPAT_25 is required. | Miod Vallat | |
ok deraadt@ | |||
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 | |||
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
2002-10-30 | Implement osetre[ug]id() in terms of setres[ug]id(). | Todd C. Miller | |
2002-10-03 | Check for negative values here too. "makes sense" mickey@, ok deraadt@ | Thomas 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-07-20 | Instead of copying out the signal trampoline on top of the stack, create | Artur Grabowski | |
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@ | |||
2002-07-14 | More glue needed for cross-compilation | Marcus Watts | |
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-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-01-30 | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | Thomas Nordin | |
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-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-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-19 | correct the logic. | Artur Grabowski | |
2001-08-19 | $%&@#! | Artur Grabowski | |
2001-08-12 | absolutely no need to include vm_parm.h after vm.h | Michael Shalayeff | |
2001-08-11 | Why is it so popular to include <vm/*.h> everywhere? | Artur Grabowski | |
2001-08-11 | Unnecessary includes. | Artur Grabowski | |
2001-06-27 | Remove old vm. | Artur Grabowski | |
2001-05-16 | Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it. | Todd C. Miller | |
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there. | |||
2001-05-16 | kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵ | Todd C. Miller | |
kern_ipc_10.c for other compat modules. | |||
2001-05-14 | use fo_stat in fileops instead of huge switch statements. | Artur Grabowski | |
2001-05-14 | Implement a wrapper round vn_stat that takes the same arguments | Artur Grabowski | |
as soo_stat and pipe_stat. | |||
2001-05-14 | More generic arguments to soo_stat. | Artur Grabowski | |
2001-05-14 | More generic arguments to pipe_stat. | Artur Grabowski | |
2001-05-11 | MAP_COPY -> MAP_PRIVATE | Artur Grabowski | |
2001-04-10 | Don't seg-fault on file systems that don't support cookies. Thanks to | Constantine Sapuntzakis | |
Jason Ish for finding this one. | |||
2001-02-19 | spl sanity | Artur Grabowski | |
2001-01-23 | Clamp malloc in compat_43_sys_getdirentries to 64k | Constantine Sapuntzakis | |
We should really get rid of all mallocs in the compat and VOP_READDIRs. | |||
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-10-16 | - Fix for some linux apps that broke with recent changes; from NetBSD | jasoni | |
2000-09-07 | Add bounds checking to stackgap_alloc and return NULL if space cant be | Eric Jackson | |
given. Make emul_find() check for this situation as well. Changes based partly on FreeBSD and NetBSD changes. aaron@ ok | |||
2000-07-27 | some cleanup and add the emul_flags_translate from netbsd to translate | Eric Jackson | |
flags. deraadt@ OK | |||
2000-05-01 | sys_semconfig goes foom | Theo de Raadt | |
1999-11-26 | Use round_page(X) instead of roundup(X, NBPG), use PAGE_SIZE instead of NBPG. | Artur Grabowski | |
1999-09-17 | bad style to include machine/vmparam.h carelessly | Theo de Raadt | |
1999-05-22 | Add new vm_swap code for dynamic swap. From netbsd, munged some by me, and | Tobias Weingartner | |
others. syscall commit pending. | |||
1999-02-26 | vm_sysctl -> uvm_sysctl for uvm | Artur Grabowski | |
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |
1998-12-20 | Use IOV_MAX, not the deprecated UIO_MAXIOV | Todd C. Miller | |
1998-08-05 | add missing check for msg.msg_iovlen <= 0 | Todd C. Miller | |