aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't link drti.o with libelf_pic.a. This means that all software withRui Paulo2010-08-211-7/+1
| | | | | | | | | | userland SDT probes must be linked with libelf explicitly. Requested by: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=211577
* Link drti.o with a PIC version of libelf. This is needed becauseRui Paulo2010-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 Notes: svn path=/head/; revision=211561
* Add libdtrace support for tracing userland programs.Rui Paulo2010-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 Notes: svn path=/head/; revision=211554
* Use double quotes when checking the value of MACHINE_ARCH.Rui Paulo2010-08-211-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=211550
* The DTrace instrumentation object is going to be i386/amd64 only.Rui Paulo2010-08-211-1/+2
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=211547
* libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only rightRui Paulo2010-07-311-1/+5
| | | | | | | | | now. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210693
* Remove manual .includes in cddl MakefilesUlrich Spörlein2010-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) Notes: svn path=/head/; revision=204597
* Remove files that are no longer used.Pawel Jakub Dawidek2009-08-171-0/+1
| | | | | | | | Discussed with: kmacy Approved by: re (kib) Notes: svn path=/head/; revision=196289
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-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) Notes: svn path=/head/; revision=195767
* atomic.S has been renamed opensolaris_atomic.S to avoid collisionsKip Macy2009-05-091-1/+1
| | | | Notes: svn path=/head/; revision=191933
* Switch over to gnu99 compilation on default for userland.Roman Divacky2009-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) Notes: svn path=/head/; revision=189801
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.Pawel Jakub Dawidek2008-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 Notes: svn path=/head/; revision=185029
* Add the DTrace libraries and D library scripts.John Birrell2008-05-2211-1/+863
| | | | Notes: svn path=/head/; revision=179189
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerRuslan Ermilov2008-03-291-1/+1
| | | | | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect. Notes: svn path=/head/; revision=177714
* The sources covered by Sun's CDDL have been repo copied below theJohn Birrell2008-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. Notes: svn path=/head/; revision=177674
* Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSDJohn Birrell2007-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. Notes: svn path=/head/; revision=174059
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalDavid E. O'Brien2007-10-091-1/+1
| | | | | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith) Notes: svn path=/head/; revision=172500
* Repo copy libpthreads to libkse.David E. O'Brien2007-10-091-1/+1
| | | | | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) Notes: svn path=/head/; revision=172491
* Don't build bits that depend on the pthreads support if aRuslan Ermilov2007-10-011-0/+2
| | | | | | | | | system was configured without such support. Approved by: re (kensmith) Notes: svn path=/head/; revision=172404
* - Reduce number of atomic operations needed to be implemented in asm byPawel Jakub Dawidek2007-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. Notes: svn path=/head/; revision=170431
* Use provider's ident to handle situations when disks are moved aroundPawel Jakub Dawidek2007-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. Notes: svn path=/head/; revision=169303
* Link libzpool, ztest and zdb against libpthread.Pawel Jakub Dawidek2007-04-171-2/+2
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=168818
* Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.Ruslan Ermilov2007-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 Notes: svn path=/head/; revision=168792
* Move atomic.S files to directories that better fit OpenSolaris directoryPawel Jakub Dawidek2007-04-071-1/+1
| | | | | | | layout. Notes: svn path=/head/; revision=168482
* Build ZFS on amd64 and pc98.Dag-Erling Smørgrav2007-04-071-3/+1
| | | | | | | Approved by: pjd@ Notes: svn path=/head/; revision=168475
* Please welcome ZFS - The last word in file systems.Pawel Jakub Dawidek2007-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/) Notes: svn path=/head/; revision=168404