Commit Graph

199774 Commits

Author SHA1 Message Date
joerg
f9bbef6fd3 Extend CPPFLAGS, don't replace it 2011-04-10 16:47:04 +00:00
joerg
0df2ec4915 Extend LDFLAGS, don't replace it. 2011-04-10 16:45:52 +00:00
phx
ed97e369f2 Missing comma. Make it compile again. 2011-04-10 16:30:32 +00:00
pgoyette
f39adfe33e Fix string constant so it compiles again. 2011-04-10 16:06:59 +00:00
christos
c1bc70d6fb - implement dup3 and pipe2
- eliminate amd64 ifdef
2011-04-10 15:50:34 +00:00
christos
0d7e057e6b We have O_CLOEXEC now 2011-04-10 15:49:56 +00:00
christos
a5071c95ef Regen: Argh:
cat: rumphdr.types: No such file or directory
rm: rumphdr.types: No such file or directory
*** Error code 1
2011-04-10 15:49:23 +00:00
christos
dd9e944ede add pipe2 and dup3 2011-04-10 15:48:46 +00:00
christos
632362bdbb implement pipe2 and dup3 2011-04-10 15:48:23 +00:00
christos
53dcc5263b Regen: XXX: produces errors because of rump changes! 2011-04-10 15:48:01 +00:00
christos
bd81400360 add pipe2 and dup3 2011-04-10 15:47:21 +00:00
christos
a87c855671 Document O_CLOEXEC. 2011-04-10 15:46:15 +00:00
christos
a73f7b01d5 - Add O_CLOEXEC to open(2)
- Add fd_set_exclose() to encapsulate uses of FIO{,N}CLEX, O_CLOEXEC, F{G,S}ETFD
- Add a pipe1() function to allow passing flags to the fd's that pipe(2)
  opens to ease implementation of linux pipe2(2)
- Factor out fp handling code from open(2) and fhopen(2)
2011-04-10 15:45:33 +00:00
jdc
58bec6fb0c Mention ffb(4) EDID support. 2011-04-10 15:26:37 +00:00
tsutsui
ef54da0a01 Fix hangup on the first floppy access since 2008.
Problem was reported by isaki@.

On X680x0 (and most other machines other than ISA FDC),
the ready line from FDD is connected to FDC and fdc driver can
be notified of the ready state after fd_set_motor() by interrupts.
In this case no need to use callout(9) to wait the FDD motor stabilized,
and the callout(9) method used in ISA fdc(4) driver rather caused
infinite unhandled interrupts since callout(9) was no longer invoked
during interrupt storm after vmlocking2 merge, I guess.

Should be pulled up to netbsd-5.
2011-04-10 15:23:06 +00:00
jakllsch
b8a6ae2e64 Fix regression introduced in 1.72.
(Attach arguments need to be copied before using the copy.)
2011-04-10 15:02:01 +00:00
christos
63ab96a1bd we don't have access to si_lid anymore. 2011-04-10 14:38:19 +00:00
christos
2b7317d2ba revert previous. breaks things in subtle ways (ntpdate gets stuck on boot,
shell processes get stuck on ^C)
2011-04-10 14:37:20 +00:00
christos
037499057e make infinityl match what gdtoa thinks. 2011-04-10 13:51:18 +00:00
ahoka
4e870ad59c Fix locking and simplify some error path. 2011-04-10 12:48:09 +00:00
martin
ed194e826a Repeat the fragmentation on lo0 test, but with checksum on IFF_LOOPBACK
interfaces enabled.
2011-04-10 11:31:48 +00:00
jruoho
957fb2eb62 "wrong return value" -> "wrong errno". 2011-04-10 10:59:13 +00:00
ahoka
9491044f6b Add some KASSERTs and a few more debug printf 2011-04-10 10:56:37 +00:00
jruoho
ba5cac7848 Formally verify PR standards/44777. 2011-04-10 10:49:43 +00:00
jruoho
ba788ede8f Currently known failures affect only amd64; adjust atf_tc_expect_fail(). 2011-04-10 10:23:45 +00:00
jruoho
42c705227a Xref unistd(3). 2011-04-10 10:02:34 +00:00
wiz
16c91ae7ec Fix some xrefs. 2011-04-10 10:01:06 +00:00
jruoho
4ad08c6b86 Add a small summary page for <unistd.h>. 2011-04-10 09:58:00 +00:00
blymn
bdd37afa3f Add atf for libcurses with some tests 2011-04-10 09:55:08 +00:00
blymn
320b7b4d50 Add libcurses test 2011-04-10 09:49:13 +00:00
blymn
e42005f974 Add libcurses tests 2011-04-10 09:47:43 +00:00
blymn
4743999381 Add libcurses to tests. 2011-04-10 09:45:59 +00:00
jruoho
e7c9c72e99 Verify that PR standards/21401 is no longer an issue. 2011-04-10 08:35:47 +00:00
plunky
8f6f899225 Building the Xorg binary was moved into a subdirectory to fix
ordering issues with "make all". It may be necessary to remove
	the OBJDIR for external/mit/xorg/server/xorg-server/hw/xfree86
	if your update build fails, as the "Xorg" entry there is now a
	directory.
2011-04-10 08:29:31 +00:00
jruoho
2fe16f2510 Fix comments. 2011-04-10 08:11:34 +00:00
jruoho
29ee83dbcf Add tests for PR standards/44847 and PR standards/18067. 2011-04-10 08:07:41 +00:00
jruoho
5aac453263 A naive test case for getcwd(3). 2011-04-10 06:27:20 +00:00
jruoho
a63adaf81b Add a test case for PR lib/41931 reported by he@. It was verified that these
fail on NetBSD 5.99.48 amd64 but pass on amd64 Linux (glibc 2.7).
2011-04-10 06:11:47 +00:00
christos
6a8b690e91 print detailed info about other SI_ codes. 2011-04-10 00:05:51 +00:00
christos
871e737d11 Make lwpid part of siginfo so that it can be passed to userland. 2011-04-10 00:04:37 +00:00
christos
47f11362ae Preserve SB_ASYNC on the accepted socket. From: Dmitry Matveev
http://mail-index.netbsd.org/tech-net/2011/02/17/msg002457.html
2011-04-09 23:03:59 +00:00
christos
8dffb314e4 make this compile again. 2011-04-09 22:09:05 +00:00
wiz
75eeddb97e Fix a typo and a whitespace nit. 2011-04-09 21:53:58 +00:00
martin
c655df0d1c PR kern/43664:
mlelstv pointed out that we sometimes may use checksums on loopback
interfaces. Make the test consistent with the code path selecting
the checksum operation before invoking fragmentation.
2011-04-09 21:00:53 +00:00
christos
cd9ad85fe1 - little KNF
- use struct copy instead of memcpy
- snprintf("%s") -> strlcpy
- fix NUL termination
2011-04-09 20:53:39 +00:00
martin
3d772d583a Remove expected failure, PR has been fixed. 2011-04-09 20:42:12 +00:00
martin
8a8f4ef60a We do not do checksums on loopback interfaces, not even if fragmenting.
Fixes PR kern/43664.
2011-04-09 20:34:36 +00:00
phx
73e37f5358 Set D-Link DSM-G600 power LED to solid green on start. 2011-04-09 19:56:20 +00:00
jdc
9e7d55a0ad Add a manual page for ffb(4). 2011-04-09 19:37:13 +00:00
jdc
342707d5db Add EDID and video mode setting support to FFB.
Add definitions for registers related to video modes, and to DDC.  Rename
other registers to be more descriptive.
Add i2c bus routines to read the EDID data via DDC.
Add routines to calculate, and to set, the video mode.

Note, that interlaced and stereo video modes are not supported.

Thanks to Michael Lorenz and Jared McNeill for advice and encouragement,
and to Martin Husemann for testing.
2011-04-09 19:31:14 +00:00