Commit Graph

208875 Commits

Author SHA1 Message Date
njoly dcea8cfc3c owner testcase now succeed with rumpfs. 2012-01-31 19:02:49 +00:00
njoly d04e1e754f Check credentials when setting uid, gid or mode attributes. 2012-01-31 19:00:03 +00:00
njoly 8e54f08b1f Check directory write access for DELETE operation. And while here,
small indentation adjust.
2012-01-31 18:56:07 +00:00
christos c966a89be8 PR/45897: Takahiro Kambe: Make default display < 80 characters and add -w flag
to display unlimited
2012-01-31 16:30:40 +00:00
wiz 71fcb57d88 Remove trailing whitespace.
New sentence, new line.
Remove Pp before Sh.
Sort sections.
Use more markup.
Remove unnecessary macro arguments.
2012-01-31 13:25:05 +00:00
nisimura 6e0f9f1c21 introduce evbarm bootmini2440(8) man entry. 2012-01-31 12:23:32 +00:00
nisimura bd47c13c7b - add TFTP loading facility.
- SD/MMC load default is now "ld0a:netbsd"
2012-01-31 11:04:17 +00:00
hauke 2e878a9dca Fix AppleTalk name registration, as discussed on the port-macppc list
<http://mail-index.netbsd.org/port-macppc/2010/07/09/msg001119.html>
and in PR kern/44412, by looping back ddp broadcasts.

Patch submitted by David Riley against netbsd-5, adaptation for
-current and minor KNF touchup by me.

Needs to be pulled up to netbsd-5.
2012-01-31 09:53:44 +00:00
darrenr 714fe0e37d PR bin/45894
ipftest core dumps when running tests
2012-01-31 09:41:37 +00:00
roy 5c9f9c92ee Import dhcpcd-5.5.1 with the following changes:
* Don't start IPv6 RS if disabled globally
* Allow dhcpcd to run on a read only filesystem
* Don't attempt to run the script if an empty string or /dev/null
* Stop truncating the netmask sockaddr on routing messages for BSD
2012-01-31 09:39:47 +00:00
roy 059fa35111 Import openresolv-3.4.6 with the following change from 3.4.5
* dnsmasq subscriber correctly sets IPv6 domain specific servers over dbus
2012-01-31 09:19:58 +00:00
martin 493d58c360 More printf format fixes 2012-01-31 08:57:36 +00:00
martin 6954772773 Fix printf formats (those who can't decide wether to use casts or PRI*
macros do both in bogus combination)
2012-01-31 08:43:44 +00:00
macallan 0a201d5d34 igsfb doesn't use rcons, no need to pull it in 2012-01-31 05:08:14 +00:00
matt 21a4349cd1 Use a typedef to cleanup OF_set_callback. 2012-01-31 04:32:07 +00:00
matt 09fb7d24ff Convert stragglers to use real C89 prototypes. 2012-01-31 04:28:50 +00:00
matt 91d94812e8 ANSIfy the prototypes 2012-01-31 04:28:02 +00:00
matt bf4e528611 Deal with case when kmembase == kmemstart.
Use KASSERTMSG for a few KASSERTs
Make sure to match the color of the VA when we are allocating a physical page.
2012-01-31 00:30:52 +00:00
matt ccd880d5ab Switch to using ANSI prototypes. 2012-01-30 23:34:58 +00:00
matt 35949990c0 Use ANSI prototype for _bus_dmamem_alloc_range.
Caught when compiling with -Wold-style-definition
2012-01-30 23:34:15 +00:00
matt 4b50cb788d Use proper ANSI prototypes for foo() -> foo(void)
Caught when compiling with -Wold-style-definition
2012-01-30 23:31:27 +00:00
tls 286b7417a0 Add ipf_rb.h to setlist -- missed in earlier commits in ipf 5.1.1 import. 2012-01-30 22:51:51 +00:00
christos 109f5fba24 - remove dup included files
- use intptr_t instead of long where appropriate
- use perfused_ instead of perfuse_ for our own functions.
- more static
Fixes namespace collision of perfuse_mount with this and libperfuse.
2012-01-30 22:49:03 +00:00
rmind 48c7e820df acpi_md_ncpus: use kcpuset_attached instead. 2012-01-30 21:47:24 +00:00
rmind f14d8195ed pmc_init: check ncpu instead of cpus_attached. 2012-01-30 21:35:22 +00:00
darrenr ee0161be40 Patch to include ipf_rb.h missed from merge. 2012-01-30 21:10:30 +00:00
rmind 4444e11321 Fix for KMEM_GUARD; do not use it from interrupt context. 2012-01-30 21:05:40 +00:00
christos 762e4c5eaf fix printf formats 2012-01-30 20:51:50 +00:00
martin cfe24375a5 Initialize "match", it may be used uninitialized, and gcc complains
about it.
2012-01-30 20:40:39 +00:00
darrenr 60a7048ce5 Correct merge error from import. 2012-01-30 20:10:27 +00:00
darrenr 6e01b777b4 Merge error - stale code from HEAD not removed. 2012-01-30 20:08:31 +00:00
christos 80398b9c60 - don't copy past the end of sockaddr if we are rounding, zero it out instead,
from mlelstv@
- put a comment explaining the 6 nuls.
2012-01-30 20:02:55 +00:00
christos 92b963447b Count length from the beginning of the structure not the sa_data portion.
From skrll@
2012-01-30 20:01:08 +00:00
drochner d8e1a7b61a Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
2012-01-30 19:41:18 +00:00
darrenr 3646154e14 Lost on import 2012-01-30 19:38:45 +00:00
dholland 56581d9c24 Needs its own copy of quotaprop.[ch] too. 2012-01-30 19:31:31 +00:00
dholland 2d9ddf6e73 Make it build in userlevel and hook it in. 2012-01-30 19:28:11 +00:00
dholland 89dd9c69f6 Add a copy of the proplib interpreter here so this program will
continue to work after it's removed from the kernel. This copy is
unchanged from sys/kern/vfs_quotactl.c except that I've preserved a
cop of the old rcsid.
2012-01-30 19:23:49 +00:00
dholland bdf1946e25 Remove this material, which is no longer used. 2012-01-30 19:21:37 +00:00
drochner 75699fcff7 document pci_aprint_devinfo(9) (not the _fancy variant yet because
it is still experimental)
2012-01-30 19:20:13 +00:00
dholland 36e1f47401 This will need its own compat copy of some of the strings from
quotaprop.h even after the latter goes away.
2012-01-30 19:19:55 +00:00
dholland 3e2a4d1109 Remove dependence on quotaprop.h, also quotautil.c (no longer used).
Like repquota, compile in the number of object types for now because
making it support an arbitrary number would take some hacking.
2012-01-30 19:19:20 +00:00
dholland 6a92ecbca0 Rely on libquota for fallback to direct access of old-style quota files.
Keep the code around in #if 0 blocks for now, just in case some of the
logic might turn out to be wanted in libquota.
2012-01-30 19:18:36 +00:00
dholland 9aec0f661d Remove references to -D option. 2012-01-30 19:17:29 +00:00
dholland eba182257f Don't use the old getvfsquota() here. 2012-01-30 19:16:36 +00:00
dholland 3190ca5bed Fix broken build by laundering const. hi joerg 2012-01-30 18:50:45 +00:00
cherry 054bec8aef Remove obsolete comment 2012-01-30 17:56:27 +00:00
darrenr 4e1b0345a9 Lost on import 2012-01-30 17:54:34 +00:00
jakllsch fba17f2eec Need i8259.h for previous. 2012-01-30 17:45:37 +00:00
mhitch e2f8886b1f Allow adapters with SAS/SATA or FC devices to use tagged queuing by the scsipi
layer.  Can improve write performance on SAS adapters under certain conditions
when the logical drive does not have write caching enabled.  Also need to
reserver a couple of slots for commands for the driver to use - stops the
adapter shortage messages.  Multiple commands can now cause QUEUE_FULL events,
so add that to the events handled, currently just ignoring it.  Changes
based on the thread http://mail-index.netbsd.org/tech-kern/2011/02/08/msg009946.html.
cvs: ----------------------------------------------------------------------
2012-01-30 17:45:14 +00:00