Commit Graph

1780 Commits

Author SHA1 Message Date
jmcneill
b2b7e1871b Ensure that HAVE_DIX_CONFIG_H is defined for damageext, dbe, exa, and glx
builds. Fixes recent trouble with the Composite extension, and should fix
some problems with the DAMAGE extension and who knows what else.
2011-01-15 13:54:52 +00:00
jmcneill
dba38226ce only define HAVE_MTRR on x86 2011-01-14 16:04:49 +00:00
haad
c7287ec04b Fix zfs Makefiles + debug, don't add -g by default only when MKDEBUG is
enabled. Fix header assert conflicts + bump WARNS for some libs.
2011-01-13 23:18:23 +00:00
joerg
20d71a1344 Update build system for mdocml-1.10.9. 2011-01-12 23:02:21 +00:00
joerg
6e4753617c Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.
2011-01-12 23:00:51 +00:00
joerg
f494eb95a3 Merge for mdocml-1.10.9 2011-01-12 22:58:42 +00:00
joerg
c0d9444af1 Import mdocml-1.10.9 and additional post-release bugfixes
(tbl_data.c 1.15, tbl_layout.c 1.13, tbl_opts.c 1.8).

This features many small improvements and the initial integration of
tbl(1) support on all output devices.
2011-01-12 22:57:08 +00:00
jmcneill
b66d32932e HAVE_MMTR -> HAVE_MTRR 2011-01-12 19:04:19 +00:00
haad
c73e2bf000 Use DM_DEVICE_CONTROL_MODE, because mapper/control device should have 660
and not 640 permissions.
2011-01-12 08:16:23 +00:00
kardel
4ba751f5ad make ntp compile for MKINET6=no 2011-01-09 14:49:39 +00:00
macallan
60e66c6f48 define NO_LEGACY_VGA on macppc and sparc64
May be necessary on other ports as well that have PCI but never use VGA text
mode.
2011-01-06 03:29:12 +00:00
haad
912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00
jmmv
1b0a12b414 Cherry-pick upstream revision f791048924a1b68da070f17dfd5e5c2d825dd018:
Report bogus test programs in the HTML output

From Paul Goyette in private mail.  Fixes PR bin/44301.
2011-01-05 14:03:08 +00:00
roy
160a96b3e7 Don't build the getline shim anymore as the NetBSD libc getline(3) has
proven itself now.
2011-01-03 11:33:44 +00:00
roy
0524c4d0bb Import dhcpcd-5.2.10 with the following change:
* -r, --request <address> now works again
2011-01-03 11:28:23 +00:00
wiz
7487051d3d Prefix section headers for 1 to 9 with "NetBSD " to match output
for non-HTML pages (i.e. groff ones). Noted by njoly.
2011-01-02 22:03:24 +00:00
mrg
cf66e37cc9 fix a comment 2011-01-02 11:24:20 +00:00
dholland
42bae07fce Remove references to SAVESTART in zfs. 2011-01-02 05:12:03 +00:00
pgoyette
a12cad24be Fix typo - let the build proceed 2010-12-30 00:46:38 +00:00
haad
d52c66bf4a Fix my yesterday fix and finally make _get_dev_size recognise partition size
for device without DIOWEDGEINFO, where DIOCGDINFO is used. Patch tested by
Martin Mersberger.
2010-12-29 23:14:21 +00:00
christos
4817a0b0b8 real override for yacc rules. 2010-12-29 19:53:32 +00:00
haad
d26a38d370 Fix problem where chown was used on normal device in time when only
raw device was created. While here do some cleanup.

Problem find and reported by Martin Mersberger on current-users@.
2010-12-29 10:39:27 +00:00
haad
ca7dbf8cb5 Fix bug added by my last commit. This should fix
PR: bin/44286

Reported by: mlelstv@ and Martin Mersberger.
2010-12-29 00:14:04 +00:00
haad
bec5c61e50 Define vn_getattr in zfs_context.h. 2010-12-28 16:44:45 +00:00
haad
bca088ab45 Fix problem where vnode vp_size was not updated when vndoe was already allocated,
for vdev. This makes ztest survive ztest_vdev_LUN_growth test. Replace dummy
VOP_GETATTR with vn_getattr routine which reset vp_size and vattr_size accordingly
to reality.
2010-12-28 13:36:09 +00:00
jmmv
15dbacd486 Pull up revision 869e092e4986eb5dce90331ca9a64e125d7796eb from mainstream:
Revision: 869e092e4986eb5dce90331ca9a64e125d7796eb
Parent:   cca40eb08e7469dfe9d6ca982613458f24c1de28
Author:   jmmv@NetBSD.org
Date:     12/27/10 21:19:19
Branch:   org.NetBSD.atf.src

Changelog:

Recognize sigabrt in the signal checker

Problem found by Paul Goyette.

Changes against parent cca40eb08e7469dfe9d6ca982613458f24c1de28

  patched  atf-sh/atf-check.cpp
2010-12-27 20:36:17 +00:00
christos
017d3467b1 - don't forget to restore the umask on error.
- save and restore umask for control
- chown/chgrp for raw devices
2010-12-26 14:48:34 +00:00
christos
6f6878df03 defs.h already includes nbtool_config.h, so don't do it twice. 2010-12-25 23:43:30 +00:00
christos
5743e2a045 fix debugging:
- don't print junk for the interface name
- parse and print known rtm messages we get
2010-12-25 20:45:49 +00:00
joerg
570bc97f41 Include nbtool_config.h for the toolchain build as platforms like Linux
don't define __RCSID.
2010-12-25 19:24:28 +00:00
christos
9f5adb9583 fix type-punned warnings on gcc-3.3.3 2010-12-25 18:23:39 +00:00
christos
f2fd5dbad4 Fix non-threads compatibility code which was causing trouble even in the
threaded version.
2010-12-25 15:26:32 +00:00
christos
60b2c79645 remove typo. 2010-12-24 23:28:14 +00:00
christos
cf91bdd313 update for new yacc. 2010-12-24 23:27:14 +00:00
haad
8f7b707f59 libzfs_fru_clear was not ported to NetBSD disable it foor now. 2010-12-24 16:13:58 +00:00
christos
379031a404 update yacc to the most recent. 2010-12-24 02:58:20 +00:00
christos
9cdaf1e6ed import latest byacc 2010-12-23 23:36:22 +00:00
haad
4c90c8eeab Change way how we get device size from device. Do not use LSEEK but
DIOCGWEDGEINFO and DIOCGDINFO. This should fix problem with raidframe + lvm
reported by

Toby Karyadi on current-users@.

Thanks for reporting this issue.
2010-12-23 21:39:08 +00:00
christos
0318099292 PR/44267: Michael van Elst: LVM devices have wrong permissions
- Centralize CPPFLAGS for DM_DEVICE_{UID,GID,MODE}
- Make DM_DEVICE_GID operator DM_DEVICE_MODE 0640 to be more NetBSD like
- make all the code use DM_DEVICE_MODE instead of hard-coding.
- make sure that all mknod calls are followed by a chown call.
2010-12-23 17:46:54 +00:00
christos
3e6a896a34 false needs stdbool.h 2010-12-23 17:44:33 +00:00
mlelstv
07d2f05926 Get sector size from device properties using DIOCGDISKINFO and
use the disklabel (DIOCGDINFO) only as a fallback. This works
with wedges.
2010-12-23 14:46:25 +00:00
tsutsui
6ff9a90670 Disable bzip2 support in tools bdftopcf(1).
We don't use bzip2 fonts on build and some OS doesn't have bzip2 headers.
Ok'ed by mrg@, martin@, fixes PR/44138.

Should be pulled up to netbsd-5 (and netbsd-5-1).
2010-12-19 13:04:54 +00:00
joerg
53ec7d85a6 Build xcvs without -g. 2010-12-18 04:23:26 +00:00
wiz
1e9e3652c6 Bump date for chroot default. 2010-12-17 10:35:10 +00:00
jruoho
27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
joerg
fe0427534e Kill use of __DATE__ and __TIME__ in SCCS strings. 2010-12-17 00:23:58 +00:00
wiz
3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
haad
363aa1ba89 Whitespace police. 2010-12-15 22:49:42 +00:00
haad
59385470cf Only KM_SLEEP | KM_NOSLEEP can be passed down to kmem layer, clean up
tqflags from internal taskq flags (TQ_FRONT) before calling kmem_alloc.
2010-12-15 22:09:14 +00:00
enami
83d9249c3a Fix typo. 2010-12-15 07:36:51 +00:00