Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-01 | spl0() is not your friend, use splx() instead. | Miod Vallat | |
2007-11-27 | regen | Artur Grabowski | |
2007-10-27 | Make sure the compat errno mapping arrays go up to ELAST, and correctly | Miod Vallat | |
translate the errnos added over the last few releases. | |||
2007-09-01 | replace the machine dependant bytes-to-clicks macro by the MI ptoa() | Martin Reindl | |
version for i386 more architectures and ctob() replacement is being worked on prodded by and ok miod | |||
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 | |||
2006-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |
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-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-18 | path_index isn't used for anything, so comment it out. idea millert@ | Ted Unangst | |
2003-11-17 | add a missing bounds check that allowed a stack overrun. reported by | Ted Unangst | |
Georgi Guninski. also prevent an int overflow. ok millert@ | |||
2003-11-03 | verify exec headers before attempting malloc. reported by Georgi Guninski. | Ted Unangst | |
2003-10-01 | out-of-bound memory access. deraadt ok | Jun-ichiro itojun Hagino | |
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-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-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-22 | Change the vnode locking in exec to not keep the vnode locked almost all | Artur Grabowski | |
the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case. | |||
2002-08-02 | More possible int overflows found by Silvio Cesare. | Todd C. Miller | |
ibcs2_stat.c one OK by provos@ | |||
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-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-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-08-26 | sync | Theo de Raadt | |
2001-08-26 | there is no need for .bak files | Theo de Raadt | |
2001-07-10 | ANSI C does not like labels: without a statement after that. | Marc Espie | |
Restore missing breaks. | |||
2001-05-16 | regen after removing compatopts | Todd C. Miller | |
2001-05-16 | remove unneeded compatopts | Todd C. Miller | |
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-12-06 | s/packed/__packed__/ | Michael Shalayeff | |
2000-09-07 | common/compat_util.c | Eric Jackson | |
2000-08-30 | remove duplicate inclusion of sys/ioctl.h | Brad Smith | |
2000-04-21 | O_FYNC -> O_SYNC | Todd C. Miller | |
2000-03-05 | fix size check case for getgroups; pbucich@sion.com | Theo de Raadt | |
1999-11-20 | ioctl arguments are u_long. | Marc Espie | |
Replaces `undefined' code with `defined' behavior... gcc 2.96 performs switch cases range analysis, warns about unreachable cases, and weeds them out. In switch(i) { case VALUE: } VALUE is first coerced into the type of i. If i is signed, VALUE is unsigned and exceeds i range, you lose... the result of the conversion is undefined. | |||
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-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-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-23 | Kill svr4 #pragma pack. | Marc Espie | |
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |