Commit Graph

159590 Commits

Author SHA1 Message Date
christos 344a5bd80c regen. 2007-06-13 14:31:30 +00:00
christos 76af51a354 Add futex. 2007-06-13 14:31:07 +00:00
he 9eec18f5a5 Revert last commit to this file, and re-introduce the _60 variants
of the cache ops macros which are common between 040 and 060, as
per discussion with tsutsui@.
2007-06-13 13:13:29 +00:00
yamt b1cae5b7e6 exit_lwps: fix a deadlock. 2007-06-13 12:14:10 +00:00
he 3661e4f558 We also need -ltermcap when we use -ledit.
Fixes build problem for sun2.
2007-06-13 07:33:00 +00:00
he 1aa0117a81 Fix the 060 variants to not have conflicting definitions for the
cache ops common to 060 and 040.  Also remove the now-redundant
definitions for the 060 variant which simply pointed to the 040
variants.
This fixes the build of the mvme68k VME172 kernel.
2007-06-13 07:00:33 +00:00
dyoung cb3da2abc3 Remove unnecessary __UNCONST(). 2007-06-13 05:08:02 +00:00
dyoung 3cfc66e506 Persuasive programming: check M_UNWRITABLE(m, len) instead of
m->m_len<len before pulling up, because that helps make it clear
that we m_pullup() in order to guarantee that the contiguous region
is *writable*.
2007-06-13 05:03:19 +00:00
dyoung 46bc24d79c Use LIST_FOREACH(). 2007-06-13 04:55:25 +00:00
christos 564f9b3b2f cleanup some bitrot; from Matthew Orgass 2007-06-13 02:11:40 +00:00
uebayasi 7ae95bbb8f Teach I-O DATA USB-RSAQ5. 2007-06-13 00:31:21 +00:00
uebayasi d140af6f40 Regen. 2007-06-13 00:30:54 +00:00
uebayasi 43bf2305f9 Add I-O DATA USB-RSAQ5.
http://www.iodata.jp/news/2007/05/usb-rsaq5.htm
2007-06-13 00:30:11 +00:00
wiz b2d2e8fa61 Whitespace nits. 2007-06-13 00:00:23 +00:00
dyoung 779264d3a2 Complete removal of radix_node knowledge. 2007-06-12 22:55:44 +00:00
agc 8ff3509ad4 Use pthread_[gs]etspecific to store a pointer to the fuse_context
information, enabled if MULTITHREADED_REFUSE is defined at build
time. This is not enabled by default since libpuffs is not
threadsafe yet.

librefuse is still not threadsafe, but this gets rid of a whole lot of
problems in the meantime.
2007-06-12 18:57:05 +00:00
bouyer e0e73c4e83 Make it build again when IPMI is used (caddr_t issue ?) 2007-06-12 18:55:50 +00:00
agc 8dda7dd1f3 Minor cleanup - change uses of malloc, memset to calloc.
Use EXIT_FAILURE in preference to the less informational 1.
2007-06-12 18:54:36 +00:00
bouyer e4f18e1082 IOCTL_PRIVCMD_MMAP: properly map entries from 0 to (mcmd->num - 1), instead
of mapping mcmd->num times entry 0. xentools < 3.1 probably didn't use this
with more than one entry at a time ...
2007-06-12 18:53:52 +00:00
agc e19f0cc8f0 Re-work the way the SET_FUSE_CONTEXT* macros are done, following
feedback from Antti.
2007-06-12 18:53:29 +00:00
xtraeme d06693ebcd Fix a typo in voodoofb_drm_unmap(), requested by garbled.
cvs: ----------------------------------------------------------------------
2007-06-12 18:16:54 +00:00
tsutsui 7be9269791 Fix one more bug I introduced in rev 1.21:
Clear sc->sc_rx_consumed before allocating RX mbufs by vge_newbuf()
in vge_intr() otherwise vge_newbuf() might get KASSERT() failure
on DIAGNOSTIC kernel when the interface is reinitialized during RX.
2007-06-12 14:32:36 +00:00
kiyohara c6ee19e6af Call openlog() earlier than syslog(). 2007-06-12 10:05:24 +00:00
yamt 7508122896 nfs_write:
- IO_SYNC: don't bother to flush dirty pages before copying data from
  user buffer.
- IO_APPEND: don't invalidate pages blindly.  PR/28472 from Brian Marcotte.
2007-06-12 09:42:27 +00:00
yamt f1ce35c9f6 nfs_inactive: don't clear NTRUNCDELAYED erroneously.
(fix cache consistency problems like NUL bytes near EOF.)
2007-06-12 09:33:25 +00:00
yamt ac63eb98da - nfssvc_nfsd: clear nfsd_slp when exiting.
(fix an assertion failure in rev.1.112.)

- nfsrv_init: add assertions.
2007-06-12 09:30:49 +00:00
kiyohara afb9a4457b Oops.
It mistook to commit.
  uath(4) not inport yet.
2007-06-12 07:06:48 +00:00
mhitch d2eac2f631 Pass a frame pointer to trap() rather than the 'entire frame' trick. Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc).  Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise.  Fixes the getcwd regression
test on most m68k ports.
2007-06-12 03:34:28 +00:00
agc c3f5008ead Add emulation of "fusermount -V". This prints out the fusermount version
number (which itself is the fuse version emulated, i.e. 2.6.0) on stdout,
and then exits.
2007-06-11 21:16:23 +00:00
agc e9dcd39bdb # use puffs_cred_getuid(3) and puffs_cred_getgid(3)
for i in `jot 100 1`; do
	echo "I must respect the abstractions which pooka put in puffs_cred(3)"
done
2007-06-11 20:54:33 +00:00
agc 2f101ca796 Set the uid, gid and pid wherever possible (i.e. where known). This gets
us far enough along that fuse-loggedfs now works with the correct command,
uid and gid being displayed.
2007-06-11 20:10:00 +00:00
nisimura 35eebf7b08 - fix errors in register number and bit field definitions.
- put a bit better comment about how LEGIRQ bit works.
2007-06-11 16:25:58 +00:00
joerg 9b73ffbd7e Fix format of last entry. 2007-06-11 14:25:50 +00:00
kiyohara 1b20b9d6d5 zyd was known to not work on big endian systems. 2007-06-11 13:39:22 +00:00
joerg bae7e889e2 Add an entry that OSS emulation is now faster. 2007-06-11 13:13:19 +00:00
joerg 5ccf1c578a Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.

This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.

Review and comments from jmcneill@
2007-06-11 13:05:46 +00:00
tsutsui ed180c85a3 Note sn(4) on mac68k switched to MI SONIC driver. 2007-06-11 11:46:09 +00:00
pooka 18e8d526ea print a specific warning if /dev/puffs cannot be opened in init 2007-06-11 06:13:34 +00:00
dyoung e62dac44ae Produce more useful error messages. 2007-06-11 04:22:00 +00:00
bouyer 2b8da1169c Move Xen timecouter entrie which has been pulled up to netbsd-4 2007-06-10 21:00:45 +00:00
christos b7c1cbea43 PR/36468: Andreas Wrede: ftpd(8) always logs hostnames. Add -n option to display
addresses.
2007-06-10 20:24:31 +00:00
christos 07186f02e2 Fix tab/space confusion; from Stefan Farfeleder 2007-06-10 20:20:28 +00:00
tsutsui aa9fb9663f Switch mac68k's sn(4) Ethernet to MI SONIC driver.
Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.
2007-06-10 05:59:42 +00:00
dogcow 9cd5005f13 mi says license, the filename itself says licence; make mi confom. 2007-06-10 01:33:47 +00:00
christos cc32d5a569 Note ZFS returning the number of entries instead of the size of the directory. 2007-06-10 01:21:53 +00:00
ad 3f8edbdfd7 G/C dead code. 2007-06-10 00:52:29 +00:00
ad 54630771e7 Nuke most of 2000-2006, but keep 1 year worth of changes. 2007-06-10 00:45:08 +00:00
christos 7a5ce90a9f PR/36464: scandir(3) corrupts heap when run on ZFS directories because ZFS
returns the number of entries as the directory size.
Use a new, more conservative entries estimator.
2007-06-09 23:57:25 +00:00
mlelstv a9ded62922 Do not check link state before starting transmitter. Otherwise
mbufs will just pile up in the interface queue.
2007-06-09 21:42:33 +00:00
ad c741f88d56 Acquire proclist_mutex before sending signals. XXX irix emul needs a bit
of work.
2007-06-09 21:25:49 +00:00