Commit Graph

201610 Commits

Author SHA1 Message Date
joerg
452d7db1fd Document poinst where the LLVM/clang integration is unclean 2011-05-30 16:25:31 +00:00
joerg
f795474780 Hack for clang to workaround non-ICE CMSG_SPACE used in union. 2011-05-30 16:24:13 +00:00
joerg
9692a5355f Hacks for CMSG_SPACE() not being an ICE 2011-05-30 16:20:58 +00:00
joerg
015f3042c3 Pull in report.c, 1.107 from upstream:
Use offsetof() macro and avoid defining dummy static union for FIELD()
macro.  Makes it compilable by clang compiler.
2011-05-30 16:03:02 +00:00
christos
f457cf3348 add missing debuglib 2011-05-30 15:38:07 +00:00
joerg
f6ced94e3b Disable -Werror for ah_regdomain.c if building with clang as workaround
for http://llvm.org/bugs/show_bug.cgi?id=10030.
2011-05-30 15:06:32 +00:00
manu
26381d518d Use SOCK_SEQPACKET in perfuse if available. This fix file operations hangs
where the FUSE filesyste replied to an operation and got an ENOBUFS it did
not handle.

We now are also able to cleanly unmount
2011-05-30 14:50:08 +00:00
joerg
28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
joerg
1b1e18e947 Use format string for the device name 2011-05-30 14:34:58 +00:00
joerg
56436077b3 Use proper format strings. 2011-05-30 14:20:48 +00:00
joerg
e4a1ce5cf6 Declare mmsg as string constant, not as a pointer to a string constant.
This avoids format strings warnings.
2011-05-30 14:20:19 +00:00
joerg
986345740c Define a few macros as unsigned to avoid UB when later shifting them
in ways that involve integer overflow.
2011-05-30 13:58:23 +00:00
joerg
45132449f2 Silence warnings about unused return value for a dead hardware read. 2011-05-30 13:57:21 +00:00
joerg
78ec0254df Reorder CWARNFLAGS and -Werror in CFLAGS to allow CWARNFLAGS and by
extension CWARNFLAGS.${SOURCE} to override it selectively.
2011-05-30 13:56:34 +00:00
joerg
364e10d719 Don't play format string tricks, use two calls with the correct number
of arguments for each.
2011-05-30 13:55:27 +00:00
joerg
e9589da531 Fix format strings to match arguments 2011-05-30 13:52:26 +00:00
joerg
232e4194f9 Remove invalid const, the content is later passed to free. 2011-05-30 13:50:36 +00:00
joerg
70e887f5ec Add an alternative to NOGCCERROR for clang. 2011-05-30 13:47:01 +00:00
martin
56a416ee80 Remove "expected failure" for tmpfs PRs that are now fixed. 2011-05-30 13:10:38 +00:00
joerg
4ef16e9c8a Use proper format string 2011-05-30 13:03:56 +00:00
christos
f680b88a94 remove obsolete entries for .so.*.debug. njoly verified they are not needed
(postinstall takes care of them automatically).
2011-05-30 09:54:30 +00:00
christos
32d6a43481 fix my own typo 2011-05-30 09:53:40 +00:00
wiz
46569cacb0 Fix some typos, from OKANO Takayoshi in PR 45001. 2011-05-30 06:19:53 +00:00
joerg
94dd60a9c3 Don't duplicate -Werror here, bsd.sys.mk already provides it 2011-05-30 03:12:43 +00:00
joerg
ab7b7d013a Use consistent sign in compare, the function is only called with
constants as third argument anyway.
2011-05-30 03:11:15 +00:00
christos
e4b0447a20 Missing \\ 2011-05-30 02:12:02 +00:00
christos
98e1a58a8c fix a lot of different issues (doesn't anyone build anymore)
- libdns had the wrong version
- zfs attributes missing
- missing debug libs
- typos in library names
- typos in library versions
- _g libraries missing for new .so files (since we don't install .a files
  we should not be installing _g.a files either, why are we?)
Hopefully this will fix the sparc64 build.
2011-05-30 02:10:25 +00:00
dyoung
9a37c59cd7 MI drivers should #include <sys/bus.h> not <machine/bus.h>. 2011-05-30 01:48:40 +00:00
dyoung
4b2c4b100e It's not necessary to #include both <machine/bus.h> and <sys/bus.h>,
because <sys/bus.h> will do: <sys/bus.h> #includes <machine/bus.h>.
2011-05-30 01:15:30 +00:00
haad
0c1ba949b7 Fix problem where DM_IOCTL_NAME was used in libdm_task_set_uuid except of
DM_IOCTL_UUID. This makes lvremove to work properly.

Thanks To hugo Silva and Toby Karyadi for reporting this issue.
2011-05-30 01:10:57 +00:00
haad
4808af5865 Fix DEBUG enabled build, after every minor lib bump DEBUG enabled build should
be run to catch all changes. Hi spz!
2011-05-29 23:35:50 +00:00
christos
99b79f0f2d find util/memleak/memleak.h 2011-05-29 23:00:41 +00:00
rmind
9976e82537 Fix non-DEBUG build. 2011-05-29 22:43:32 +00:00
rmind
4781942ccb - Rework and document inode reference counting. Also document inode life
cycle (destruction part).  Perform link counting in tmpfs_dir_attach()
  and tmpfs_dir_detach(), instead of alloc/free and arbitrary places.
  Fixes PR/44285, PR/44288, PR/44657 and likely PR/42484.

- Fix the race between the lookup and inode destruction.  Fixes PR/43167
  and its duplicates PR/40088, PR/40757.

- Improve tmpfs_rename() locking a little, fix kqueue event notifications
  and also fix PR/43617.  Add simplistic tmpfs_parentcheck_p(); to be
  expanded and used for further rename() locking fixes.

- Cache directory entry "hint" in the tmpfs node, add tmpfs_dir_cached(),
  and thus avoid unnecessary lookup in tmpfs_remove() and tmpfs_rmdir().

- Set correct _PC_FILESIZEBITS value in tmpfs_pathconf().  Fixes PR/43576.

- Few minor fixes.
2011-05-29 22:29:06 +00:00
christos
41ceba0065 when undoing the sigsuspend setup, either take the signal and allow the
signal path to restore the mask, or restore the mask here.
2011-05-29 22:14:53 +00:00
christos
782e6f71ab Modify the test to be more robust. Still getting fork interrupted somehow,
but the tests work (after my kernel changes).
2011-05-29 22:12:32 +00:00
phx
fd66150e69 When PPCBoot supports the SKnet interface it will configure it to automatically
byte-reverse all descriptors by setting a vendor-specific bit in PCI config
space. We have to clear that bit to make sure our driver can send and
receive.
2011-05-29 18:06:45 +00:00
tsutsui
252725cf51 Build zauruscd.iso on build.sh iso-image target as other ports. 2011-05-29 17:19:31 +00:00
tsutsui
79fcae9efc Apply fixes for PR bin/44114 (makefs(8) -t cd9660 -o rockridge creates
corrupted cd9660fs):
 - makefs/cd9660.c:
  - cd9660_rrip_move_directory() should also update lenght[0] and
    name_len[0] in dir->isoDirRecord
 - makefs/cd9660/iso9660_rrip.c:
  - cd9660_rrip_finalize_node() should check rr_real_parent in node->parent,
    not in node itself in RRIP_PL case
  - cd9660_rrip_initialize_node() should update only node passed as arg
    so handle RRIP_PL in DOTDOT case

Fixes malformed dotdot entries in deep (more than 8 level) directories
moved into .rr_moved dir.

Should be pulled up to netbsd-5.
(no official ISO has such deep dirs, but cobalt restorecd is affected)
2011-05-29 17:07:57 +00:00
spz
8759887774 note bind update 2011-05-29 15:21:34 +00:00
spz
f93f010473 merge 9.8.0-P2:
- fixes CVE-2011-1910: Large RRSIG RRsets and Negative Caching can crash named
- fixes CVE-2011-0414: bind lockup during IXFR
- return a more correct error in case of policy violation

bump version of libdns and libisc
2011-05-29 15:17:08 +00:00
phx
9a6f7751cf The Genesis interface provides a register in the device specific config space
to automatically revert the byte order in all descriptors.
Make sure this feature is inactive. Otherwise the driver is unable to
receive or transmit any frame.
2011-05-29 13:31:30 +00:00
tron
b38a19838c Don't use assert(3) for expressions with side effects on request by
by Christos Zoulas. Use ATF_REQUIRE() and ATF_REQUIRE_EQ() instead.

Also use ATF_REQUIRE_EQ_MSG() instead of ATF_REQUIRE_MSG() to avoid
crashes if one of the required conditions isn't met.
2011-05-29 12:57:14 +00:00
jmcneill
006e5dde1f When a child device is detached and no interfaces are claimed by drivers,
free the port's subdevice list. This allows for detaching a driver from
a USB device and loading a different one without disconnecting the device.
2011-05-29 12:37:09 +00:00
tsutsui
ab8fe1ab84 Avoid backward seek on tape boot. 2011-05-29 10:29:01 +00:00
tsutsui
62cab9ef46 Use WARNS?=2 to pull warnings flags. 2011-05-29 10:19:09 +00:00
tsutsui
4d77588a25 Disable LOAD_BACKWARDS on tapeboot which can't seek backwards.
Fixes bootstrap tapeboot installation failure on TME reported from ryoon@.

Should be pulled up to netbsd-5.
(note netbsd-5 uses LOAD_NOTE instead of LOAD_BACKWARDS)
2011-05-29 10:15:30 +00:00
tsutsui
2ab216d8a0 Add ugly definitions to make standalone programs build without
installed DESTDIR binaries.
2011-05-29 10:06:34 +00:00
wiz
102976ee1d Bump date for SOCK_SEQPACKET; add serial commas. 2011-05-29 08:46:42 +00:00
manu
ed3e0293c8 Document that localsocket may be of type SOCK_SEQPACKET 2011-05-29 04:54:45 +00:00