summaryrefslogtreecommitdiffstats
path: root/cddl/lib
Commit message (Collapse)AuthorAgeFilesLines
* When building libzpool on ia64 or sparc64, don't add the .note.GNU-stackdim2011-02-151-0/+2
| | | | | | section. Submitted by: kib
* Fix some leftover binaries and shared libraries in the system that stilldim2011-02-151-0/+1
| | | | | | | | | | | | | | | have an executable stack, due to linking in hand-assembled .S or .s files, that have no .GNU-stack sections: RWX --- --- /lib/libcrypto.so.6 RWX --- --- /lib/libmd.so.5 RWX --- --- /lib/libz.so.6 RWX --- --- /lib/libzpool.so.2 RWX --- --- /usr/lib/liblzma.so.5 These were found using scanelf, from the sysutils/pax-utils port. Reviewed by: kib
* Use ${PICFLAG} instead of -fpic.rpaulo2010-10-271-1/+1
|
* MFtbemd:imp2010-08-232-3/+3
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Use real atomic operations for sparc64.marius2010-08-231-1/+1
| | | | MFC after: 1 week
* Add powerpc64 to the list of architectures with real atomic operations.nwhitehorn2010-08-231-1/+1
| | | | Submitted by: imp
* Don't link drti.o with libelf_pic.a. This means that all software withrpaulo2010-08-211-7/+1
| | | | | | | userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation
* Link drti.o with a PIC version of libelf. This is needed becauserpaulo2010-08-211-2/+9
| | | | | | | drti.o depends on libelf and this avoids linking every other drti.o program (namely programs with USDT probes) with libelf. Sponsored by: The FreeBSD Foundation
* Add libdtrace support for tracing userland programs.rpaulo2010-08-213-3/+196
| | | | | | | | | | | | | | | | | | Summary of changes: * Implement a compatibility shim between Solaris libproc and our libproc and remove several ifdefs because of this. * Port the drti to FreeBSD. * Implement the missing DOODAD sections * Link with libproc and librtld_db * Support for ustack, jstack and uregs (by sson@) * Misc bugfixing When writing the SUWN_dof section, we had to resort to building the ELF file layout by "hand". This is the job of libelf, but our libelf doesn't support this yet. When libelf is fixed, we can remove the code under #ifdef BROKEN_LIBELF. Sponsored by: The FreeBSD Foundation
* Use double quotes when checking the value of MACHINE_ARCH.rpaulo2010-08-211-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* The DTrace instrumentation object is going to be i386/amd64 only.rpaulo2010-08-211-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only rightrpaulo2010-07-311-1/+5
| | | | | | now. Sponsored by: The FreeBSD Foundation
* Remove manual .includes in cddl Makefilesuqs2010-03-029-18/+14
| | | | | | | | | | | | | | | - Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor)
* Remove files that are no longer used.pjd2009-08-171-0/+1
| | | | | Discussed with: kmacy Approved by: re (kib)
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-193-3/+3
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* atomic.S has been renamed opensolaris_atomic.S to avoid collisionskmacy2009-05-091-1/+1
|
* Switch over to gnu99 compilation on default for userland.rdivacky2009-03-141-2/+2
| | | | | | | | Tested by: make universe Tested by: ports exp build (done by pav) Reviewed by: ru Reviewed by: silence on arch Approved by: ed (mentor)
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.pjd2008-11-172-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Administration Allows regular users to perform ZFS operations, like file system creation, snapshot creation, etc. - L2ARC Level 2 cache for ZFS - allows to use additional disks for cache. Huge performance improvements mostly for random read of mostly static content. - slog Allow to use additional disks for ZFS Intent Log to speed up operations like fsync(2). - vfs.zfs.super_owner Allows regular users to perform privileged operations on files stored on ZFS file systems owned by him. Very careful with this one. - chflags(2) Not all the flags are supported. This still needs work. - ZFSBoot Support to boot off of ZFS pool. Not finished, AFAIK. Submitted by: dfr - Snapshot properties - New failure modes Before if write requested failed, system paniced. Now one can select from one of three failure modes: - panic - panic on write error - wait - wait for disk to reappear - continue - serve read requests if possible, block write requests - Refquota, refreservation properties Just quota and reservation properties, but don't count space consumed by children file systems, clones and snapshots. - Sparse volumes ZVOLs that don't reserve space in the pool. - External attributes Compatible with extattr(2). - NFSv4-ACLs Not sure about the status, might not be complete yet. Submitted by: trasz - Creation-time properties - Regression tests for zpool(8) command. Obtained from: OpenSolaris
* Add the DTrace libraries and D library scripts.jb2008-05-2211-1/+863
|
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* The sources covered by Sun's CDDL have been repo copied below thejb2008-03-276-50/+50
| | | | | | | | src/cddl and src/sys/cddl directories per the core@ decision following the license review. This change modifies the affected Makefiles to reference the sources in their new location.
* Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSDjb2007-11-281-1/+1
| | | | | | headers. All OpenSolaris compatibility comes via the set of specific compatibility headers in src/compat/opensolaris and src/sys/compat/opensolaris.
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-091-1/+1
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-091-1/+1
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Don't build bits that depend on the pthreads support if aru2007-10-011-0/+2
| | | | | | system was configured without such support. Approved by: re (kensmith)
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-082-3/+6
| | | | | | | implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS.
* Use provider's ident to handle situations when disks are moved aroundpjd2007-05-061-1/+2
| | | | | | | and show up with different names: first try to open provider using remembered name and compare its ident, if equal, this is our provider, if not equal or there is no provider with such name, find provider with remembered ident and don't care about the name.
* Link libzpool, ztest and zdb against libpthread.pjd2007-04-171-2/+2
| | | | Requested by: ru
* Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.ru2007-04-168-120/+109
| | | | | | | | | | There are some insignificant non-style changes as well. Not fixed: makefiles use ${LIBTHR} that doesn't exist, thus breaking "make checkdpadd" and not tracking dependencies properly. Approved by: pjd
* Move atomic.S files to directories that better fit OpenSolaris directorypjd2007-04-071-1/+1
| | | | layout.
* Build ZFS on amd64 and pc98.des2007-04-071-3/+1
| | | | Approved by: pjd@
* Please welcome ZFS - The last word in file systems.pjd2007-04-068-0/+190
ZFS file system was ported from OpenSolaris operating system. The code in under CDDL license. I'd like to thank all SUN developers that created this great piece of software. Supported by: Wheel LTD (http://www.wheel.pl/) Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) Supported by: Sentex (http://www.sentex.net/)
OpenPOWER on IntegriCloud