Commit Graph

161226 Commits

Author SHA1 Message Date
rumble b62e2a9bce Fix typo in dhcpd.conf example. 2007-08-11 18:58:15 +00:00
pooka ea9b8a0046 run realpath() on the mountpath 2007-08-11 18:04:50 +00:00
pooka 643e56125f * move rump_vopwrite_fault() into history - we now support the file
system faulting in pages if it does e.g. fragment reallocation
* get rid of rumpvm_findpage() and always use uvm_pagelookup()
* determine a vnode's cleanness by flagging it as being on the work
  list if we "take" a write fault and removing it from the worklist
  once pages are flushed.  There is no work list here, but at least
  there is symmetry with the kernel.
2007-08-11 17:52:12 +00:00
jnemeth a7fddb6456 regem 2007-08-11 02:06:12 +00:00
jnemeth 20861ef7a0 PR/36759 - Christoph Egger -- AMD product updates 2007-08-11 02:05:11 +00:00
dyoung 75929630cc Read the PCI latency timer from the right register, using the right
macro.
2007-08-11 00:45:35 +00:00
dyoung abb1098904 Make pccbb(4) use more PCI configuration register definitions,
especially the Bridge Control Register definition, instead of
rolling its own.

As we read/modify/write configuration registers, use a variable
that is named for the register we're r/m/w'ing, instead of using
the variable 'reg' over and over.  This helps both a human reader
verify that we're not reading register X, modifying it, and writing
back to register Y (oops); the compiler can help a little by warning
that a variable is used before it is initialized.
2007-08-11 00:31:04 +00:00
dyoung 3a1d58e9a8 Constify. Use satocsdl() and satosdl(). 2007-08-10 23:55:54 +00:00
dyoung 4e20c97fe0 Remove unused definitions CB_CHIPS_LAST and cb_chipset_name. Add
a type code for the Texas Instruments PCI1420 PCI-CardBus bridge,
CB_TI1420, which I will use in the near future.
2007-08-10 22:57:54 +00:00
dyoung 596a16c16b Don't run ctags(1) on sys/altq/altq.h, it redefines useful NetBSD
tag targets.
2007-08-10 22:50:12 +00:00
dyoung b40a86e49c Use sockaddr_dl_init(). 2007-08-10 22:46:16 +00:00
dyoung ddf36c7b8b Constify. bcopy -> memcpy. 2007-08-10 22:44:05 +00:00
dyoung d7d71cd2b5 Constify. 2007-08-10 22:43:26 +00:00
dyoung 219b1f1507 Add offset for Host Bridge Target Interrupt Control register. 2007-08-10 22:39:13 +00:00
dyoung 1f33e95d60 Use __arraycount(). 2007-08-10 22:38:03 +00:00
dyoung ca87560b9d Fix 'tags' target: ${COMM} overflows the echo command line, so
use ${FINDCOMM} instead.
2007-08-10 22:36:59 +00:00
dyoung ffbbd3ac2d Fix kernel compilation with 'options KSTACK_CHECK_MAGIC': change
'void *' to 'char *' so pointer arithmetic will work.
2007-08-10 21:50:48 +00:00
drochner b36bcf93ef make the hypot/atan2 functions weak aliases, because they are used
internally by the historical cabs(), and the future c99 cabs/carg
2007-08-10 21:20:35 +00:00
tsutsui 26ba3dff65 More style nits. 2007-08-10 17:44:18 +00:00
tsutsui 2c1e4e89f3 Some style nits. 2007-08-10 16:59:41 +00:00
tsutsui 69819deda6 Lookup boothowto flags in bootinfo. 2007-08-10 16:48:24 +00:00
tsutsui 17c3dbc6c5 Parse boot_flags specified on boot prompt and
pass decoded boothowto value to kernel via bootinfo.
2007-08-10 16:47:06 +00:00
nonaka 05cbb430da Added wscons to ramdisk for tpctl. 2007-08-10 16:23:59 +00:00
yamt c379ad6567 - instead of scanning an array of iods, maintain a list of idle iods.
- make nfs_getset_niothreads MP friendly.
2007-08-10 15:12:56 +00:00
joerg 1c929a1104 Print the polarity and trigger flags as well. Can help with debugging
on fancy notebooks.
2007-08-10 14:34:56 +00:00
taca 1539dbb71c Add support for BCM5786 with simply adding its PCI product id.
Testing on Fujitsu FMV-D5240 and works fine.
2007-08-10 12:27:35 +00:00
pooka 62234858c3 * use more sensible perms
* use mounter uid/gid as file owners
* sprinkle static
2007-08-10 08:13:11 +00:00
pooka f49fa2014c add mount_sysctlfs.8 2007-08-10 07:59:32 +00:00
mishka 6e6d7fe39f Adjust wscons.conf documentation to its current 'setvar' behavior
(rc.d/wscons is now able to set variables for arbitrary control device).
2007-08-10 06:14:08 +00:00
pooka e0876492cd __RCSID police 2007-08-09 22:03:20 +00:00
pooka ef86ff763c add sysctlfs 2007-08-09 22:03:01 +00:00
pooka ba4e596bc9 move sysctlfs from examples to base 2007-08-09 22:01:25 +00:00
pooka 5b593f2aeb require standard mount_foo bar /path usage, where bar is ignored here 2007-08-09 21:54:27 +00:00
pooka 4a7c7712c6 * require standard mount_foo bar /path usage, where bar is ignored here
* allow only root callers to modify sysctl tree
2007-08-09 21:54:16 +00:00
pooka c3bc94628d Play catchup with ufs/ffs changes: compile subr_specificdata.c
and emulate kmem_foo() to support the prior.
2007-08-09 20:57:22 +00:00
pooka b4b6be82da do the shuffle: move mount_specificdata stuff from vfs_subr to vfs_subr2 2007-08-09 20:55:30 +00:00
joerg 1c0eed0117 Fix typo. 2007-08-09 18:50:58 +00:00
bouyer 67f8e5f5ce Pass the right value to VLAN_INPUT_TAG(), this makes vlan(4) on bnx(4) work. 2007-08-09 18:10:20 +00:00
kiyohara 1d0746259f Use bitmask_snprintf(). 2007-08-09 16:54:21 +00:00
nonaka fad0ea915b build and install zbsdmod.o. 2007-08-09 16:08:58 +00:00
he fd961c4429 Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().

Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.

Document the LOCAL_PEEREID socket option in unix(4).

Based on contribution by Arne H. Juul, minor modifications by myself.
2007-08-09 15:23:01 +00:00
pooka 36c0b176cc Fix it a bit & wait for the dust to settle. Also, enable UBC by default.
ffs in userspace on top of puffs/p2k/rump is now stable enough to
host a make -j4 kernel build (well, at least my kernel build ...
but, yes, I am currently running that kernel on my desktop)
2007-08-09 13:53:36 +00:00
pooka c1649dbc9e * fix symlink
* actually call a couple of VOPs
2007-08-09 11:59:16 +00:00
pooka 0a371e70c2 deal with holes in getpages() 2007-08-09 11:18:13 +00:00
pooka 58b908ae12 Flush file's pages in inactive (they'll still be kept in the kernel
page page if it's enabled).  This very easily takes care of memory
management problems except for large files.
2007-08-09 09:54:36 +00:00
hannken d56e8d1456 Move the fstrans-aware lock vnops from ufs to ffs. Other ufs file systems
do not need them.

Ride on 4.99.28
2007-08-09 09:22:34 +00:00
pooka 37698f56d6 Enable lfs in r/o mode, i.e. does not start lfs_clean-nerd and do
any real trickery.  Unfortunately this was the easy part; r/w
support is going to make ascending naked, blind, illiterate, without
food and as an atheist look trivial.
2007-08-09 09:19:30 +00:00
pooka cb6989bfcf fool some KASSERTs 2007-08-09 09:11:57 +00:00
pooka c36b0d0bc4 whoops, committed old signature of vrele2() 2007-08-09 09:06:44 +00:00
pooka 2c3d0e9d16 Add some stubs for lfs. 2007-08-09 08:56:44 +00:00