Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-05 | regen | Miod Vallat | |
2008-01-05 | Mark vadvise(2) as obsolete and remove its implementation, so instead of | Miod Vallat | |
returning EINVAL, you'll get ENOSYS. No serious code has used this system call in at least fifteen years. The libc stub will be removed at the next major crank time. ok henning@ deraadt@ krw@ toby@ | |||
2007-11-27 | regen | Artur Grabowski | |
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2005-12-30 | Missing or incorrect header sizes bounds check; ``looks ok'' mickey@ | Miod Vallat | |
2004-09-19 | constify speedtabs and make ttspeedtab() take a const struct speedtab * | Michael Shalayeff | |
2004-07-09 | regen | Todd C. Miller | |
2004-07-09 | Rename ostat -> stat43 to disambiguate from upcoming struct stat changes. | Todd C. Miller | |
Idea from NetBSD, OK deraadt@ | |||
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
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@ | |||
2004-06-22 | do not bcopy wrong stuff there | Theo de Raadt | |
2004-05-28 | regen | Ted Unangst | |
2004-05-28 | ACCOUNTING is optional. found by mpech. ok deraadt | Ted Unangst | |
2004-02-01 | Trivial touches to compile with gcc 3. | Miod Vallat | |
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-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | some license cleanup | Theo de Raadt | |
2003-05-11 | sync | Theo de Raadt | |
2003-05-11 | finish compat swapon cleanup | 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-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 | |