Age | Commit message (Collapse) | Author |
|
'fakerootdev' hackery. This allows us to bring back miod@'s r1.70 subr_disk.c
change to avoid the GENERIC dance when rootdev has been initialized. This
in turn re-enables raidframe root devices.
Add a nice panic if rootdev can't be initialized, displaying the name of the
device that didn't work rather than just blowing up by de-referencing NULL.
ok deraadt@
|
|
after pool_get();
ok beck@
|
|
From: Pierre Riteau pierre.riteau_att_gmail.com
OK miod@
|
|
instead of handrolling...
ok miod@
|
|
as they where called consecutively in vfs_init.
|
|
and shuffle declerations around.
OK blambert@
|
|
for pool_sethardlimit.
prodded by and ok tedu@
|
|
free things when exiting a threaded proc. from philip guenther
|
|
|
|
The option allows a socket to be bound to addresses which are not
local to the machine. In order to receive packets for these addresses
SO_BINDANY needs to be combined with matching outgoing pf(4) divert
rules, see pf.conf(5).
ok beck@
|
|
with eopnotsupp() instead;
ok blambert@
|
|
do appropriate cleanup;
OK deraadt@
|
|
ok fgsch
|
|
and the one route with the lowest number wins. This will be used by the
routing daemons to resolve the synchronisations issue in case of conflicts.
The nasty bits of this are in the multipath code. If no priority is specified
the kernel will choose an appropriate priority.
Looked at by a few people at n2k8 code is much older
|
|
malloc flag, does the same thing.
use it in a few places.
OK tedu@, "then go ahead. and don't forget the manpage (-:" miod@
|
|
setroot() is now (and has been) responsible for setting
the mountroot function pointer "to the right thing", or
failing todo that, to ffs_mountroot;
based on a discussion/diff from deraadt@.
OK deraadt@
|
|
|
|
zero all flags when we pool_put mbufs.
ok claudio@ henning@
|
|
signal sensor that reflects the status of the receiver.
tested by and ok ckuethe
|
|
one thing of note, fifofs changes in that its bmap now
sets the runp too 0, but that was an oversight in the
old code.
ok art@
|
|
filedesc struct and associated fdcopy operation on kernel thread
creation. Instead, kernel threads share and bump reference count
on proc0's filedesc.
ok thib@, "definitely makes sense" art@
|
|
get a timestamp of when the datagram was accepted (by udp(4), for
example) rather than having to take a timestamp with gettimeofday(2)
when recv(2) returns - possibly several hundreds of microseconds later.
May be of use to those interested in precision network timing schemes
or QoS for media applications. Tested on alpha, amd64, i386 and sparc64.
manpage suggestions from jmc, ok deraadt
|
|
MPLS support partly based on the (abandoned?) AYAME project.
Basic LSR (Label Switch Router) functionality is present, but not fully
functional yet.
It is currently possible to insert entries in the LIB (Label Information Base)
with route(8), but setting the operation type is not supported yet.
Imported to allow more people to work on this in the coming weeks.
ok claudio@ laurent@ dlg@
|
|
|
|
ok dlg@
|
|
init the op array functions with whatever the define was set
too.
ok dlg@,blambert@
|
|
developers. if you notice tty weirdnesses in the next few months, talk to
me
|
|
and with exactly the right amount of padding.
diff actually typed in by deraadt@
|
|
|
|
oga@'s upcoming DRM changes and too some degree ratchov@'s audio
work. It still works for bpf's though.
Parts from ratchov@; fstat(1) parts from Pedro Martelletto;
tested by many, ok'ed by a few;
"get going with cloning" deraadt@
|
|
ok deraadt@
|
|
wrong values on 64-bit machines otherwise. ok millert@, deraadt@
|
|
like .25 seconds or 5 seconds. the accuracy of microuptime is not really
needed then, so switch it to getmicrouptime.
ok henning@ art@
|
|
dir-outside-chroot-directory into a chroot jail
ok markus
|
|
the basic idea is that ramdisks boot the same way as swap generic -- this
commit also improves the comment in that area. in this case the one
outlier is raidframe, and those who use it will no longer be able to
put off repairing it -- raidframe must follow the same setroot() / bootdv
API that everything else in the system uses.
debugged with krw
|
|
|
|
booted from to the most precision; preferring the boot device, or if that
is not known, the root device
discussed with miod and reyk
tested by beck
|
|
setroot(), as this neuters RAIDframe autoconfiguration; found the hard way
by naddy@
|
|
at config -e. -moj ok deraadt@
|
|
msg_controllen should be CMSG_LEN() instead of CMSG_SPACE() because
the kernel fd passing code was erroring out when
"cm->cmsg_len != control->m_len"
instead of
"CMSG_ALIGN(cm->cmsg_len) != control->m_len".
On machines with 16-byte alignment, when one thinks about how the ALIGN
padding happens, it is clear that msg_controllen has to be CMSG_SPACE()
or the kernel cannot hope to bounds check the messages correctly.
For now, change the check to cm->cmsg_len > control->m_len to permit the
old ABI to continue working. Later perhaps when all the old binaries
are gone we can stop permitting their use.
lots of discussion with kettenis
|
|
for RB_DFLTROOT; ok miod
|
|
|
|
|
|
and add some to be able to support statvfs(2). Do the compat dance
to provide backward compatibility. ok thib@ miod@
|
|
out-of-bounds array accesses on some platforms.
|
|
translation; abort with ENOENT; ok millert kettenis thib, pr #5752
|
|
From NetBSD, kindly pointed out by YAMAMOTO Takashi.
ok miod@
|
|
sufficient exclusion on alpha, leading to self-locking panics.
|
|
by aligning the stack gap. Fixes gettext port build (and probably many others).
ok miod@, tedu@, tested by sthen@
|
|
machines with more than 4GB of memory. Make sysctl(8) print values obtained
using these sysctls for hw.physmem and hw.usermem.
ok krw@, miod@
|