161147 Commits

Author SHA1 Message Date
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
pooka
3de9f5d391 Instead of having lfs muck directly about with vnode free lists,
introduce vrele2(), which allows to release vnodes the way lfs
sometimes wants it:
  + without calling inactive
  + inserting the vnode at the head of the freelist (this is a very
    questionable optimization that isn't even enabled by default,
    but I went along with the same semantics for now)
2007-08-09 08:51:21 +00:00
pooka
dfeea3487b Don't need to use MNT_FORCE here (my original test image was a bit
b0rked), but do stuff MNT_RDONLY down the file system's throat.
2007-08-09 08:33:25 +00:00
tron
b21dec1752 Add code to monitor the disk wedges (see dk(4)) configured on the
system. Based on a patch contributed by Andreas Wrede in PR misc/36747.
2007-08-09 07:50:58 +00:00
pooka
39afc34cc7 * compile subr_time.c from kern/
* some pmap stubs
2007-08-09 07:42:07 +00:00
pooka
5fbd525b19 Shuffle routines which just roll values around from kern_clock.c
and kern_time.c to subr_time.c.
2007-08-09 07:36:18 +00:00
hannken
70cc392f1e Move snapshot per-mount data from struct ufsmount to mount specific data.
No functional changes.

Welcome to 4.99.28  (struct ufsmount changed size)
2007-08-09 07:34:27 +00:00
pooka
1f47971378 pass mntflags to puffs_mount() 2007-08-08 22:45:51 +00:00
joerg
ca08f11a4d Regen config.h. 2007-08-08 22:44:49 +00:00
joerg
06a05a37cc Import pkg_install-20070804: Fix ordering in pkg_order. 2007-08-08 22:38:48 +00:00
macallan
794098d6c6 sync with ppcoea-renovation 2007-08-08 22:19:55 +00:00
pooka
f208ab1cd8 boolean_t -> bool 2007-08-08 21:36:43 +00:00
agc
babe0fc9d8 Apply fix from PR 35283 from David Holland:
ensure that kdump properly escapes newlines in argv
2007-08-08 20:28:11 +00:00
tsutsui
7ff0d7e309 Defer arc_init_wired_map() call after MD ipl_sr_bits[] is initilized
in platform dependent init functions.

arc_init_wired_map() refers ipl_sr_bits[] via
extent_create(9) -> mutex_init(9) -> makeiplcookie(9)
since the partial merge of vmlocking.
2007-08-08 17:26:57 +00:00
pooka
24c0b6d0d0 Provide rump_getvninfo() and use that in libp2k_lookup() to avoid an
extra getattr for stuff the file system already cached in the vnode.
2007-08-08 14:09:07 +00:00
pooka
804db68101 Make genfs_islocked return always 1 instead of 0. But these should
really get tracked ...
2007-08-08 14:07:35 +00:00
ad
41368c8e7e Grab locks in getrusage/getrlimit. 2007-08-08 14:07:11 +00:00
pooka
427705465b Provide rumpmachine bswap.h, which makes bswapxx() call rumpuser
directly instead of relying on a symbol in rumpkern.  I would like
to make it call the libc symbol directly, but I don't currently know
how to make it do that MI.

Makes hfs work (on i386), as it avoids endless recursion in bswap64().
Thanks to dillo for the image!
2007-08-08 13:12:08 +00:00
tsutsui
6abcd959b3 Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
2007-08-08 13:12:06 +00:00
tsutsui
13c8b8da87 Restore a device major for sd(4), which can be attached at atapibus(4).
Fixes part of PR port-shark/36693.
2007-08-08 13:08:11 +00:00
tron
a166a5aeb7 Regen. 2007-08-08 12:53:05 +00:00
tron
cb32f7bb82 Add some Attansis and VIA devices, correct order.
Patch provided by Christoph Egger on "tech-kern" mailing list.
2007-08-08 12:52:41 +00:00
yamt
8e473ee7cb push kernel_lock a little. 2007-08-08 12:27:56 +00:00
drochner
a6b978e197 Round up size arguments as mmap() does.
This is for consistency, and to have semantics similar to Linux --
a Python selftest secceeds now.
2007-08-08 11:08:18 +00:00
tsutsui
917f2a088f Fix typo in debug printf. 2007-08-08 10:43:03 +00:00
tsutsui
6441e4962b Remove obsolete spllowersoftclock(9). 2007-08-08 10:30:50 +00:00
xtraeme
bab89d201b w83627ehf_sensors: don't add sensors with duplicate descriptions.
These are voltage sensors and the VINX name is appropiate.

Found by Heron Gallegos.
2007-08-08 10:09:43 +00:00
pooka
572974402c krwlock_op_t -> const krw_t 2007-08-08 09:34:40 +00:00
pooka
bbae7f4e94 Add hfs. Untested, as I couldn't find a hfs+ image for testing,
so one would be appreciated.  At least it works enough to tell me
this:

hfs: Plain HFS volumes not currently supported
2007-08-08 09:28:53 +00:00
pooka
493dccb979 sprinkle #ifdef _KERNEL 2007-08-08 09:21:34 +00:00