Commit Graph

160081 Commits

Author SHA1 Message Date
tls
f3c35fd211 After looking at FreeBSD 6 again -- we were also failing to copy the
send and receive timeouts.  Fix this.
2007-07-04 07:17:11 +00:00
tls
d11e46a459 Copy SNDLOWAT and RCVLOWAT socket options to accepted socket, so applications
can rely on all socket options being propagated from the listen socket as
the manual page says (and as everything but Linux has always done).  FreeBSD 6
fixes this the same way, but this bug appears elsewhere and is...Old.
2007-07-04 07:13:13 +00:00
yamt
511f2bb7af add svhlabel.debug. 2007-07-04 02:04:26 +00:00
xtraeme
6aec6c2829 s/cur_tre/edata/ => should fix the build error reported by rjs@. 2007-07-04 00:32:35 +00:00
xtraeme
d3cbee92fb ipmi_sensor_status: if state is ok return ENVSYS_SVALID and not
ENVSYS_WARN_OK, the latter is deprecated on envsys2.
2007-07-03 23:13:12 +00:00
briggs
fd02762f07 Add (commented-out) support for IPMI on amd64--pretty much copied straight
from i386.
2007-07-03 23:05:26 +00:00
briggs
c42d6c37ad Use PRIx64 for a 64-bit quantity instead of llx in a debug print. 2007-07-03 22:58:07 +00:00
xtraeme
e719333534 Document the sysctl node to change the refresh value of the callout
function that monitors the sensors.
2007-07-03 22:47:20 +00:00
xtraeme
ccae4b9276 Erm, fix previous: 6min != 5min... 2007-07-03 22:38:20 +00:00
xtraeme
be7048ebd1 Make the refresh value of the callout function (that monitors the sensors)
configurable via sysctl. By default it uses 10 seconds, but it can be changed
between 1 second and 5 minutes.

$ sysctl -d kern.envsys
kern.envsys.refresh_value: wait time in seconds to refresh sensors being monitored
$
2007-07-03 22:33:36 +00:00
christos
2d14013f2c Support for VIA Esther (From FreeBSD) 2007-07-03 17:07:54 +00:00
joerg
06b3ace137 Add a note that tools have to be re-installed. 2007-07-03 16:35:47 +00:00
joerg
dbfc63fcce Rename nbinstall to ${MACHINE_GNU_PLATFORM}-install as it calls the
target strip. Don't pass down strip as it is not needed any longer.
2007-07-03 16:29:24 +00:00
christos
84c48917b8 spacing fixes from Geoff Wing 2007-07-03 14:39:47 +00:00
yamt
da0717150b add yield(9). 2007-07-03 12:16:51 +00:00
yamt
c793425299 sort 2007-07-03 12:15:31 +00:00
yamt
2025659d20 update and document yield(). 2007-07-03 12:14:24 +00:00
nakayama
0c74dffd74 Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it. 2007-07-03 12:11:09 +00:00
tsutsui
b3b62c0dff Don't clear BSS even if ksyms(4) is not configured. 2007-07-03 10:31:57 +00:00
lukem
b7fac28c5b In sig_cleanup(), attempt to reset the signal handler to the default
and raise the appropriate signal, so the correct wait status is
returned to the parent.
2007-07-03 10:20:09 +00:00
tsutsui
de6d77dffd Use C99 initializers. 2007-07-03 10:11:49 +00:00
tsutsui
23e3926bbd No need to clear BSS if running kernel is loaded by the native bootloader. 2007-07-03 10:07:27 +00:00
tsutsui
c6f6d9c3c9 Print NEWS model name right after copyright and version
as other mips ports.
2007-07-03 09:55:30 +00:00
xtraeme
50094295cc ug_gtredata: add another break in the default case. Just for consistency
with other code.
2007-07-03 09:40:28 +00:00
xtraeme
93edd2a3c9 ug2_gtredata: add missing break in default case. 2007-07-03 09:32:05 +00:00
xtraeme
196efa6a61 sensor_indicator is able to receive the same events than other sensors. 2007-07-03 08:45:56 +00:00
xtraeme
937ef5eeb2 Rather than using two AcpiInstallNotifyHandler() with ACPI_DEVICE_NOTIFY
and ACPI_SYSTEM_NOTIFY, use ACPI_ALL_NOTIFY and remove a redundant
call.
2007-07-03 07:44:05 +00:00
lukem
4cac80e3e4 In the SIGINT handler, explicitly display a summary and then raise the
default SIGINT handler to exit, rather than exit(0) and relying upon the
atexit() to display the summary.
Per SUS6.
2007-07-03 05:25:25 +00:00
pooka
84684ff767 check for invalid vtype 2007-07-02 21:14:00 +00:00
mrg
86e49bbf53 remove the BUGS entry about >1GB ram being a problem, as it's been fixed
since early this year.
2007-07-02 20:49:48 +00:00
xtraeme
f924a08281 Forgot to update another part. 2007-07-02 20:46:55 +00:00
xtraeme
a485348536 Improve description. 2007-07-02 20:43:47 +00:00
xtraeme
3ab4d7d8eb Two grammar fixes from Zafer Aydogan. 2007-07-02 20:37:06 +00:00
xtraeme
ce7d148c9a Add missing comma. 2007-07-02 20:07:23 +00:00
christos
b3af16c2d3 PR/36583: Aleksey Cheusov: /usr/bin/cut: -[bcf] positions are limited to 2048
Fix provided by Anon Ymous.
2007-07-02 18:41:03 +00:00
pooka
330acd4a45 Add initial puffs version of mount_portal, eventually to replace
portalfs.  Uses the same config files etc. as the "regular"
mount_portal, and actually compiles a lot of the code directly from
under src/sbin/mount_portal.

Doesn't yet support concurrent access, but I have a pretty clear
vision on how to neatly fix that.
2007-07-02 18:35:14 +00:00
pooka
ea1108ce11 support turning REQUIREDIR off and extra consume in lookup 2007-07-02 18:25:36 +00:00
pooka
01d79aae7e The kernel socket isn't used by any of the providers, and it's a bit
hard to imagine how it could be used, so get rid of it.
2007-07-02 18:07:44 +00:00
ginsbach
a3ae2738c9 Document that getopt_long(3) can and will accept unique abbreviated long
option names.  This feature has been present since getopt_long(3) was first
released in NetBSD 1.5.  This is also standard GNU getopt_long(3) behavior.
2007-07-02 17:56:17 +00:00
pooka
dbeb9a3eeb I'm all for redundant and failsafe computing, but ...
vap->va_atime = vap->va_mtime = vap->va_ctime;
        vap->va_atime = vap->va_mtime = vap->va_ctime;

... is missing the point.
2007-07-02 17:55:33 +00:00
xtraeme
f77ec0c18c Winbond W83627EHF-A support, from OpenBSD. 2007-07-02 17:49:47 +00:00
pooka
703c0341d4 basesrc is no more 2007-07-02 16:56:37 +00:00
pooka
6ff8a42783 * narrow-angle const spray
* make config read return an error if it can't read the config file
2007-07-02 16:33:05 +00:00
xtraeme
bc794f88ae Explain the event that mfi(4) will send to powerd(8) when a drive
is not online.
2007-07-02 16:23:58 +00:00
wiz
81aaf0aa2d New texinfo out. 2007-07-02 16:20:21 +00:00
xtraeme
97ca291124 Add another section explaining the events that acpitz(4) will send
to powerd(8) when a Thermal Zone is critical or hot.
2007-07-02 16:05:08 +00:00
xtraeme
2aaf4fe072 Add another section explaining the events that acpibat(4) will send
to powerd(8) when battery capacity is critical or lower < warncap/lowcap.
2007-07-02 15:59:32 +00:00
xtraeme
8454ce25b1 Xref powerd(8). 2007-07-02 15:49:50 +00:00
xtraeme
49830c79f0 Add another section explaining the events that ipmi(4) will send
to powerd(8) when state in a sensor has changed.
2007-07-02 15:48:33 +00:00
xtraeme
dcbea1b1dc - On Intrusion sensors, if something is not ok return a critical event.
- On Power Supply sensors:
	* if power supply is not installed, return a critical event.
	* if power supply is installed but not powered on, return a
	  warnover event.
2007-07-02 15:29:47 +00:00