Age | Commit message (Collapse) | Author | |
---|---|---|---|
1998-08-30 | Cleanup. | Constantine Sapuntzakis | |
Error diagnostics in vputonfreelist to catch violations of assumptions. | |||
1998-08-30 | sync | Theo de Raadt | |
1998-08-30 | clean | Theo de Raadt | |
1998-08-30 | regen with xfspioctl | Artur Grabowski | |
1998-08-30 | glue for xfspioctl syscall | Artur Grabowski | |
1998-08-30 | glue for xfs | Artur Grabowski | |
1998-08-27 | Undo changes which were not discussed. | Theo de Raadt | |
1998-08-27 | defopt NTP | Michael Shalayeff | |
1998-08-17 | Make sure the file system is unbusied on error. | Constantine Sapuntzakis | |
1998-08-17 | Fix turd left over from soft updates patch. | Constantine Sapuntzakis | |
MNT_LAZY is not a bit flag. | |||
1998-08-08 | Document the locking discipline a bit better | Constantine Sapuntzakis | |
1998-08-07 | Fix portal FS & PR #556 | Constantine Sapuntzakis | |
Basically, if file system consumes the slashes at the end of a component, don't require that the component is a directory. | |||
1998-08-06 | Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlock | Constantine Sapuntzakis | |
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts). | |||
1998-08-05 | return EMSGSIZE, not EINVAL is msg_iovlen <= 0 as per XPG 4.2 | Todd C. Miller | |
When comparing against UIO_SMALLIOV/UIO_MAXIOV check for >, not >= | |||
1998-08-05 | delete bogus casts of msg_iovlen to u_int since msg_iovlen is already a u_int | Todd C. Miller | |
1998-07-28 | writev takes an int as param #3; theo | Todd C. Miller | |
1998-07-28 | For read, write, send, sendto, recv, recvfrom return EINVAL is size arg > ↵ | Todd C. Miller | |
SSIZE_MAX. For readv, writev, sendmsg, recvmsg return EINVAL if sum of the over iov_len values overflows an ssize_t. Based on what XPG 4.2 says (though XPG is not entirely consistent here). Basically since the return value is ssize_t allowing size > SSIZE_MAX is bad since people who (incorrectly mind you) check the return value for < 0 instead of == -1 will have bad things happen to them. | |||
1998-07-28 | Don't assume uio_resid can go negative when detecting oflow | Todd C. Miller | |
1998-07-28 | Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵ | Todd C. Miller | |
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more | |||
1998-07-13 | Part 1) of a fix to the "mount /mnt /mnt" problem. | Constantine Sapuntzakis | |
Don't mount the file system in the kernel name space before calling VFS_MOUNT. | |||
1998-07-13 | ftpd: sleep for an indeterminate amount for non-existant logins | Todd C. Miller | |
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there. | |||
1998-07-08 | open fd1 and fd2 as FREAD|FWRITE | Theo de Raadt | |
1998-07-07 | per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM. | Theo de Raadt | |
As permitted, make the truncated buffer be NUL terminated. make getdomainname() match. | |||
1998-07-02 | I suppose debugging code can be removed | Theo de Raadt | |
1998-07-02 | for sugid procs ensure that fd 0-2 are allocated slots (by pointing at | Theo de Raadt | |
/dev/null -- future patch will use a dead vnode of some sort) to prevent reuse (ie. new allocations) of these fd which libc makes many assumptions about; problem noted by James Youngman | |||
1998-06-27 | securelevels do NOT protect running binaries; only filesystem activity | Theo de Raadt | |
1998-06-14 | fix compat shmctl/IPC_STAT | Matthieu Herrb | |
1998-06-12 | sync | Theo de Raadt | |
1998-06-12 | ifdef the new sem/shm/msg syscalls | Theo de Raadt | |
1998-06-11 | change ipc.h to use uid_t and friends, and then build compat system calls ↵ | Theo de Raadt | |
for the old ushort based ipc.h | |||
1998-06-11 | sync | Theo de Raadt | |
1998-06-11 | move shm/msg/sem calls because ipc.h is getting uid_t and friends | Theo de Raadt | |
1998-06-09 | do not permit ptrace attach to immutable executable | Theo de Raadt | |
1998-06-09 | if we are being ptraced, do not permit execve of an immutable binary | Theo de Raadt | |
1998-06-07 | permit SIGUSR1/USR2 through as well in cansignal() | Theo de Raadt | |
1998-06-02 | Integrated fix from NetBSD kern/5357. | Constantine Sapuntzakis | |
1998-06-02 | add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; ↵ | Theo de Raadt | |
mostly from kleink | |||
1998-06-02 | sync | Theo de Raadt | |
1998-06-02 | const mlock(2) and munlock(2) | Theo de Raadt | |
1998-05-30 | permit sig 0 (existance checking) to setuid parents; ibo@ragnarok.val-axs.net | Theo de Raadt | |
1998-05-18 | add more signals to setuid part of cansignal() | Theo de Raadt | |
1998-05-17 | convert CANSIGNAL() macro into a function, and then add significant constraints | Theo de Raadt | |
regarding setuid/setgid targets (this is permitted by POSIX, and solves a number of security issues). This is due to a conversation months ago with dholland@hcs.harvard.edu. | |||
1998-05-17 | for acct(), vn_open() with O_APPEND flag so that append-only files work; | Theo de Raadt | |
problem pointed out by andrew@untraceable.net | |||
1998-05-11 | extra const | Theo de Raadt | |
1998-05-11 | Formerly reuse of unit numbers of detached devices was impossible, with | Niklas Hallqvist | |
this change starred devices will search from the first allowed unit for such devices and up for free units when attaching. This means you have to rerun config(8) before yopu compile current kernels. FYI, this is a necessity when doing PCMCIA flashcard reading, otherwise you soon run out of unit numbers. I have also added a way to detach all children of a certain device, used in a new PCMCIA framework to come, so you detach all functions on a single PCMCIA card when pulling it out. A few bugs wrt starred devices fixed in the autoconfig_verbose code too. Last and least, fixed some panic messages. | |||
1998-05-11 | sync | Theo de Raadt | |
1998-05-11 | const a few more calls | Theo de Raadt | |
1998-05-11 | compile if iov_base is void * | Theo de Raadt | |
1998-04-26 | Allow PF_LOCAL as the proto arg in socketpair(2). Previously, only | Todd C. Miller | |
PF_UNSPEC would work. Needed for general sanity as well as XPG4.2. | |||
1998-04-25 | sync | Theo de Raadt | |