Commit Graph

193474 Commits

Author SHA1 Message Date
christos
748dbd74c6 Add dprintf and vdprintf. XXX: Might ifdef it if too many things break. 2010-09-06 14:52:26 +00:00
pooka
811ba61255 Try to draw faster than Lucky Locke. 2010-09-06 14:50:34 +00:00
christos
758507e1aa Add tests for GLOB_STAR 2010-09-06 14:41:21 +00:00
christos
7d79ab9567 Add GLOB_STAR support from Greg Dionne. 2010-09-06 14:40:24 +00:00
christos
7949642c16 add globstar. 2010-09-06 14:38:56 +00:00
jakllsch
eb044d2951 Remove quirk added in rev 1.14. Even after the change of 1.16, it
still matches more boards that just the one with the problem.

Interrupts from the SATA controllers on my MSI K8N Neo3 boards
(which both versions of this quirk matched) are broken when ACPI
is disabled.  My board does not exhibit AE_AML_INFINITE_LOOP
problems.

If we want to avoid manually specifying RB_MD2 in boothowto on
pgoyette@'s board, we're going to have to find another way; perhaps
with the DMI strings available from pmf(9).

Anyhow, some boards needing RB_MD2 during boot(8) is in my opinion
better than others needing to set acpi_force_load in ddb or gdb.
2010-09-06 14:09:54 +00:00
wiz
95b8a1f9e8 Fix some typos in messages. Make usage match manpage. 2010-09-06 13:15:29 +00:00
manu
5536686b23 More LP64 fixes 2010-09-06 01:40:24 +00:00
manu
6f8501feb8 build fixes for LP64 2010-09-06 01:17:05 +00:00
ahoka
1d94059094 Add RAS, CAS, VCC, ALE, REST, ONFI 2010-09-05 23:50:48 +00:00
wiz
d9898a950b Explain how O_NOFOLLOW may cause EFTYPE. From joerg.
While here, sort errors. Bump date.
2010-09-05 22:44:15 +00:00
chs
bf2af3b9b5 accept the LDT selector in check_sigcontext32() too. 2010-09-05 20:52:38 +00:00
wiz
4cbf2bba33 gdb-7.2 out. 2010-09-05 20:27:19 +00:00
chs
dfffc13a65 in check_mcontext32(), accept the LDT selector for 32-bit user code
as well as the GDT selector.  fixes PR 43835.
2010-09-05 20:14:39 +00:00
dyoung
c3438d26de Cosmetic: remove unnecessary parenthesization in return statements.
Don't "test truth" of ints, but compare with 0, instead.

The generated assembly is the same before & after this change.
2010-09-05 18:03:37 +00:00
mlelstv
b707187b9f Fix mbuf corruption when sending ICMP errors for blocked IPv6
packets due to wrong buffer size computations. The corrupted
mbufs could lead to a panic.

Fix computation of link mtu where the link mtu itself is unspecified.

Limit ICMP error packets for IPv6 to MMTU as required by RFC4443. This
also avoids dropped errors when the length exceeds the link mtu.
2010-09-05 12:36:46 +00:00
spz
445e6acd20 fix two bugs in the PFKEY interface:
1) RFC2367 says in 2.3.3 Address Extension: "All non-address
   information in the sockaddrs, such as sin_zero for AF_INET sockaddrs,
   and sin6_flowinfo for AF_INET6 sockaddrs, MUST be zeroed out."
   the IPSEC_NAT_T code was expecting the port information it needs
   to be conveyed in the sockaddr instead of exclusively by
   SADB_X_EXT_NAT_T_SPORT and SADB_X_EXT_NAT_T_DPORT,
   and was not zeroing out the port information in the non-nat-traversal
   case.
   Since it was expecting the port information to reside in the sockaddr
   it could get away with (re)setting the ports after starting to use them.
   -> Set the natt ports before setting the SA mature.

2) RFC3947 has two Original Address fields, initiator and responder,
   so we need SADB_X_EXT_NAT_T_OAI and SADB_X_EXT_NAT_T_OAR and not just
   SADB_X_EXT_NAT_T_OA

The change has been created using vanhu's patch for FreeBSD as reference.

Note that establishing actual nat-t sessions has not yet been tested.

Likely fixes the following:
PR bin/41757
PR net/42592
PR net/42606
2010-09-05 06:52:53 +00:00
manu
374c4263ae - correctly set flags for CREATE
- after a node is deleted, some operations should return ENOENT, some
should be ignored. Fixed it for ACCESS, SETATTR and GETATTR. Other
operation may also need a fix.

- At reclaim time, there is no need to wait for READDIR and READ
completion, since the caller will never close a file before getting
readir() and read() replies. Waiting for WRITE completion is still
mandatory, but we must ensure that no queued WRITE is awaiting to
be scheduled. Once the queue is drained, we must check that the
reclaim operation was not canceled by a new file LOOKUP.

- At reclaim time, fixed a mix up between read and write fh to close

- Fixed permission checks for RENAME (it tested the node itself
instead of the source)

- When seting file mode, only MKNOD needs the filetype (S_* fields).
It is probably a bug to set it for other operations.
2010-09-05 06:49:13 +00:00
pgoyette
2e17bd5406 First cut at adding support for expected_failures.
Has also been reported/provided to up-stream.
2010-09-04 19:19:27 +00:00
jruoho
40ac1b9f62 Use FADT instead of DSDT in the quirk added in the revision 1.14. 2010-09-04 17:48:26 +00:00
kardel
3319d8f1fd fix MKINET6=no compile 2010-09-04 17:06:06 +00:00
ahoka
f508cde407 Add gpmc_register_read and gpmc_register_write to access registers
mapped by the gpmc driver (eg.: GPMC_CONFIG, GPMC_STATUS).

The driver should save the parent (gpmc) device's sc pointer
to be able to use these functions.
2010-09-04 16:23:47 +00:00
kiyohara
b6e26a453d Remove omapmputmr0 at critical_devs[].
It is not necessary since omap2_mputmr.c,v1.3.
2010-09-04 14:22:28 +00:00
ahoka
82e82fca50 Add libc glue for libtre.
tre will be compiled without approx and wchar/mulibyte support to
only match the minimum requirement to replace our spencer regex.

This needs a lot of testing.

Only enabled when USE_LIBTRE is set to `yes'.
2010-09-04 12:17:58 +00:00
jmcneill
1720465890 Add a reference to Len Brown's 'ACPI in Linux - Myths vs. Reality' paper 2010-09-04 11:10:16 +00:00
cegger
d3fa1cf29a revert previous.
requested from mrg
2010-09-04 05:09:06 +00:00
kiyohara
e9e049ccf0 Add include opt_com.h. 2010-09-04 05:01:20 +00:00
tsutsui
1e8199a6ea Add dumb code to select an appropriate kernel set to be installed
per running INSTALL kernel name taken from sysctl kern.version.

XXX: on all arm ports, sysctl hw.cpu_model returns a processor name,
XXX: not machine model as mentioned in <sys/sysctl.h>.
2010-09-04 01:23:25 +00:00
tsutsui
f2af7cc187 Build install ramdisk kernel for JORNADA720. 2010-09-04 01:16:49 +00:00
cegger
e811b2c552 fix NULL pointer dereference on detaching:
Attach an USB device that looks like this:
ugen1 at uhub0 port 2
ugen1: detached
ugen1: at uhub0 port 2 (addr 3) disconnected


When unplugging the device:

usb_transfer_complete: xfer=0xffff80000832a800 not busy 0x00000055
usb_transfer_complete: bad dequeue 0xffff80000832a800 != 0x0
2010-09-03 23:15:09 +00:00
jmcneill
d148107cd6 return an error if testing fails, and dump the device info before running tests 2010-09-03 19:20:37 +00:00
jmcneill
3298ac716e - return EIO if audio data is received and /dev/pad isn't open
- give a better description for AUDIO_GETDEV
2010-09-03 19:19:48 +00:00
matt
015f9bbf7a Pullup fixes from matt-nb5-mips64.
This makes setjmp/longjmp work again.
2010-09-03 17:22:51 +00:00
manu
1eb23a5f2b Fix reference count bug introduced by previous commit 2010-09-03 14:32:50 +00:00
manu
28d5b6408e - Postpone file close at reclaim time, since NetBSD sends fsync and
setattr(mtime, ctime) after close, while FUSE expects the file
to be open for these operations

- remove unused argument to node_mk_common()

- remove requeued requests when they are executed, not when they
are tagged for schedule

- try to make filehandle management simplier, by keeping track of only
one read and one write filehandle (the latter being really read/write).

- when CREATE is not available, we use the MKNOD/OPEN path. Fix a
bug here where we opened the parent directory instead of the node:
add the missing lookup of the mknod'ed node.

- lookup file we just created: glusterfs does not really see them
otherwise.

- open file when doing setattr(mtime, ctime) on non open files, as
some filesystems seems to require it.

- Do not flush pagecache for removed nodes

- Keep track of read/write operations in progress, and at reclaim
time, make sure they are over before closing and forgeting the file.
2010-09-03 07:15:18 +00:00
wiz
b5ec94d2d1 Fix a typo, uppercase UID/GID. 2010-09-03 07:12:51 +00:00
cegger
64db2748a4 match header protection with filename 2010-09-03 06:07:24 +00:00
christos
e5690d15fe PR/43830: Valery Ushakov: libsa/loadfile_elf32.c loads .shstrtab into
unallocated memory. Don't load if counting.
2010-09-02 17:10:14 +00:00
he
5b0dfc8c63 Re-order libraries so that this links statically as well. 2010-09-02 16:55:15 +00:00
pooka
0a85e62a45 xfer rump_lwproc 2010-09-02 15:24:34 +00:00
pooka
a3acbf5ec9 Actually use the imagename parameter. Also, fail with err instead
of atf_tc_fail since we are not directly under the control of atf.
2010-09-02 15:13:55 +00:00
pooka
0bd39d154c document rump_lwproc 2010-09-02 12:29:49 +00:00
pooka
5297756997 check that curlwp for an implicit context is NULL 2010-09-02 09:57:34 +00:00
manu
518513ec60 - only remove queued requests once they are executed, not when they
are set to be scheduled later
- remove an unused argument to make lint happy
2010-09-02 08:58:06 +00:00
agc
4f0925bb20 If we get passed a key which has no subuids, sigs, fingerprint or any
other data, and has been revoked, don't even attempt to print it out.
2010-09-02 07:31:16 +00:00
agc
0bbf5d4831 move the functions to parse the JSON from netpgpkeys(1) into libnetpgp(3)
update the version number for recent changes.

update the date for recent changes.

regenerate the autoconf files.
2010-09-02 06:00:11 +00:00
agc
267df97bea Update hkpd to return its information in JSON (via libmj).
Add a C HKP client.

Provide reachover Makefiles for each, but do not hook them up to the build
just yet.

The HKP client and server can be embedded in other programs.
2010-09-02 05:58:00 +00:00
uwe
fcfce86d87 Fix printf formats in -DDEBUG_PROM to make it compile.
XXX: print daddr_t after casting it to int since libsa is not built
with LIBSA_PRINTF_LONGLONG_SUPPORT by default.
2010-09-02 03:14:42 +00:00
jmcneill
e90b0e0082 at the request of mrg, print the parent of audioN's device name 2010-09-02 02:17:35 +00:00
jmcneill
59619cc632 print the version field from AUDIO_GETDEV if present 2010-09-02 02:08:30 +00:00