para
4c6d5e038d
do the bookkeeping right
2012-01-30 17:35:18 +00:00
para
4db6dbc15c
removed code from uvmpdpol_needsscan_p that got there by mistake
...
pointed out by yamt@
2012-01-30 17:21:52 +00:00
he
27b500c23c
Convert from malloc()/free() to kmem_* family of functions.
...
Discussed with and some guidance from para@.
2012-01-30 17:03:58 +00:00
joerg
1350fe098d
Merge for mdocml 1.20.1pre import
2012-01-30 17:03:01 +00:00
dholland
f674bc87d8
Set list updates for libquota minor bump.
...
(the 32-bit lib and debug lib lists really ought to be automatically
generated)
2012-01-30 16:54:46 +00:00
dholland
e8133e8154
Bump libquota minor version (version is now 0.2) because I added some stuff.
2012-01-30 16:52:15 +00:00
dholland
cae8b79fca
Remove unused include.
2012-01-30 16:46:30 +00:00
dholland
5f0d2c5f55
Add quota_quotaon() and quota_quotaoff(). Use them in quotaon(8).
2012-01-30 16:45:13 +00:00
jakllsch
909f9aa64b
Mask all i8259 interrupts in ioapic_enable().
...
Should fix PR kern/45160.
2012-01-30 16:44:23 +00:00
joerg
cf816816a1
Merge mdocml state from 2012-01-30 for various relaxed checks in the
...
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:10 +00:00
dholland
129b8a27f6
Add quota_getrestrictions() to report the semantic restrictions
...
associated with a particular quotahandle.
2012-01-30 16:44:09 +00:00
joerg
0f0fda1c10
Merge mdocml state from 2012-01-30 for various relaxed checks in the
...
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:08 +00:00
dholland
f6b247aa3b
Add quota_getrestrictions() to report the semantic restrictions
...
associated with a particular quotahandle.
2012-01-30 16:44:08 +00:00
joerg
94561435e1
Merge mdocml state from 2012-01-30 for various relaxed checks in the
...
parser to allow it to pass almost all man pages in pkgsrc.
2012-01-30 16:44:03 +00:00
njoly
b702a1d739
Add permissions support to rump_vop_access(), to be used by
...
rump_vop_lookup().
2012-01-30 16:17:14 +00:00
darrenr
9598df00fd
Update ftp-proxy for changes to ipnat_t
2012-01-30 16:14:27 +00:00
darrenr
68474ce176
New files required to build ipfilter into the kernel
2012-01-30 16:13:43 +00:00
darrenr
14e440d33e
New files imported from IPFilter 5.1.1 need to be added.
2012-01-30 16:13:21 +00:00
darrenr
b01ead29e4
Merge IPFilter 5.1.1 into HEAD
2012-01-30 16:12:02 +00:00
darrenr
9c0e9659f2
Import IPFilter 5.1.1
2012-01-30 16:02:57 +00:00
phx
b199453e3c
Revert my last modification.
...
The detach function might make sense to unload and replace a driver module.
http://mail-index.netbsd.org/source-changes-d/2012/01/24/msg004538.html
2012-01-30 15:47:01 +00:00
wiz
bc294a4883
Fix two typos.
2012-01-30 13:57:43 +00:00
njoly
dc7e929d73
Adjust MEMFREE expected output to recent kmem(9) changes.
2012-01-30 13:05:52 +00:00
martin
11bf4e2a39
Set up cache line sizes early in the MULTIPROCESSOR case (where we already
...
pass by all the notes anyway), and default them to small-but-working
values in the UP case. Avoids an endless loop when trying to flush
caches before we pass through cpu_attach().
2012-01-30 12:19:45 +00:00
cherry
df3113e782
switch on NetBSD/Xen MULTIPROCESSOR support for domUs as default, for wider testing
2012-01-30 10:55:25 +00:00
cherry
e0029582ab
On xen, prevent cached PDP objects from being reused by pool_cache(9),
...
since they are "pinned" on the hypervisor and thus R/O for the domU.
Separately, after every per-cpu pmap pdir entry reset, make sure that
the corresponding L3 PTP pointers are flushed from all cpus with the
pmap loaded. Enforce this immediately via pmap_tlb_shootnow();
2012-01-30 10:33:05 +00:00
nisimura
2c31d574e0
add the missing backslash.
2012-01-30 09:48:11 +00:00
dholland
da6872566a
Remove redundant break statement.
2012-01-30 06:39:26 +00:00
dholland
dfbeb14079
Fix silly bug reading fstab.
2012-01-30 06:15:22 +00:00
dholland
3db227b343
Remove stray p in identifier name. This has (as far as I can tell)
...
prevented quotacheck and other old-style quota bits from working since
last March. Use a correct declaration in the header file, so that if
something similar happens again affected programs will fail to link
instead of failing to work.
This kind of nonsense is why I like -Wl,-warn-common.
2012-01-30 06:14:43 +00:00
matt
c8f14b1af6
PowerPC wants 16-byte aligned stacks (for AltiVec).
2012-01-30 06:04:32 +00:00
dholland
e4f0c6844a
Don't strlcpy from a string buffer to itself; the behavior is not
...
defined.
2012-01-30 06:02:12 +00:00
dholland
e5e6acbd31
Remove an old, no longer necessary hack from libquota and handle the
...
relevant case properly in usr.bin/quota.
2012-01-30 06:00:49 +00:00
mrg
28f4072d2a
make sure that the 'struct malloc' header on allocations is properly
...
aligned to (ALIGNBYTES+1). this ensures that the memory that malloc(9)
returns is correctly aligned for the platform. this change has an
effect on hppa, ia64, sparc and sparc64.
necessary on sparc for 8-byte load/store instructions. with this my
SS20 boots multiuser again.
2012-01-30 05:42:54 +00:00
mrg
4f67d478db
avoid writing 1 byte beyond the end of the string promlib.c has given us.
...
instead of forcing a nul byte afterwards, KASSERT() that the final byte
already is a nul. if there are broken proms... well, we can fix them.
this, plus one more change, allows my SS20 to boot multiuser.
2012-01-30 04:25:14 +00:00
nisimura
77b78cdcff
Add FriendlyARM Mini2440 support.
...
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
2012-01-30 03:28:33 +00:00
rmind
3ad487514e
- kern_realloc: fix a recent regression, use correct size of current allocation.
...
- kern_malloc: constify.
2012-01-30 01:56:47 +00:00
rmind
668cc4102c
wsmux_getmux: do not increment nwsmux if allocation fails (might cause buffer
...
overflow). Simplify slightly.
2012-01-30 01:54:08 +00:00
dholland
a15f5b1a58
Add QUOTA_RESTRICT_READONLY, for the nfs quota access code.
2012-01-30 00:56:19 +00:00
joerg
a7dacf1e8f
Bump libsqlite3 minor version for new functions in 3.7.10.
2012-01-29 23:29:00 +00:00
uwe
ffe3d8992e
Since it's in a separate file now, we cannot use direct branch to label.
2012-01-29 23:27:24 +00:00
rmind
f76667381c
- Add mi_cpu_init() and initialise cpu_lock and kcpuset_attached/running there.
...
- Add kcpuset_running which gets set in idle_loop().
- Use kcpuset_running in pserialize_perform().
2012-01-29 22:55:40 +00:00
he
5379ae9cd8
Use the same style for initialization of pool_allocator_kmem under
...
POOL_SUBPAGE as all the other poll_allocator structs. Fixes build
problem for acorn26.
2012-01-29 20:20:18 +00:00
he
fc30bcb8bb
Only declare helper variable which is only used in KASSERT() if
...
DIAGNOSTIC is defined, to avoid "variable defined but never used"
warning if DIAGNOSTIC isn't defined, and KASSERT() expands to
nothing.
2012-01-29 20:16:16 +00:00
dholland
8dfe0a7b2e
Move the semantic restriction codes from sys/quotactl.h to
...
sys/quota.h; they're meant to be used by applications and were
stuffed into the wrong place by accident last week and got
committed that way yesterday.
2012-01-29 19:36:14 +00:00
rmind
c0a0b7fb10
- Add kcpuset_isotherset() and kcpuset_countset().
...
- Fix KC_NFIELDS_EARLY. Make kcpuset_isset() return bool.
2012-01-29 19:08:26 +00:00
jakllsch
2493535b9b
options MALLOC_DEBUG is no longer expected to compile,
...
but has not yet been removed. Avoid compiling it here.
2012-01-29 18:55:12 +00:00
roy
f0a1f12724
Allow using CMSG_NXTHDR with -Wcast-align.
...
If various checks are omitted, the CMSG_NXTHDR macro expands to
(struct cmsghdr *)((char *)(cmsg) + \
_ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len))
Although there is no alignment problem (assuming cmsg is properly aligned
and _ALIGN is correct), this violates -Wcast-align on strict-alignment
architectures. Therefore an intermediate cast to void * is appropriate here.
There is no workaround other than not using -Wcast-align.
Taken from FreeBSD commit r220742 by jilles
2012-01-29 18:33:07 +00:00
hannken
f736320c3c
Add virtio driver to INSTALL_FLOPPY.
...
Requested by Matthias Scheler <tron@netbsd.org> for particular cases like
http://mail-index.netbsd.org/netbsd-users/2011/09/13/msg009128.html
2012-01-29 18:29:11 +00:00
rmind
3892f469e5
- vmem_xalloc: remove call to uvm_kick_pdaemon() as it is not right.
...
- Reduce some #ifdefs. Misc.
2012-01-29 17:27:37 +00:00