Age | Commit message (Collapse) | Author |
|
no functional change.
|
|
|
|
or nothing.
Inspired by a similar recent change in NetBSD.
|
|
change.
|
|
deraadt@ ok, tested by many for a long time.
|
|
|
|
|
|
ramdisks, too.
|
|
|
|
|
|
|
|
edits by Theo. deraadt@ ok
|
|
|
|
|
|
there and u_long elsewhere.
ok marc@ deraadt@
|
|
remove alpha specific definition of ncpus.
OK (and tested on alpha) deraadt@
|
|
The hotplug pseudo-device passes device attachment and detachment events
to userland. When a device attaches or detaches, the corresponding event
is queued. The events can then be obtained from the queue through the
read(2) call on the /dev/hotplug device file. Each event consists of
event type (attach/detach), device class (DV_*) and device name (sd1 e.g.).
We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64.
Since it was tested only on i386 other archs has it commented out
in GENERIC until tested.
The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@.
Ok deraadt@.
|
|
This allows the kernel to survive reading the disklabel off a 256-bytes/sector
scsi device...
ok deraadt@
|
|
is cold (during startup).
This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and
ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this
flag is set.
ok deraadt@
|
|
ioctl(2), an unprivileged process may allocate a pty and have its owner
and mode set appropriately. This means that programs such as xterm and
screen no longer need to be setuid. Programs using the openpty()
function require zero changes and will "just work".
Designed by beck@ and deraadt@; changes by beck@ with cleanup (and
a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me.
Tested by many.
|
|
|
|
|
|
|
|
note: i only committed some of these.
|
|
|
|
|
|
Tested by mickey@, henning@, ericj@, and beck@.
ok mickey@
|
|
allocation; tested on most archs
|
|
|
|
separate tty registering is gone now that sparc has switched to wscons, and
this makes the code less error-prone.
Also, remove tests for ttymalloc() failure, since it uses M_WAITOK.
ok millert@ deraadt@, tested by various people as well besides me...
|
|
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@
|
|
failure and act appropriately.
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
move chrtoblk and blktochr into MI code.
tested on several archs and ok deraadt@
|
|
|
|
|
|
|
|
the great intial witch hunt, as prompted by tdeval@
os-aix-dso.c: ok henning@
ab.C: ok drahn@
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
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.
|
|
produce typo fixes, but the typo pool is infinite.
|
|
altq is merged into pf and handled through pf.
|
|
In sys_sigreturn - don't uvm_useracc the context address and then copyin
it afterwards. The copyin deals better with finding if the user address is
correct and it's faster.
|
|
Diff generated by Chris Kuethe.
|
|
pages into the queue already containing allocated pages.
breaks i386:setup_buffers() because of this.
|
|
|
|
instead of the pa. Most callers already had it handy and those who didn't
only called it for managed pages and were outside time-critical code.
This will allow us to make those functions clean and fast on sparc and
sparc64 letting us to avoid unnecessary cache flushes.
deraadt@ miod@ drahn@ ok.
|