summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog
Commit message (Collapse)AuthorAgeFilesLines
* For INTERNALLIB always add in the corresponding _DP_ and use LIBADD inbdrewery2015-12-041-0/+1
| | | | | | | | | the real build file. This lessens the need to define DPADD_<lib> and LDADD_<lib> to just very special cases. Sponsored by: EMC / Isilon Storage Division
* Add more SUBDIR_PARALLEL.bdrewery2015-09-261-1/+3
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-134-0/+77
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-084-8/+0
| |
| * Merge sync of headsjg2015-05-276-11/+5
| |\ | |/ |/|
| * Updated/new dependenciessjg2014-11-192-2/+0
| |
| * Merge from head@274682sjg2014-11-193-10/+4
| |\
| * \ Merge head from 7/28sjg2014-08-193-0/+6
| |\ \
| * | | Updated dependenciessjg2014-05-163-3/+0
| | | |
| * | | Updated dependenciessjg2014-05-103-0/+6
| | | |
| * | | Merge headsjg2014-04-282-2/+2
| |\ \ \
| * \ \ \ Merge from headsjg2013-09-051-0/+2
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-113-0/+3
| | | | | |
| * | | | | Updated dependenciessjg2013-02-164-8/+0
| | | | | |
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Sync from headsjg2012-11-041-1/+1
| |\ \ \ \ \ \
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-224-0/+83
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | Fix libfifolog dependency on libzemaste2015-04-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consumers should not need to encode fifolog's dependency on libz. Handle it automatically in src.libnames.mk. Differential Revision: https://reviews.freebsd.org/D2278 Reviewed by: bapt Sponsored by: The FreeBSD Foundation
* | | | | | | Readd Makefile.inc that were used to include upper level Makefile.inc andbapt2014-11-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | set (among other things) the destination where the binary should be installed
* | | | | | | Convert usr.sbin to LIBADDbapt2014-11-254-14/+3
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | fifolog_writer does not depend on libutilbapt2014-11-061-2/+2
| | | | | |
* | | | | | fifolog_reader does not depend on libutilbapt2014-11-061-2/+2
| | | | | |
* | | | | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-193-6/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* | | | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-083-0/+6
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-132-2/+2
| |_|/ |/| | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* | | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* | mdoc: point to an existing cross reference.pluknet2012-10-021-1/+1
|/
* Fix world after byacc import:bapt2012-05-221-2/+0
| | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor)
* Another couple of unsigned/ssize_t changes.phk2011-03-012-2/+2
|
* Type-change to ssize_t to (app|pl)ease ppc platform.phk2011-02-281-1/+1
|
* Update fifolog internals to match main version:phk2011-02-287-184/+197
| | | | | | | | | | | Rename ...write_bytes... to ...write_records..., that's what they do. Move writer .h stuff into writer private .h file. Change logic in writer to support both fifolog usage in FreeBSD and Measured usage better, by always using an input buffer. Various cleanups.
* Don't override the perfectly good default ->zalloc and ->zfree functions.phk2011-02-281-20/+1
|
* Fix a bunch of trivial whitespace mistakes and update the miniobj.hphk2011-02-259-30/+38
| | | | file before the real work starts.
* Use a "push" strategy to get data through libz, rather than a "pull" strategy.phk2010-12-072-156/+140
|
* Typo fixesuqs2010-08-061-9/+9
| | | | | | PR: docs/149314 Submitted by: olgeni MFC after: 3 days
* Fix reading of empty fifolog files. When we don't have anythingkeramida2010-07-101-1/+3
| | | | | | | | to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. Approved by: phk MFC after: 1 week
* Do not attempt to render a logrecord with length byte, until we havephk2010-05-151-0/+2
| | | | decompressed all the bytes required.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* ANSIfy almost all applications that use WARNS=6.ed2009-12-291-1/+1
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
* Unify fifolog_writer usage printout with fifolog_create andjh2009-11-171-1/+1
| | | | | | fifolog_reader. Approved by: trasz (mentor)
* Fixed NAME section.ru2009-04-041-2/+2
|
* The last sector in the first segment might just be a sync, increment beforephk2009-02-021-0/+1
| | | | checking validity of segment two.
* Don't overwrite it, if only one sector is written yet.phk2009-02-021-7/+8
| | | | Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>
* Fix a cornercase during searchphk2008-12-092-7/+9
|
* Populate usage()phk2008-05-143-12/+30
| | | | Submitted by: Jaakko Heinonen <jh@saunalahti.fi>
* Clean up makefiles and a manpage.ru2008-04-107-115/+106
| | | | OK'ed by: phk
* Accept empty -T arguments.phk2008-03-312-1/+5
| | | | Proposed by: clemens fischer <ino-qc@spotteswoode.de.eu.org>
* Fix two bugs introduced in conversion to FreeBSD source tree:phk2008-03-192-5/+4
| | | | | Off by one error in length calcuation of string records. Don't attempt to free stack variable.
* Remove trailing ';' on macros.phk2008-03-161-2/+2
| | | | Spotted by: antoine
* Add the fifolog tools to FreeBSD.phk2008-03-0921-0/+3132
Quoth the man-page: Fifologs provide a compact round-robin circular storage for recording text and binary information to permanent storage in a bounded and pre- dictable fashion, time and space wise. Not yet connected to the build, but feel free to test & review.
OpenPOWER on IntegriCloud