Commit Graph

195298 Commits

Author SHA1 Message Date
joerg 3b7d8067b3 Don't redeclare __isthreaded. 2010-12-08 02:07:03 +00:00
joerg 6ab2cfd0b3 Use __isthreaded from reentrant.h and don't redeclare it. 2010-12-08 02:06:38 +00:00
joerg 7a8f98483f input() is not used, so don't provide it. 2010-12-08 02:05:39 +00:00
joerg 49755c474a gcc passes down -r directly to ld, so make it explicitly a linker option. 2010-12-08 02:04:13 +00:00
joerg d9da1368fc Don't depend on ${CC} passing down -R to ld, use -Wl,-rpath explicitly. 2010-12-08 01:57:22 +00:00
joerg 0d0af5032c ANSIfy 2010-12-08 01:55:12 +00:00
joerg 2822ac080b Fix some LP64 issues 2010-12-08 01:54:21 +00:00
joerg 6536213d9e Don't format an error and pass it down as format string again. 2010-12-08 01:45:57 +00:00
joerg db91f3e244 Don't alias the same symbol twice. 2010-12-08 01:22:55 +00:00
joerg cde12355ff Implement __warn_references and __SECTIONSTRING (used e.g. by __RCSID)
for clang without assembler. This declares a global variable with
attribute used to prevent optimisation, attribute section to change
the placement and includes __COUNTER__ in the variable name for
uniqueness.
2010-12-08 01:18:55 +00:00
riz 8966eced0b If we're operating on a plain file instead of a device, ftruncate() it
to ensure it's been properly extended.  Clears up some problems at certain
blocksizes which showed up during creation of atf tests, which is done
using file-backed file systems.
2010-12-08 00:25:54 +00:00
pgoyette 9179849b5d When removing properties (as in envstat -S), clear the flags that track
whether the properties actually exist.

When setting new limit values, don't complain/ignore about duplicate
values if the associated flag bits (indicating that the limit is valid)
are not set.

These two fixes together should fix a problem reported in private Email
by njoly@ a couple months ago.  Issue replicated and solution tested
using my recent swsensor pseudo-device running inside qemu world!
2010-12-08 00:09:14 +00:00
riz 0b1ff958b5 As currently written, writeat() expects disk blocks, not fs blocks, so
when testing that the last sector of the new size is writeable, make
sure we're ACTUALLY writing in the new space, instead of possibly
overwriting something in the existing fs.

Discovered while writing tests - tests which uncovered file corruption at
certain block sizes.

XXX should rewrite writeat() to expect fs blocks instead of disk blocks.

OK mlelstv@
2010-12-07 23:29:55 +00:00
joerg 5aa0f88941 Inline string that should have been const char [] in first place. 2010-12-07 22:50:37 +00:00
joerg 75ccf94c1f Remove useless conditional. 2010-12-07 22:08:27 +00:00
joerg bd9a53cf30 Since limit and l are both unsigned, comparing to 0 doesn't work, so compare
the values directly.
2010-12-07 22:02:52 +00:00
joerg e325eedcc1 Remove tautology. 2010-12-07 22:01:45 +00:00
joerg aaf356760f Mark function as static and give it an explicit return type. 2010-12-07 22:01:22 +00:00
pooka 0ee4a4c4ad +rumpdev_drvctl 2010-12-07 21:40:08 +00:00
pooka 8d84854f4d add drvctl component 2010-12-07 21:38:07 +00:00
pooka 9b108f4af3 Support bridging. As usual, it would be nice if this could be a
separate component, but King Ifdef doesn't let us.
2010-12-07 20:39:07 +00:00
pooka 55fde99bfe _KERNEL_TOP 2010-12-07 20:38:26 +00:00
joerg cb63bb73c3 Don't use argument as direct format string. 2010-12-07 20:10:53 +00:00
joerg c37869d883 Build assembler sources with assembler compile rules. 2010-12-07 19:51:02 +00:00
pooka f03553f56f haad removed 64bit atomic ops from dm, so put it back on the MI all list 2010-12-07 17:25:40 +00:00
pooka e7ec49d29a sockin cannot be loaded the same time as rumpnet_inet because both
provide a PF_INET domain.  Guess that real inet is more useful and
don't put sockin on the "all components" list.
2010-12-07 17:23:27 +00:00
tteras 1246e1db41 Fix spacing and improve wording in some log messages. 2010-12-07 14:28:12 +00:00
drochner ee60145ccf fix bug introduced by last security patch, from upstream CVS:
Don't assume a decode error if session tlsext_ecpointformatlist is
not NULL: it can be legitimately set elsewhere.
2010-12-07 10:03:29 +00:00
drochner ad512a613f openssl security patch of the day:
Fix a flaw in the OpenSSL SSL/TLS server code where an old bug
workaround allows malicous clients to modify the stored session cache
ciphersuite. In some cases the ciphersuite can be downgraded to a weaker one
on subsequent connections. See
http://www.openssl.org/news/secadv_20101202.txt
(CVE-2010-4180)
2010-12-07 09:10:21 +00:00
enami 84d4bc7040 Fix SYNOPSIS; pkill accepts -l options since 3 years ago. `pattern' is
mandatory for all commands and `priority' is mandatory for prenice.
2010-12-07 09:00:23 +00:00
wiz 73349a6f21 Be explicit which options are available for prenice. Bump date. 2010-12-07 08:55:52 +00:00
mrg f2e8961868 add -l support to prenice, as noted by enami. 2010-12-07 07:39:15 +00:00
kiyohara 88667f4694 The failure of rebuilding is evaded.
Vga is not used in x86 and alpha for a long time.  Also PR#41626 might
influence us.
2010-12-07 05:51:45 +00:00
kiyohara 602d621e07 The failure of rebuilding is evaded.
Vga is not used in x86 and alpha for a long time. PR#41626 might influence us.
2010-12-07 05:39:53 +00:00
joerg 994bc56774 Kill file that should be pulled in from a different directory.
Fixes regression test for i386.
2010-12-07 00:54:44 +00:00
jmcneill ed7bfdfad4 Allow for passing more than one module at a time:
$ sudo modunload auvitek xc5000 wintv_eeprom
2010-12-06 23:42:48 +00:00
pgoyette 0139c9e7c5 Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined. 2010-12-06 23:26:44 +00:00
matt 4d0f1c412f Add a private now S_IS_HIDDEN(symbol) so gas deal with hidden symbols
correctly.
2010-12-06 21:17:00 +00:00
mrg 1153d206d6 install prenice(1) and man page links. 2010-12-06 21:16:53 +00:00
phx 75fc248f8a Apple notebook keyboard support in ukbd(4). 2010-12-06 18:43:47 +00:00
skrll 76d54d05f2 Wrap a printf in #ifdef DEBUG 2010-12-06 18:42:09 +00:00
phx 9efedd612c There should be no MD keymaps in /usr/share/wscons/keymaps. So I made the
PowerBook keymap MI again, after a discussion with <mrg>.
2010-12-06 18:26:28 +00:00
jmmv 42afccf436 Pull up revision c917871de7dd67ba57c17496ad68fe4e4aa8b239:
Fix atf-check match checker to validate lines without newline

Problem found by pooka@.
2010-12-06 18:04:02 +00:00
pooka 335d54d634 Adjust PR format in xfail message so that html test results gain a
link to http://gnats.netbsd.org/44189
2010-12-06 17:30:07 +00:00
pooka 7dec306c60 In the seek test also check that files end up with expected size. 2010-12-06 16:43:26 +00:00
christos bfb58157c3 adjust errno after kernel change to be EINVAL 2010-12-06 16:37:25 +00:00
christos d200ee2cb8 change E2BIG -> EINVAL, clearly "argument list too long" is the wrong message
to print.
2010-12-06 16:22:57 +00:00
pooka 49e8823e2c test for 'dd seek=' (could be improved, but at least we have something now) 2010-12-06 15:54:00 +00:00
pooka 39a175ce63 Fix most inopportune typo. from gson & jmmv. 2010-12-06 15:23:29 +00:00
pooka 248168affc Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols. 2010-12-06 14:50:34 +00:00