tron
d341b47a1c
Define "USE_V7FS" in the makefile of the directory with the actual source.
2011-07-18 21:22:55 +00:00
martin
4821d7c4b4
if _KERNEL is not defined, include <sys/stdarg.h> for va_list. For the
...
kernel (or modules) this is already done by systm.h.
2011-07-18 21:00:28 +00:00
jmcneill
ed24055289
regen
2011-07-18 20:24:18 +00:00
jmcneill
34df196ad0
add SMK eHome Infrared Transceiver
2011-07-18 20:23:32 +00:00
tron
d43e32f723
Turn SSP warnings for "dynstr_test.c" off, found by GCC 4.5.
2011-07-18 19:30:49 +00:00
joerg
a968e272e0
Partially revert last, keep assertions enabled (but with the correct
...
spelling of the option).
2011-07-18 19:11:28 +00:00
adam
b878485fea
Pass HOST_CC otherwise fails e.g. on Mac OS X; fixed typo in --disable-assertions
2011-07-18 18:37:15 +00:00
dyoung
f7f7c8b5b4
Do the bus.h -> bus_{defs,funcs}.h split and change all occurrences of
...
<machine/bus.h> to <sys/bus.h>.
2011-07-18 17:51:17 +00:00
dyoung
37e7f7ec40
Fix last: dreamcast/bus.h is not obsolete, yet, so put it back in the
...
set list.
2011-07-18 17:42:34 +00:00
dyoung
bd9833f4ce
Fix last: obsolete the right machine/architecture bus.h file(s) in each
...
case.
2011-07-18 17:39:05 +00:00
dyoung
f769d6353b
Mark bus.h obsolete on more archs.
2011-07-18 17:29:20 +00:00
dyoung
d6c3db715e
Do the bus.h -> bus_{defs,funcs}.h split and change all occurrences of
...
<machine/bus.h> to <sys/bus.h>.
2011-07-18 17:26:55 +00:00
dyoung
03946daef1
Mark <machine>/bus.h obsolete in some more set lists.
2011-07-18 17:18:14 +00:00
tron
043cc21d99
Don't include v7fs support into tool version of "makefs" because it
...
breaks the build.
2011-07-18 17:15:51 +00:00
tron
2c0999f3fa
Fix broken error check found by GCC 4.5.
2011-07-18 17:15:07 +00:00
tron
b166bb160f
Don't include v7fs support into tool version of makefs because it
...
breaks the build.
2011-07-18 17:15:06 +00:00
tron
7b580b1338
Disable SSP warnings (not SSP itself) for this library as their are too
...
many source files with functions that use variable sized arrays.
2011-07-18 16:55:49 +00:00
plunky
412b8db41e
only modify the termios structure when tty_in is verifiably a terminal
2011-07-18 15:44:17 +00:00
isaki
1e5cdc09c0
fix indent again.
...
- "Second level indents are four spaces." pointed out by tsutsui@
- fold long line.
2011-07-18 14:11:27 +00:00
tsutsui
f071cf288d
Note luna68k updates.
2011-07-18 11:55:08 +00:00
drochner
3c39863810
regen after *setxattr constification
2011-07-18 11:43:53 +00:00
drochner
2ac9241da8
make the data arguments of *setxattr(2) const, as in Linux
...
(is this an official NetBSD API or should it be COMPAT_LINUX only?)
2011-07-18 11:28:24 +00:00
uch
dd9e830956
v7fs(7th edition(V7) file system) support.
2011-07-18 08:58:38 +00:00
isaki
5dbbcf1470
fix indent. no functional changes.
2011-07-18 07:44:30 +00:00
dholland
5b854a1a07
ffs and ffslog are no longer xfail.
2011-07-18 06:47:08 +00:00
dholland
36c3688f7b
Remove some unneeded rename-related static const data.
...
(Why didn't gcc warn that this was unused?)
2011-07-18 06:46:05 +00:00
dholland
8b45aa4ea4
Eliminate the old ufs_rename. The only reason the WAPBL one was
...
different is that in order to avoid issues with the WAPBL journal lock
the wrong locking had to be changed to different wrong locking. This
is now moot.
I have not hand-validated that the current two copies of rename are
equivalent, or that the locking fixes merged with the old rename
produce code that is textually identical (modulo WAPBL calls that do
nothing when WAPBL is turned off) to the WAPBL rename... but I did
this check when preparing my previous round of rename patches last
year and all updates since have been applied to both.
2011-07-18 06:45:47 +00:00
dholland
ffbed3d146
Move ufs_wapbl_rename to ufs_vnops.c next to the old ufs_rename.
2011-07-18 06:45:27 +00:00
jruoho
b4152f8512
Regen.
2011-07-18 06:31:59 +00:00
jruoho
d019b19341
Add MSI MegaSky DVB-T dongle.
2011-07-18 06:30:49 +00:00
jruoho
cc6f1c900e
Use __arraycount(3).
2011-07-18 05:57:40 +00:00
jruoho
4c0e40e4b4
Use a list for clarity, update standards, etc.
2011-07-18 05:17:16 +00:00
dholland
6afd4e5087
typo
2011-07-18 04:39:28 +00:00
jruoho
650c5cb762
Verify that dup2(2) and dup3(2) fail with EBADF if the "new descriptor" is
...
specified to be larger than RLIMIT_NOFILE.
2011-07-18 04:29:37 +00:00
christos
9b1cdf6a14
better fix for gcc uninitialized.
2011-07-18 02:47:52 +00:00
dholland
091c1fe61a
ok, it is clear that at least vput(vp) needs to go before fstrans_done().
...
I hoping vput(dvp) doesn't, because if it does that will vastly complicate
future vfs locking cleanup.
2011-07-18 02:35:11 +00:00
manu
7541af315c
ftruncate(2) cause a SETATTR with only va_size set, and some filesystems
...
(e.g.: glusterfs) will do a custom handling in such a situation. This
breaks because libpuffs folds a metadata (va_atime and va_mtime) update
in each SETATTR. We try to identify SETATTR caused by ftruncate(2) and
remove va_atime and va_mtime in such situation.
This fixes a bug with glusterfs, where parts of a file downloaded by
FTP was filled with zeros because of a ftruncate(2) sent out of order
with write(2) requests. glusterfs behavior depends on the undocumented
FUSE rule that ftruncate(2) will only set va_size in SETATTR.
2011-07-18 02:14:01 +00:00
dholland
c751831386
Add the long essay on rename locking from my earlier patch set as a
...
big comment, and expand it some for clarity.
2011-07-18 01:52:55 +00:00
dholland
5c6ce29c40
More rename tidying.
2011-07-18 01:14:27 +00:00
dholland
fe126fdad8
In ufs_wapbl_rename, remove #if 0 blocks and remove code for
...
now-impossible cases.
2011-07-18 01:14:04 +00:00
dholland
964d208c77
Fix error path for UFS_WAPBL_BEGIN failure to avoid leaking an vnode
...
(in memory) and inode (on disk). Caution: untested; I have no idea how
to provoke such a failure.
2011-07-18 01:13:33 +00:00
mrg
d4bff0e86b
convert the remaining dev/sbus drivers to CFATTACH_DECL_NEW, cfdata_t
...
and device_t, including the pci frontend and backend for en(4).
2011-07-18 00:58:51 +00:00
christos
6e03a05a94
fix gcc uninitialized warnings
2011-07-18 00:43:35 +00:00
christos
6c10492aaa
fix uninitialized gcc variables
2011-07-18 00:42:40 +00:00
mrg
142a02103b
convert the remaining sparc drivers to CFATTACH_DECL_NEW/cfdata_t/device_t.
...
(cgsix_obio.c was only partially converted with the rest of the cgsix code
when it was changed some time ago.)
2011-07-18 00:31:13 +00:00
mrg
9c508f54bd
convert to use device_t, cfdata_t and CFATTACH_DECL_NEW().
...
XXX: compile time tested only.
2011-07-18 00:05:35 +00:00
christos
1360a27d17
fail early on socket domain+type combinations we don't support
2011-07-17 23:59:54 +00:00
dyoung
106ff60f41
Do not install bus.h.
2011-07-17 23:52:12 +00:00
dholland
99199b5b1a
fix typo
2011-07-17 23:50:05 +00:00
dyoung
8a61060442
Switch to new-style <sys/bus.h>.
2011-07-17 23:48:35 +00:00