364921 |
28-Aug-2020 |
gjb |
MFC r362718 (adrian): [fifolog] wrap the recno when we hit the end of the provided file size.
Without this the log just keeps growing to infinity.
Reported by: phk Sponsored by: Rubicon Communications, LLC (netgate.com) |
330449 |
05-Mar-2018 |
eadler |
MFC r326276:
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended. |
321271 |
20-Jul-2017 |
ngie |
MFC r314479:
Use :H to manipulate .CURDIR-relative paths instead of ../
This simplifies make output |
307697 |
21-Oct-2016 |
araujo |
MFC r303541, r303542, r303543, r303545, r303546, r303547, r304225, r304226, r304605, r304676, r305212, r305863:
r303541: Use nitems() from sys/param.h.
Sponsored by: gandi.net (BSD Day Taiwan) MFC after: 2 weeks.
r303542: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303543: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303545: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303546: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303547: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r304225: Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304226: Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304605: Fix calloc(3) argument order.
Reviewed by: trasz MFC after: 4 weeks. Differential Revision: https://reviews.freebsd.org/D7532
r304676: Fix calloc(3) argument order.
MFC after: 4 weeks.
r305212: - Invert calloc(3) argument order.
MFC after: 4 weeks
r305863: Invert calloc(3) argument order.
Reviewed by: ed. MFC after: 4 weeks. Differential Revision: https://reviews.freebsd.org/D7902 |
306909 |
09-Oct-2016 |
pfg |
MFC r305812:
fifolog(1): invert order of calloc(3) arguments.
The second argument to calloc(3) should be the size, make it so.
While here be a little bit more cautious in fifolog_reader_open() to protect in the unlikely event of an overflowed allocation. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
295989 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Regenerate without local dependencies.
These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'.
Sponsored by: EMC / Isilon Storage Division
|
291735 |
04-Dec-2015 |
bdrewery |
For INTERNALLIB always add in the corresponding _DP_ and use LIBADD in 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
|
288266 |
26-Sep-2015 |
bdrewery |
Add more SUBDIR_PARALLEL.
MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
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
|
281384 |
10-Apr-2015 |
emaste |
Fix libfifolog dependency on libz
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
|
275218 |
28-Nov-2014 |
bapt |
Readd Makefile.inc that were used to include upper level Makefile.inc and set (among other things) the destination where the binary should be installed
|
275054 |
25-Nov-2014 |
bapt |
Convert usr.sbin to LIBADD Reduce overlinking
|
274176 |
06-Nov-2014 |
bapt |
fifolog_writer does not depend on libutil
|
274174 |
06-Nov-2014 |
bapt |
fifolog_reader does not depend on libutil
|
270168 |
19-Aug-2014 |
bdrewery |
Revert r267233 for now. PIE support needs to be reworked.
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
|
267233 |
08-Jun-2014 |
bdrewery |
In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
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]
|
264400 |
13-Apr-2014 |
imp |
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 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.
|
249657 |
19-Apr-2013 |
ed |
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
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@
|
241126 |
02-Oct-2012 |
pluknet |
mdoc: point to an existing cross reference.
|
235789 |
22-May-2012 |
bapt |
Fix world after byacc import: - 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)
|
219123 |
01-Mar-2011 |
phk |
Another couple of unsigned/ssize_t changes.
|
219097 |
28-Feb-2011 |
phk |
Type-change to ssize_t to (app|pl)ease ppc platform.
|
219095 |
28-Feb-2011 |
phk |
Update fifolog internals to match main version:
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.
|
219094 |
28-Feb-2011 |
phk |
Don't override the perfectly good default ->zalloc and ->zfree functions.
|
219027 |
25-Feb-2011 |
phk |
Fix a bunch of trivial whitespace mistakes and update the miniobj.h file before the real work starts.
|
216257 |
07-Dec-2010 |
phk |
Use a "push" strategy to get data through libz, rather than a "pull" strategy.
|
210930 |
06-Aug-2010 |
uqs |
Typo fixes
PR: docs/149314 Submitted by: olgeni MFC after: 3 days
|
209871 |
10-Jul-2010 |
keramida |
Fix reading of empty fifolog files. When we don't have anything 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
|
208110 |
15-May-2010 |
phk |
Do not attempt to render a logrecord with length byte, until we have decompressed all the bytes required.
|
206622 |
14-Apr-2010 |
uqs |
mdoc: order prologue macros consistently by Dd/Dt/Os
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)
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
201227 |
29-Dec-2009 |
ed |
ANSIfy almost all applications that use WARNS=6.
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.
|
199411 |
17-Nov-2009 |
jh |
Unify fifolog_writer usage printout with fifolog_create and fifolog_reader.
Approved by: trasz (mentor)
|
190693 |
04-Apr-2009 |
ru |
Fixed NAME section.
|
188008 |
02-Feb-2009 |
phk |
The last sector in the first segment might just be a sync, increment before checking validity of segment two.
|
188007 |
02-Feb-2009 |
phk |
Don't overwrite it, if only one sector is written yet.
Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>
|
185790 |
09-Dec-2008 |
phk |
Fix a cornercase during search
|
179000 |
14-May-2008 |
phk |
Populate usage()
Submitted by: Jaakko Heinonen <jh@saunalahti.fi>
|
178068 |
10-Apr-2008 |
ru |
Clean up makefiles and a manpage.
OK'ed by: phk
|
177795 |
31-Mar-2008 |
phk |
Accept empty -T arguments.
Proposed by: clemens fischer <ino-qc@spotteswoode.de.eu.org>
|
177381 |
19-Mar-2008 |
phk |
Fix two bugs introduced in conversion to FreeBSD source tree:
Off by one error in length calcuation of string records. Don't attempt to free stack variable.
|
177285 |
16-Mar-2008 |
phk |
Remove trailing ';' on macros.
Spotted by: antoine
|
176998 |
09-Mar-2008 |
phk |
Add the fifolog tools to FreeBSD.
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.
|