Commit Graph

161860 Commits

Author SHA1 Message Date
mgrooms
8293a09746 Fix autoconf check for selinux support. Submitted by Joy Latten. 2007-09-13 00:26:14 +00:00
mgrooms
aca8e1eed2 Implement clientaddr sainfo remote id option and refine the sainfo man page syntax. 2007-09-12 23:39:49 +00:00
christos
ecde76d5ff Support obsolete zone info in date field. (See obs_zone of RFC 2822,
sec 4.3.) from Anon Ymous
2007-09-12 13:09:46 +00:00
msaitoh
e79a256eb2 The EST support for amd64 was moved to netbsd-4 by ticket #809. 2007-09-12 12:41:34 +00:00
xtraeme
57956a2b1e Fix aps(4) attachment. 2007-09-12 11:45:39 +00:00
xtraeme
9e048e4b24 Forgot to add aps(4) device. 2007-09-12 11:07:38 +00:00
pooka
0ae64860f6 don't allocate variable-sized arrays from the stack 2007-09-12 10:24:23 +00:00
wiz
68b83c64db Fix xref, sort SEE ALSO. Add RCS Id. 2007-09-11 23:26:13 +00:00
agc
bb80e7775d Generalise the tests for OBJDIR and non-OBJDIR builds 2007-09-11 23:23:51 +00:00
agc
696c18a993 Generalise the tests for objdir builds, as well as none 2007-09-11 23:23:08 +00:00
jnemeth
511c062ca0 regen 2007-09-11 22:51:59 +00:00
jnemeth
bbdcd3c618 sort CMDTECH and add CMDTECH SiI3531 SATALink 2007-09-11 22:39:09 +00:00
wiz
974c81fdf9 Sort sections. Sort SEE ALSO. Use HTML escapes. Remove superfluous .Pp.
Other cleanups.
2007-09-11 22:31:35 +00:00
wiz
57fffb5f82 Sort SEE ALSO. 2007-09-11 22:27:04 +00:00
xtraeme
fd79e0d338 Remove a local CPPFLAGS addition. 2007-09-11 22:02:09 +00:00
xtraeme
6da6e7a3b7 GENERIC_LAPTOP -> add aps(4) commented out
ALL -> add aps(4)
2007-09-11 21:59:10 +00:00
xtraeme
189cf45ffd Forgot to add aps(4)... sorry phone :-) 2007-09-11 21:54:54 +00:00
xtraeme
3f2361dc7d Mention aps(4). 2007-09-11 21:47:37 +00:00
xtraeme
1dac9ede4d New aps(4) driver for IBM Thinkpad Active Protection System.
Exports some sensors through the envsys(4) framework available
in some Thinkpad laptops.

Ported by Pierre Pronchery from OpenBSD, via PR port-i386/36852.

Tweaks, LKM and misc improvements by me. Added into i386/GENERIC
commented out.
2007-09-11 21:46:52 +00:00
skrll
f7b881990d Terminate the nick-csl-alignment branch.
Note the final base tag.
2007-09-11 21:32:54 +00:00
skrll
2d9c4abfb1 Always provide __cpu_simple_lock_{set,clear}.
Fixes LOCKDEBUG kernel builds.
2007-09-11 21:01:40 +00:00
gdt
9768560fd7 remove SIOCSIFALIFETIME_IN6 (should have been part of previous commit) 2007-09-11 19:59:18 +00:00
gdt
8f7e0bd6a5 Remove SIOCSIFALIFETIME_IN6, which could not possibly have ever worked.
Problem reported in kern/35897 by Robert Elz.
2007-09-11 19:54:51 +00:00
gdt
aebe6f5793 Fix bug in SIOCGIFCONF where the wrong length was calculated for
sockaddrs bigger than struct sockaddr.  Tightly bind decrementing
available space and using it, avoiding incorrect accounting in an
error case.  Document invariants.  Document calling convention for
SIOCGIFCONF.  Simplify by removing code to handle sockaddrs that don't
fit in struct ifreq; with sockaddr_storage this can no longer occur.
Add several KASSERTs.

This commit resolves the problem with racoon failing to list
interfaces.

Proposed on tech-net@ with no objections.
2007-09-11 19:31:22 +00:00
ad
b0efccf4cd Make the new mutexes faster:
- Eliminate mutexattr_private and just set a bit in ptm_owner if the mutex
  is recursive. This forces the slow path to be taken for recursive mutexes.
  Overload an unused field in pthread_mutex_t to record whether or not it's
  an errorcheck mutex.
- Streamline pthread_mutex_lock / pthread_mutex_unlock a bit more. As a
  side effect makes it possible to have assembly stubs for them.
2007-09-11 18:11:29 +00:00
ad
4042b7d22a Put new threads on the tail of pthread__allqueue, for the debugger. 2007-09-11 18:08:10 +00:00
briggs
06c4139448 If !_HAVE_TIMECOUNTER, initialize 'time' instead of 'time_second.' 2007-09-11 16:33:19 +00:00
briggs
bf243579ed Define splclock() so that this will at least compile on architectures
without _HAVE_TIMECOUNTER.
2007-09-11 16:31:01 +00:00
ad
7db40473e2 Fix a dodgy bit of assembly. 2007-09-11 16:07:15 +00:00
martin
913f43886d Cleanup cpu_info: get rid of ci_number and ci_upaid, use ci_index
and ci_cpuid instead.
2007-09-11 16:00:05 +00:00
ginsbach
1f1c7f87ed - remove extraneous \n in err(3) message
- minor KNF whitespace nit
2007-09-11 15:46:56 +00:00
degroote
640e23d7c9 In some FAST_IPSEC, spl level is not restored correctly. Fix that.
Spotted by Wolfgang Stukenbrock in pr/36800
2007-09-11 14:18:09 +00:00
ad
ee3459ca7b Fix broken pthread_mutex_trylock(). 2007-09-11 11:30:15 +00:00
ad
baebee83d5 Fix inverted test after merge of nick-csl-alignment. 2007-09-11 10:27:44 +00:00
xtraeme
d9144c32f2 Do not LKM_ISA_IO_PORT to 0x290 by default, some drivers try to guess it
and there's no much sense in adding it.
2007-09-11 07:41:26 +00:00
xtraeme
0dd9b7dc5f Cosmetic: use the last enum member for max sensors number. 2007-09-11 07:36:22 +00:00
macallan
a53919d5b0 clean up a little bit, while there let userland mmap the whole glint video
memory.
Note: this needs changes in the XF86 driver committed a few minutes ago.
2007-09-11 00:46:12 +00:00
pooka
4c671e79c7 descend into rump 2007-09-11 00:44:04 +00:00
pooka
dffee5c423 fix ukfs_readlink() to be of type ssize_t 2007-09-11 00:42:16 +00:00
pooka
850349a3c2 create generated files before running makedepend 2007-09-11 00:41:46 +00:00
pooka
b2c6279cb7 include sys/mount.h for export_args30 2007-09-10 23:47:23 +00:00
pooka
99dbf2bb34 manadatory TODO-list.
Makes project appear less dead when there's something TODO.
2007-09-10 21:18:55 +00:00
pooka
ccd777c8fa Provide errno from rumpuser_{gettimeofday,close}() to be consistent. 2007-09-10 19:11:44 +00:00
wiz
8747215ce0 heimdal-1.0.1 and texinfo-4.11 out. 2007-09-10 19:09:28 +00:00
xtraeme
e4ac7a291b Another typo in a comment. 2007-09-10 17:41:26 +00:00
xtraeme
6f1f4d144f Fix a comment. 2007-09-10 17:40:44 +00:00
xtraeme
5316ee99b1 Check argc before calling open(2), and use the out label in another
error case.
2007-09-10 17:39:14 +00:00
pooka
cc370e5dc5 no need to include param.c twice in the source list 2007-09-10 16:11:43 +00:00
xtraeme
fc321f6650 Fix a lint(1) warning and remove oldsize in print_sensors(), it's
not used.
2007-09-10 14:25:17 +00:00
xtraeme
25be892bac Don't forget to check if -s was specified without -d, and add a macro
to check it in two places.
2007-09-10 14:15:11 +00:00