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
christos
83c933dca1
Use the source dir atomic.h
2010-12-15 02:08:16 +00:00
haad
591e382e8c
Revert last commit it's not needed anymore.
2010-12-15 00:58:58 +00:00
christos
a9c38a6a96
Wrong rfc mentioned
2010-12-14 23:43:32 +00:00
haad
3bd4964ac1
Do not built 64b atomic ops to libzpool they are in libc again.
2010-12-14 23:39:11 +00:00
christos
c2a9dfd59e
handle lack of <sys/atomic.h>
2010-12-14 23:19:23 +00:00
christos
f4f6c00c90
silence gcc-3 uninitialized variable warning.
2010-12-14 23:18:31 +00:00
christos
30037bfd3f
Handle NetBSD-5 and 4 lack of atomics by disabling threads.
2010-12-14 23:17:20 +00:00
christos
97caf9021f
handle openssl versions less < 1.
2010-12-14 23:16:39 +00:00
tron
4dd88e84a3
Get DTrace to build again.
2010-12-14 14:08:42 +00:00
haad
4d468780ce
Use only cas versions of 64 bit atomic ops.
2010-12-14 09:19:14 +00:00
haad
7527c22f7f
Add NetBSD version of zfs snapshot management code. IT needs testing it
...
was only compile tested for now, but I would like to have some code in to be
sure that it will not be lost.
2010-12-14 01:28:18 +00:00
haad
732f954b5c
Define mutex_owned.
2010-12-14 01:25:37 +00:00
haad
f60c1b8f4b
Remove now unneeded print_timestamp.
2010-12-14 01:23:43 +00:00