summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
1998-07-13Part 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-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd 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-08open fd1 and fd2 as FREAD|FWRITETheo de Raadt
1998-07-07per 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-02I suppose debugging code can be removedTheo de Raadt
1998-07-02for sugid procs ensure that fd 0-2 are allocated slots (by pointing atTheo 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-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-14fix compat shmctl/IPC_STATMatthieu Herrb
1998-06-12syncTheo de Raadt
1998-06-12ifdef the new sem/shm/msg syscallsTheo de Raadt
1998-06-11change 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-11syncTheo de Raadt
1998-06-11move shm/msg/sem calls because ipc.h is getting uid_t and friendsTheo de Raadt
1998-06-09do not permit ptrace attach to immutable executableTheo de Raadt
1998-06-09if we are being ptraced, do not permit execve of an immutable binaryTheo de Raadt
1998-06-07permit SIGUSR1/USR2 through as well in cansignal()Theo de Raadt
1998-06-02Integrated fix from NetBSD kern/5357.Constantine Sapuntzakis
1998-06-02add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; ↵Theo de Raadt
mostly from kleink
1998-06-02syncTheo de Raadt
1998-06-02const mlock(2) and munlock(2)Theo de Raadt
1998-05-30permit sig 0 (existance checking) to setuid parents; ibo@ragnarok.val-axs.netTheo de Raadt
1998-05-18add more signals to setuid part of cansignal()Theo de Raadt
1998-05-17convert CANSIGNAL() macro into a function, and then add significant constraintsTheo 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-17for 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-11extra constTheo de Raadt
1998-05-11Formerly reuse of unit numbers of detached devices was impossible, withNiklas 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-11syncTheo de Raadt
1998-05-11const a few more callsTheo de Raadt
1998-05-11compile if iov_base is void *Theo de Raadt
1998-04-26Allow PF_LOCAL as the proto arg in socketpair(2). Previously, onlyTodd C. Miller
PF_UNSPEC would work. Needed for general sanity as well as XPG4.2.
1998-04-25syncTheo de Raadt
1998-04-25readlink() 3rd param is size_t; XPGTheo de Raadt
1998-04-25typoNiklas Hallqvist
1998-04-06Missing wakeup in unmount error case, yet another amiga release staller :-)Niklas Hallqvist
1998-04-04default to console ddb offTheo de Raadt
1998-03-28nasty indentTheo de Raadt
1998-03-25for *utimes(), deal with tv_sec == VNOVAL; problem noted by ↵Theo de Raadt
syssgm@dtir.qld.gov.au
1998-03-18initialize all fileds in vfsconf when installing a new filesystem.Artur Grabowski
1998-03-17fix vfs lkms + some indentationArtur Grabowski
1998-03-14Changes necesary for new soft updates code. Doesn't affect old soft updatesTodd C. Miller
or kernels without soft updates...
1998-03-06Ensure the correct probe will be run for an OLF binaryNiklas Hallqvist
1998-03-03cleanup printfsTheo de Raadt
1998-03-03GCC 2.8 -Wallryker
1998-03-02Please gcc 2.8Todd T. Fries
1998-03-01crank f_count/f_msgcount to long; when incrementing try to leave 2 slotsTheo de Raadt
empty for unp_gc() in case of cross referenced sockets. part by millert
1998-03-01Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,Niklas Hallqvist
<chuck@openbsd.org>. This code is as of yet disabled on all platforms, actually not yet supported on more than mvme68k, although other platforms are expected soon, as code is already available. This code makes handling of multiple physical memory regions consistent over all platforms, as well as keeping the performance of maintaining a single continuous memory chunk. It is also a requirement for the upcoming UVM replacement VM system. What I did in this merge: just declared the pmap_map function in a MD include file per port that needs it. It's not an exported pmap interface, says Chuck. It ended up in differnt include files on differnet ports, as I tried to follow the current policy on a per-arch basis.
1998-02-25Add command to print out extents. This helps in debugging PnP stuff,Tobias Weingartner
and "it's just plain cool".
1998-02-23Please GCC 2.8 -Wall + some KNFNiklas Hallqvist
1998-02-22Save possible OLF OS tag, or similar deduced ELF info for later perusal.Niklas Hallqvist
KNF. This has been sitting for a long time in my tree now.
1998-02-20Please GCC 2.8's harsher view of good styleNiklas Hallqvist