Commit Graph

1392 Commits

Author SHA1 Message Date
darran
f6bf800773 DTrace: Add the Function Boundary Trace (FBT) provider moduile. This
module  instruments every function in the kernel with entry and exit
probes.  These probes are true zero-effect probes in that they don't
exist in the code until they are enabled.  The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.
2010-03-12 21:53:15 +00:00
darran
328338d6bd DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.
2010-03-12 21:37:37 +00:00
haad
16daab5dae Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
2010-03-12 16:24:40 +00:00
darran
5b3b7dba24 DTrace: fix a few build issues for tools and the dtrace provider operation
interface.
2010-03-11 23:28:07 +00:00
darran
2ac926fa16 DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.
2010-03-11 23:26:33 +00:00
darran
7eee4c810f DTrace: fix a libctf toolchain build problem. 2010-03-10 23:41:56 +00:00
lukem
1f0d0df9ea fixed rcsids on 2.4.21 import 2010-03-08 06:43:18 +00:00
lukem
2b8444592e openldap2netbsd - script to munge rcsids, and otherwise prepare for import 2010-03-08 06:42:31 +00:00
lukem
e598ca9c12 bump minor version for 2.4.21 2010-03-08 05:45:24 +00:00
lukem
62a8debe1d build ldapurl 2010-03-08 05:24:59 +00:00
lukem
9b4fc98d5f ldapexop now has a man page 2010-03-08 05:24:33 +00:00
lukem
1ae7a69fb9 support building without common.c (for ldapurl) 2010-03-08 05:23:41 +00:00
lukem
e3d0290b8c add meter.c 2010-03-08 05:19:10 +00:00
lukem
9a2cfaa213 update for .c changes in 2.4.21 2010-03-08 05:18:17 +00:00
lukem
45f096ee63 version is now 2.4.21 2010-03-08 05:17:25 +00:00
lukem
902ced1e35 Man pages added in 2.4.21 2010-03-08 05:11:20 +00:00
lukem
19fc3e3fef Regenerate for OpenLDAP 2.4.21 2010-03-08 05:08:40 +00:00
lukem
672b7d248c Regenerate for openldap 2.4.21 2010-03-08 05:07:40 +00:00
lukem
e6632eb096 Disable HAVE_TLS here; we'll conditionally enable it in the Makefiles.
Disable HAVE_FETCH; API appears to be incompatible
2010-03-08 05:07:16 +00:00
lukem
4f33bfd95b fix const warning 2010-03-08 05:00:51 +00:00
lukem
f8fd1d3c37 include <ac/time.h> for timeval. 2010-03-08 04:58:18 +00:00
lukem
60134bf0d1 Merge 2.4.21 2010-03-08 03:47:40 +00:00
lukem
4e6df137e8 OpenLDAP 2.4.21. Numerous fixes, including:
* properly handle NUL in CN of SSL certs (CVE-2009-3767)
2010-03-08 02:14:20 +00:00
plunky
b3fbf28e26 Install PCC cpp as libexec/pcpp to avoid name conflicts with other
compilers (eg GCC), and to match the manpage which is already installed
as pcpp.1

(Gregory McGarry: "I think it's a good idea")
2010-03-07 16:27:17 +00:00
plunky
f61fe2b584 break overly long line 2010-03-07 12:05:09 +00:00
darran
141a7ffa73 DTrace: add a dependency on the dtrace module. 2010-03-05 02:21:41 +00:00
darran
b50656c859 DTrace: fix the curthread and mutex data types. 2010-03-05 01:53:15 +00:00
darran
dc1214bcba DTrace: Explicitly check for OS X to decide if echo needs -e. 2010-03-05 01:34:35 +00:00
yamt
9b49bad822 fix multi-thread problems wrt read/write buffer. PR/42651. 2010-03-03 00:44:51 +00:00
darran
1a9939bde9 DTrace: another fix for OS X builds, stdint.h location. 2010-03-02 22:00:32 +00:00
darran
fe6ba50113 DTrace: Get DTrace to build on OS X platforms. 2010-03-02 21:08:36 +00:00
darran
19c2a5114b DTrace: make sure we get a processorid_t definition (fix zfs module build). 2010-03-02 00:55:46 +00:00
darran
8a2ce716b0 DTrace: fix the dtps_provide_module definition. 2010-03-02 00:43:36 +00:00
darran
d4b5b32026 DTrace: fix to only define sdt_provider_t if in the kernel. Not for
user space.
2010-03-01 23:42:41 +00:00
darran
283a6ba02c DTrace: update sdt.c handlers to match latest OpenSolaris vendor import. 2010-03-01 22:38:29 +00:00
darran
ffcea0cd00 DTrace: processorid_t is defined elsewhere (pset.h), so make it a sun only
definition here.
2010-03-01 22:20:15 +00:00
haad
bbc4932093 Commit last to fixes which make zfs version 22 compiling again. 2010-03-01 21:13:09 +00:00
darran
6a9056a926 DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider.  Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.
2010-03-01 21:10:13 +00:00
haad
384eb3acb2 Remove fletcher.c from dist it was moved to common/zfs/zfs_fletcher.c in upstream. 2010-03-01 20:38:19 +00:00
haad
5a7add5b9c Removee compile time generated file from dist it is in osnet/sys/sys now. 2010-03-01 20:10:46 +00:00
haad
3ab7a7aa17 This id compile time generated file add it to sys/sys and do not polute
dist dir with it.
2010-03-01 20:06:37 +00:00
darran
ac8906f757 DTrace: fix a few problems introduced by the recent ZFS update (expected
problems from the OpenSolaris merge).
2010-03-01 11:19:39 +00:00
haad
06e8ea2875 Add header files needed for building zfs as kernel_module. 2010-03-01 00:41:35 +00:00
joerg
7780622b8d Use HUGE_VAL on VAX as INFINITY requires a warning according to ISO C99
on VAX. Use the less intrusive approach of a conditional here.
2010-03-01 00:15:47 +00:00
haad
75eba26b3c Add forgotten misc.h header file, which I forgot to commit. 2010-02-28 22:50:48 +00:00
haad
07be11bb73 Addmissing symbols to libumem. 2010-02-28 22:45:45 +00:00
haad
7077d82ba4 Add missing zfs_fletcher.c to libzfs. 2010-02-28 22:40:09 +00:00
haad
29137ce9bb Add newly added stubs.c file to libzfs build. 2010-02-28 17:40:35 +00:00
haad
e3855e55fa Add fixes for missing symbols from libzfs and libzpool. 2010-02-28 17:36:51 +00:00
haad
3491b19f5b Add NetBSD/Solaris compatibility SHA header. 2010-02-28 17:22:01 +00:00
haad
68ffa27a55 Add missing -I definition. 2010-02-28 15:24:04 +00:00
haad
90f8c9d149 Add missing header file, I will tag it to osnet-20100224 later. 2010-02-28 15:17:44 +00:00
haad
32fa36ddd0 Add another set of headers files. 2010-02-28 15:13:27 +00:00
haad
826319b9a5 Add missing header file I have missed it in first round of glue commits. More
to come.
2010-02-28 15:10:12 +00:00
haad
9531208f86 Add our local version of sysevent.h file without door.h useage. 2010-02-28 15:07:14 +00:00
haad
a3bfe6d964 Add NetBSD build glue to build new zfs version 22 sources. 2010-02-28 14:45:47 +00:00
darran
ba7b8985fe DTrace: enable access to kernel space for DTrace scripts. 2010-02-28 07:01:43 +00:00
haad
a252d550c0 Merge NetBSD local changes to new zfs version 22 sources. 2010-02-27 23:43:52 +00:00
haad
f59c7639cd Import new Opensolaris sources for zfs/dtrace.
Opensolaris mercurial changeset: 11751:58c0c8f4305f
2010-02-27 22:29:20 +00:00
roy
4d83beb44b Import dhcpcd-5.2.1 for a build fix 2010-02-27 16:02:25 +00:00
roy
3818f326d9 Include platform.c 2010-02-27 15:55:09 +00:00
roy
0df03e9fd9 Import dhcpcd-5.2.0 with the following changes from dhcpcd-5.1.5:
* VendorID is now dhcpcd-$version:$OS-$version:$machine:$platform
* IPv4LL address range can now be used in DHCP requests
* sysctl net.ipv4.conf.$iface.promote_secondaries enabled on Linux
  This resolves a long standing issue of changing ip on the same subnet.
* IPv4LL correctly resets the DHCP timer.
2010-02-27 15:52:20 +00:00
drochner
2b06c3b677 remove generated binary files 2010-02-27 12:08:56 +00:00
agc
18a6f17072 add reachover shlib version file 2010-02-26 05:23:18 +00:00
darran
216ff964d9 DTrace: okay *really* fix the deadman exit handling. No need for that
over-complicated handshake. Fixes a lockdebug mutex held issue.
2010-02-25 16:49:19 +00:00
wiz
bc3c98c2fc Convert to mdoc.
XXX: license should be added to file.
2010-02-25 13:51:44 +00:00
wiz
a6f6e00106 New sentence, new line. (more to come). 2010-02-25 13:05:11 +00:00
darran
4d76bb3302 DTrace: fix a problem with the code waiting for the deadman thread to exit
- now it does actually wait for it to exit.  Thanks to Frank Kardel for
spotting this.
2010-02-25 11:12:02 +00:00
agc
7aa5ca9937 add reachover logic for agrep - an approximate grep program which uses
the newly added libtre, which is "the free and portable approximate
regex matching library".

the manual page is not yet in standard format
2010-02-25 08:06:43 +00:00
agc
c71b413f8c add reachover glue, and config headers, to allow libtre to build with WARNS=4 2010-02-25 07:46:14 +00:00
agc
63d4abf06d initial import of tre-0.8.0 into the external sources framework.
with many thanks to ville laurikari for writing tre in the first place
and for changing the licensing to a 2-clause bsd license; thanks also to
matthias-christian ott for his work on the google summer of code 2009
project.

this import brings the distribution to src/external - the reachover
build files will follow
2010-02-25 07:33:17 +00:00
darran
bb7c1e9274 DTrace: fix CTF tools for non-toolchain build. 2010-02-25 00:18:44 +00:00
darran
84501f8fef DTrace: have DTrace build with out requiring MKZFS=yes. 2010-02-25 00:14:10 +00:00
darran
89300bd9df DTrace: Get the CTF tools building as part of the toolchain. 2010-02-24 21:53:26 +00:00
darran
9f15b3a450 Fix a bug in the dtrace_state_deadman() thread; return should have been
a continue (thanks Frank!).
2010-02-24 21:08:54 +00:00
tron
3d553f9ca7 Disable stack protection warnings for more sources which use dynamically
sized stack buffers.
2010-02-24 15:40:54 +00:00
tron
ab396280fe Disable stack protection warnings for sources which use dynamically
sized stack buffers.
2010-02-24 12:51:05 +00:00
tron
00ff80736e Include "bsd.own.mk" before checking "MKDTRACE" to allow setting it
in "/etc/mk.conf".
2010-02-24 12:18:37 +00:00
tron
235f29a8f3 Disable stack protection warnings for "zdb_il.c" which uses a dynamically
sized array on the stack.
2010-02-24 11:56:35 +00:00
drochner
7abc5be2ce adjust INTERP path for NetBSD (needed eg for -static -pie) 2010-02-23 20:42:40 +00:00
jnemeth
c686421e4b PR/42874 - Henning Petersen -- misplaced } 2010-02-23 16:41:01 +00:00
jnemeth
b006902069 PR/42873 - Henning Petersen -- missing ) 2010-02-23 16:35:06 +00:00
haad
a7a3d3b216 Revert lib_nvpair hack now when it is not needed when njoly@ commited his fix to
bsd.lib.mk.
2010-02-22 20:05:03 +00:00
joerg
87faf7cb4f \\ -> \e 2010-02-22 19:20:33 +00:00
tron
c76e590d3d Disable stack protection warnings for "dtrace.c" which uses alloca(3). 2010-02-22 12:21:27 +00:00
darran
e171441276 Prep for building as part of the toolchain. 2010-02-22 11:01:29 +00:00
darran
9583b24e87 Get rid of extra include files added while debugging the toolchain build
problem.
2010-02-22 10:59:08 +00:00
darran
97d3245ff3 Get libelf building in the toolchain again. 2010-02-22 10:48:32 +00:00
darran
7b822b43cb DTrace: fix a problem with library references for libctf and libdtrace. 2010-02-21 11:00:01 +00:00
darran
4e42fd7663 DTrace: remove extra libshare.h - shouldn't have added it and it breaks
the libzfs build.
2010-02-21 10:21:06 +00:00
darran
17b93c1002 DTrace: remove assert.h - shouldn't have been checked in (breaks libdtrace
build).
2010-02-21 09:52:08 +00:00
darran
f2505ce1e5 DTrace: remove file.h - it shouldn't have been added and breaks zfs. 2010-02-21 08:28:40 +00:00
darran
01c9547e57 Apply NetBSD changes to DTrace.
Ok with core@.
2010-02-21 01:46:32 +00:00
darran
bb8023b5c1 Add the FreeBSD 8-RC1 changes for DTrace.
Ok with core@.
2010-02-21 00:49:51 +00:00
joerg
808b2c3215 Remove a windows-only source file from the list. 2010-02-20 22:49:22 +00:00
joerg
a47bf818c5 Merge 2010-02-20 04:44:59 +00:00
joerg
2dbe35ad26 nstall-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
2010-02-20 04:41:52 +00:00
darran
a864dc36a1 Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.
2010-02-20 04:33:34 +00:00
joerg
966b72ab39 Update build infrastructure for libarchive 2.8.0. 2010-02-20 02:55:52 +00:00
joerg
726cc99615 Do not leak setup_xattr into the public namespace. 2010-02-20 02:53:09 +00:00
joerg
d41f717e25 Merge changes 2010-02-20 02:51:32 +00:00
joerg
9fde539170 Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe
2010-02-20 02:48:21 +00:00
christos
229a6fd0df make the default action abort for the empty log message; it used to be
continue. requested by joerg.
2010-02-19 23:50:55 +00:00
joerg
156dc8e835 Update build system for mdocml 1.9.15. 2010-02-19 23:02:41 +00:00
joerg
09c95e748e Merge 2010-02-19 23:01:28 +00:00
joerg
d5e63c8d55 Import mdocml 1.9.15 modulo a patch for .Xr handling:
- XHTML output support, more human-readable HTML output
- end-of-line white space detected in all lines
- fix subtle bug for list displays in some modes
- fix column handling
- full support for \f etc
- imporoved column handling
- various other bug fixes
- compatiblity support for strlcat/strlcpy
- groff-compatible .Xr [backed out]
2010-02-19 22:54:40 +00:00
njoly
347e02defd Regen initparse.c/initscan.c without #line directives, to avoid host
tool depency problems when NETBSDSRCDIR != /usr/src.
2010-02-19 14:22:43 +00:00
njoly
82d9c2fa0b Add nint_table.h and nint_vars.h to generated list files. 2010-02-19 13:55:46 +00:00
wiz
8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
christos
0f0ea55dc4 Fix build issue with our make system building libnvpair.so from libnvpair.c
and libnvpair.so from *.so by renaming libnvpair.c to lib_nvpair.c
2010-02-17 17:36:32 +00:00
plunky
5f25705455 actually include the top-level Makefile.inc 2010-02-11 14:36:32 +00:00
plunky
64f418c059 keep generated config.h file in a subdir
(avoids potential inclusion errors)
2010-02-11 14:22:30 +00:00
plunky
402aefd4ec provide endian information at build time rather than embedding it
in the config.h file.
2010-02-11 14:18:45 +00:00
macallan
0d91bbc4af build the suncg14 driver on sparc 2010-02-11 04:07:17 +00:00
plunky
f5c86c146d use
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined
2010-02-08 07:56:06 +00:00
plunky
742b10af18 amd64 provides MACHINE_ARCH=x86_64 but pcc wants TARGMACH=amd64. handle that 2010-02-05 18:41:25 +00:00
plunky
8e1bb8f737 when making VERSSTR, provide the target os/machine rather than the host.
have the CVS checkout date in the PACKAGE_STRING rather than in a separate
definition
2010-02-05 17:18:31 +00:00
plunky
9422719fb6 be more adaptable when choosing the target arch, try to relate
the MACHINE_ARCH to the supported architectures before failing.
2010-02-05 08:58:47 +00:00
plunky
192b470eb8 just use the actual date in PACKAGE_CHECKOUT definition 2010-02-05 08:52:25 +00:00
plunky
accbe58577 don't build and install the crtbegin.o and crtend.o files at this stage,
they conflict with the system provided ones (lib/csu) and cause problems.
2010-02-05 08:46:25 +00:00
plunky
e8d2e908f8 use SUBDIR= not SUBDIR+= 2010-02-05 08:42:39 +00:00
plunky
ea7801f79b don't conditionally include the Makefile.inc, we need the BINDIR etc
definitions for installation
2010-02-05 08:41:13 +00:00
plunky
60d1d27f5d only go to WARNS=2 on these by default 2010-02-05 08:37:48 +00:00
tron
feced192ce Define "HAVE_TERMCAP_H" to fix build with the new terminfo library. 2010-02-04 13:22:34 +00:00
plunky
b3081dfecd fix the embedded VERSSTR by providing the correct machine architecture
at build time, and adding an import date to the version.
2010-02-03 22:13:13 +00:00
plunky
69337406ec following the documentation in mk.conf(5) and share/mk/bsd.README,
and prior art with the MKGCC and MKGCCCMDS build options, only build
and install the pcc commands (pcc, cpp & ccom) when MKPCCCMDS != no
2010-02-03 22:07:50 +00:00
plunky
bd99595db9 Install the CPP manpage as pcpp(1) to avoid conflicts with the GCC version 2010-02-03 22:03:56 +00:00
joerg
3185176d24 Merge 2010-02-03 19:31:49 +00:00
joerg
6ab7422234 Fix enum to prevent crash (PR 42734) 2010-02-03 19:27:01 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
joerg
e8182c96d5 pkg_install-20100203:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new as
  the version used to build the package
2010-02-03 14:23:39 +00:00
tls
529d2eb4cb Plug liblzf into build. Liblzf is a small (3504 byte shared library on i386),
very very fast, 2-clause BSD-licensed compressor.  We provide the LZF_STATE
version of the API, which is not the default for generic liblzf.
2010-02-03 06:25:54 +00:00
tls
55a82c0a98 Adjust liblzf to offer the LZF_STATE_ARG API, which is better for small-stack
environments (think bootblocks etc) and no worse elsewise (you can always
just pass the same state argument...) and have correct prototypes when doing
so.
2010-02-03 03:55:38 +00:00
tls
05206c0677 Import liblzf version 3.5 (2-clause BSD licensed by Marc Lehmann) 2010-02-03 03:50:40 +00:00
roy
afee245092 sync 2010-01-31 20:53:05 +00:00
roy
a7622e5331 Import dhcpcd-5.1.5 with the following changes:
* -H, --xidhwaddr uses the last 4 bytes of the hardware address as
  the DHCP xid
* -J, --broadcast tells the DHCP server to broadcast replies
* no longer warn about InfiniBand being an unsupported family
* infinite lease times are valid when reading old leases
* discard address correctly if lease is invalid
2010-01-31 20:50:16 +00:00
joerg
5ac0fc9ca9 pkg_install-20100130:
- pkg_add -U to rplace an installed version
- refactored man pages
- PKG_DBDIR / PKG_REFCOUNT_DBDIR as pkg_install.conf options
- synced license list
- use connection cache from libfetch
2010-01-30 21:33:08 +00:00
joerg
70160d7000 libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
2010-01-30 21:26:09 +00:00
wiz
c37f3f8b3c Mark up NULL. Join two sections describing same error. Remove trailing
whitespace.
2010-01-29 10:49:07 +00:00
matt
dfcdd41b29 Add a _is_local_label_name routine (taken from elf64-mips.c). 2010-01-29 06:09:36 +00:00
matt
07b94adbab Use bfd_ntrad{little,big}_vec and drop all non-trad vectors since they
make target matching ambiguous.
2010-01-29 06:08:01 +00:00
matt
335a046fbd Remove merge workaround - not needed. 2010-01-29 06:05:53 +00:00
matt
fade670606 Remove redundant mips*-*-netbsd* clause 2010-01-29 06:05:32 +00:00
darran
e8ef955492 Fix a problem with the handling of NOBITS sections (i.e. bss), where the
elf_getdata() function would return an invalid section error if the size
of the section was bigger than the raw size of the elf binary.
This is basically a sync with changeset 10 of the sourceforge repository
for this library (elftoolchain).
2010-01-28 21:38:29 +00:00
yamt
6ddbd5a7dd scsi_command_t: rather than putting cleanup code before every
return statememts, use goto to a single copy of the cleanup code.
no functional changes.
2010-01-25 13:45:16 +00:00
plunky
567387c17c execute lists of commands in sub-shells so that the cwd doesn't get
not changed between commands

(nbmake will execute all commands in the same context when given -j)

this allows HAVE_PCC=yes tools build to install the pcc files
2010-01-22 11:08:40 +00:00
yamt
44972f323c - remove unnecessary and confusing initialization of sess->d.
- add an assertion.
2010-01-20 11:50:28 +00:00
plunky
7d4f77f20f Clean up the build framework for pcc
- use <bsd.init.mk> to include <../Makefile.inc> files
  - add Makefile.inc files that pull in appropriate build settings
  - fix the LIBEXECDIR definition (should have trailing /)
  - make cc.1 install as pcc.1 to match the binary
  - use YHEADER= to build the yacc headers
  - general consistency tidy up
2010-01-20 11:45:54 +00:00
yamt
6b4ef1c2b1 implement REPORT LUNS for non-zero LUNs correctly. 2010-01-20 10:33:08 +00:00
yamt
fdeb814270 add missing trailing newline chars to some of iscsi_err messages. 2010-01-20 00:58:49 +00:00
yamt
a33cb43688 target_transfer_data: fix an incorrect flattening of RETURN_NOT_EQUAL
in rev.1.2.
2010-01-20 00:51:51 +00:00
yamt
ddd2fd462c disk_write: report an error from target_transfer_data instead of
silently write garbage to the storage.
2010-01-20 00:50:09 +00:00
mrg
ff65ddb460 link in libOSMesa as well. 2010-01-12 03:56:17 +00:00
mrg
9f817fe79f replace LIBS with LIBDPLIBS. makes these actually link against drm_intel.
should fix a problem reported by snj@.
2010-01-12 00:57:45 +00:00
joerg
85dea109fa libfetch-2.27:
Fix a bug in the connection caching for FTP.
2010-01-11 19:40:01 +00:00
tron
9ee09dfd6f Replace VATTR_NULL() with vattr_null(). The ZFS module can be loaded
again now.
2010-01-11 12:10:18 +00:00
mrg
1834ad25e5 fix a problem reported by jmorse:
- fix a line continuation that stopped SRCS= from working
- don't include intel_dri.c here
2010-01-10 17:35:33 +00:00
haad
f1a671f674 Fix problem in ZFS ZIL layer where unclean shutdown of filesystem can change
replayed file permissions to 777. Patch from FreeBSD. Original commit message:

Be careful which vattr fields are set during setattr replay.
Without this fix strange things can appear after unclean shutdown like
files with mode set to 07777.
2010-01-10 01:35:39 +00:00
joerg
f382d79a9f Fix markup. 2010-01-08 16:32:47 +00:00
joerg
1e94bcdda0 Fix the markup. 2010-01-08 16:32:23 +00:00
joerg
6738b10249 Use \(-> for the arrows and put them on a separate line because they are
not special symbols that .Xr handles.
2010-01-08 16:31:51 +00:00
ober
9067e90d8c Fix comment to meet style guidelines. 2010-01-08 03:41:58 +00:00
ober
c56ace41b0 Make sure the comment is specific to being a hack and that it needs to be pulled before production release and the real issues with UVM and ZFS need to be resolved. 2010-01-03 11:33:13 +00:00
ober
9bfbda61ad Set KM_PUSHPAGE to KM_SLEEP to prevent the arc_buf_alloc panics in ZFS.
ok haad@
2010-01-03 10:50:06 +00:00
matt
e34524fa00 Don't allow a symbol + offset in a merge section to translated to a
.section + offset reference if offset is negative.
2010-01-01 06:12:55 +00:00
joerg
abada83399 Do not use .Xo/.Xc to work around ancient roff limits.
Remove .TE without matching .TS.
2009-12-29 18:07:28 +00:00
thorpej
69ceabfc59 Include nbtool_config.h as needed. Should fix missing defn of __unused in
some host tool environments.
2009-12-29 17:32:18 +00:00
thorpej
4d886fcd1a Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags
due to the modified prepare-import.sh.
2009-12-29 17:05:58 +00:00
thorpej
8a81f35236 Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to
get a new import after prepare-import.sh was changed to not insert NetBSD
__RCSID() macros (which are problematic for host tool builds).
2009-12-29 16:58:08 +00:00
thorpej
7c6f9e4c11 We don't really need __RCSID() tags in these files, so just get rid of them. 2009-12-29 16:56:25 +00:00
snj
875f862227 Properly replace @MKTEMP_SH_FUNCTION@, @MKTEMP@, and @SENDMAIL@.
Fixes PR bin/39629.
2009-12-29 06:00:35 +00:00
christos
ded3e18dc8 adjust entropy_add signature. (From Kurt Schreiner) 2009-12-27 17:27:29 +00:00
christos
e1523714f8 merge 9.7.0rc1 2009-12-26 23:08:21 +00:00
christos
d12c9ec32b Import bind 9.7.0rc1 2009-12-26 22:18:13 +00:00
wiz
dbb0a194be Make HTML-ready. 2009-12-23 09:54:22 +00:00
mbalmer
43a53fa2dc Fix typo in a comment, no code change. 2009-12-23 09:22:16 +00:00
mbalmer
a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
roy
5f8a05b17d Import dhcpcd-5.1.4
Changes from dhcpcd-5.1.3 include:
 * dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
2009-12-23 08:30:06 +00:00
darran
ebf62180d8 Add libdwarf to the build. 2009-12-23 00:17:40 +00:00
darran
c6ebd49b09 Fix a signed vrs unsigned cast. 2009-12-23 00:12:57 +00:00
darran
73d7a467ee while (0) -> while (/*CONSTCOND*/0) 2009-12-23 00:11:30 +00:00
darran
e65b189966 Add build glue. 2009-12-23 00:10:15 +00:00
darran
bd99ed90ac Add a script to prepare libdwarf for import. 2009-12-23 00:06:53 +00:00
darran
88d2277d90 Import libdwarf from FreeBSD 8.0-RC1.
ok tls@.
2009-12-23 00:03:21 +00:00
jmmv
8fd5b13660 Update build files to match atf 0.7. 2009-12-22 13:38:10 +00:00
jmmv
21361fb856 Merge atf 0.7. 2009-12-22 13:36:56 +00:00
jmmv
12aa0b5af8 Import atf 0.7. Changes in this release:
* Added build-time checks to atf-c and atf-c++.  A binding for atf-sh
  will come later.

* Migrated all build-time checks for header files to proper ATF tests.
  This demonstrates the use of the new feature described above.

* Added an internal API for child process management.

* Converted all plain-text distribution documents to a Docbook canonical
  version, and include pre-generated plain text and HTML copies in the
  distribution file.

* Simplified the contents of the Makefile.am by regenerating it from a
  canonical Makefile.am.m4 source.  As a side-effect, some dependency
  specifications were fixed.

* Migrated all checks from the check target to installcheck, as these
  require ATF to be installed.

* Fixed sign comparison mismatches triggered by the now-enabled
  -Wsign-compare.

* Fixed many memory and object leaks.
2009-12-22 13:25:45 +00:00
nakayama
2570d7a0b1 Add -DAVOID_CPIO on sparc. 2009-12-22 09:12:42 +00:00
thorpej
3f0d4dd15e Note when this appeared in NetBSD. 2009-12-21 18:27:48 +00:00
thorpej
aa6d6cf7b8 Add support for building libelf in a host-tool environment.
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle
that problem right now.
2009-12-21 18:21:17 +00:00
thorpej
a2307e2ec3 - _libelf_globals::libelf_arch and _libelf_globals::libelf_class are
completely unused.  Remove them.
- _libelf_globals::libelf_byteorder is really all about the byte order of
  the host running libelf, so replace it with a _libelf_host_byteorder()
  internal function that computes the host byte order in a very portable
  way (doesn't rely on BSD-specific header files).
2009-12-20 23:23:46 +00:00
mrg
204f6553a5 PRIVATE_VERSION(arch) isn't ever used, so don't try to setup this member
of _libelf{}.  ELF??_MACHDEP_ID may not be defined if ELFSIZE wasn't
defined before including this file.

this fixes a build error on mips platforms.
2009-12-20 19:38:13 +00:00
thorpej
d04120af38 Build libelf. 2009-12-20 05:52:41 +00:00
thorpej
acdbfc25c4 Enable __LIBELF_HAVE_ELF_SYMINFO. 2009-12-20 05:52:15 +00:00
thorpej
4c040305d0 Fix a typo. 2009-12-19 09:01:32 +00:00
thorpej
80a94d172a Add some range checks to quiet warnings. 2009-12-19 09:00:56 +00:00
thorpej
83ba8dcb86 We don't have an Elf_Note typedef, but Elf32_Nhdr and Elf64_Nhdr are
equivalent; use Elf32_Nhdr instead.
2009-12-19 08:47:46 +00:00
thorpej
e55f728904 Fix all sorts of problems with lint and compiler warnings. 2009-12-19 08:40:57 +00:00
thorpej
625b09a07e Squash a signed-vs-unsigned char * warning. 2009-12-19 07:59:24 +00:00
thorpej
3d218610e2 Change elf_hash() to take a const void *, rather than a const char *. 2009-12-19 07:58:24 +00:00