Commit Graph

169515 Commits

Author SHA1 Message Date
martin 4685680579 Move to standard TNF 2 clause license 2008-05-04 12:43:45 +00:00
martin c21f953fcb Remove my personal license, the TNF one is good enough for me. 2008-05-04 11:00:09 +00:00
thorpej b129a80c20 Simplify the interface to netstat_sysctl() and allocate space for
the collated counters using kmem_alloc().

PR kern/38577
2008-05-04 07:22:14 +00:00
manu 5ae0f4961a Make sure temporary errors are reported as such, using status code
EX_TEMPFAIL (cannot lookup user through NSS, may be because of an
unreachable NIS or LDAP server), or EX_OSERR (other file or memory
related problems).

Sendmail and Postfix should honour EX_TEMPFAIL and EX_OSERR by
queueing the message.

This avoids problems with transcient NSS errors, where the MTA may
successfully lookup a user at a time while mail.local can fail a
few secoonds later.
2008-05-04 03:03:11 +00:00
martin 673523f500 Move to standard TNF 2 clause license 2008-05-04 00:35:37 +00:00
martin 9c63b7e8cc Move to 2 clause TNF license 2008-05-04 00:18:16 +00:00
jklos b92aa793c1 Fix leds.c to compile. 2008-05-04 00:10:42 +00:00
martin 3b9bf49423 Move to standard TNF 2 clause license 2008-05-04 00:01:08 +00:00
martin f6c08ca517 Move to 2 clause TNF license 2008-05-03 23:57:21 +00:00
martin 73f89d772c Move to standard 2 clause TNF license 2008-05-03 23:52:19 +00:00
martin 912b8073ae Move to 2 clause TNF license 2008-05-03 23:49:14 +00:00
uwe 83c6d7c82f Prettify to make the code easier to follow.
While here remove the XXX comments I added for lastaddr
initialization, now that I can see what's going on.
2008-05-03 23:45:40 +00:00
martin 7a18a3a01f Move to 2 clause TNF license 2008-05-03 23:17:03 +00:00
martin 2d265edbed Move TNF license to standard 2 clause variant 2008-05-03 23:06:06 +00:00
uwe 4b4321601b Make DPRINTFs depend on busdma_debug variable (off by default).
Move mixed PRE/POST check in _bus_dmamap_sync under DIAGNOSTIC.
Use __func__ to print function name and wrap long DPRINTF lines
to reduce visual clutter.
2008-05-03 22:07:07 +00:00
degroote b6a04a1973 In key_do_allocsa_policy, fix a bad usage of key_setsadbmsg. The third argument
is an SADB_SATYPE_*, not an IPPROTO_* .

Fix PR/38405. Thanks for the report
2008-05-03 21:53:23 +00:00
nakayama 7ea8ca8663 libsparc_v8 is designed for overriding libc with ld.so.conf.
So avoid linking against libc.
2008-05-03 20:43:54 +00:00
sborrill 67d1007e0f Fix syntax for load command. There is no = sign when specified as a command
vs being a boot.cfg directive.
2008-05-03 20:19:02 +00:00
mlelstv 8851f13995 fix ACPI_DEBUG_PRINT debug level parameter 2008-05-03 19:58:17 +00:00
ad 72c795e7a2 Handle compressed modules. 2008-05-03 18:49:13 +00:00
bjs c085692bea Add forgotten 'struct' for drm_ati_pcigart_info 2008-05-03 17:05:09 +00:00
cegger 86bf5bcac7 ansify 2008-05-03 17:03:45 +00:00
christos 26acf9f9d6 don't check for NaN if fpe. 2008-05-03 16:28:56 +00:00
jmcneill 35033371fe Use M_ZERO instead of malloc+memset 2008-05-03 16:14:40 +00:00
ad f1fc7f3fd6 cd9660 module as an example of a file system. Not enabled until we sort
out installation properly.
2008-05-03 15:58:47 +00:00
ad dae796ef8b Convert cd9660 to attach as a module. 2008-05-03 15:57:41 +00:00
ad 5982e60c2b Broken assertions. 2008-05-03 15:57:17 +00:00
ad 19913f0560 Pass -d to the linker, to assign space to common objects up front. The kernel
linker isn't smart enough to do that...
2008-05-03 15:48:15 +00:00
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
lukem b552ef70c2 Provide a "lint" target that will lint all the sources, even if MKLINT=no.
(MKLINT=no still prevents installation of the lint libraries).
Explictly disable some library variations if MKPRIVATELIB=yes.
2008-05-03 14:36:06 +00:00
drochner 1120b085ae make device lock adaptive
(needed because pfind() is called from inside)
2008-05-03 14:26:01 +00:00
ad 4ae6459449 i386 -> x86 2008-05-03 13:07:31 +00:00
sborrill dac9aa49ba Add support for multiple commands separated by semi-colons on menu lines
in boot.cfg.
e.g.
menu=Boot with module foo:load=/foo.kmod;boot
2008-05-03 09:46:40 +00:00
apb bf49cd32ad Try to make it clear that local changes will be overwritten
by "postinstall fix".
2008-05-03 09:44:45 +00:00
plunky 005a75dd15 update disk.9 manpage to current reality
- add disk_init()		(from vmlocking merge)
    - add disk_destroy()	(from vmlocking merge)
    - remove disk_resetstat()	(was removed)
    - update structure defs
    - update examples		(ANSI, const, device_t etc)
2008-05-03 09:43:40 +00:00
plunky fcf1772a80 after the "struct disk" is finished with, it should be
destroyed with disk_destroy(9) to stave off LOCKDEBUG
panics.
2008-05-03 08:23:41 +00:00
yamt 49716be5e2 a little more about fpos_t. 2008-05-03 07:06:30 +00:00
tsutsui b323ff2fdb - add ews4800mips attachment in SYNOPSIS
- remove dead URL
- use netbsd.org mail address
2008-05-03 06:35:04 +00:00
tsutsui 7d24907393 Remove dead URL. 2008-05-03 06:34:11 +00:00
yamt 839080f755 lockdebug: try to detect recursive acquirements of read-write locks. 2008-05-03 06:24:55 +00:00
yamt c0b85df1be sprinkle END/IDTVEC_END. 2008-05-03 05:56:44 +00:00
yamt 5b453874fc add macros to designate the end of asm functions. ok by Andrew Doran. 2008-05-03 05:54:52 +00:00
yamt 02777bca8a db_numargs: bump default number of arguments from 5 to 10.
5 is not enough for eg. getpages.
2008-05-03 05:50:33 +00:00
yamt dcdeebcd7b db_machine_init: use idt_vec_set. 2008-05-03 05:46:59 +00:00
yamt 2d43e7b87b rename END to ENDLABEL. i'll use END for other purpose. ok by Andrew Doran. 2008-05-03 05:45:01 +00:00
cegger 1d5cdb9bc8 device_t / softc split. Tested on amd64.
"looks good" spz
2008-05-03 05:44:06 +00:00
yamt 78eb84d14c whitespace. 2008-05-03 05:43:05 +00:00
yamt 9093441576 rename END to ENDLABEL. i'll use END for other purpose. ok by Andrew Doran. 2008-05-03 05:40:21 +00:00
yamt 59547f3b9f enterpgrp: 0 -> NULL for pointers. no functional changes. 2008-05-03 05:36:02 +00:00
yamt 63c2ef6a53 use sigismasked. no functional change. 2008-05-03 05:34:23 +00:00