History log of /freebsd-head/usr.sbin/fifolog/lib/fifolog_write_poll.c
Revision Date Author Comments
ab99701b80e12259ec9134a8fbc699cb94830c8a 28-Jun-2020 adrian <adrian@FreeBSD.org> [fifolog] wrap the recno when we hit the end of the provided file size.

Without this the log just keeps growing to infinity.

Reviewed by: phk
Differential Revision: https://reviews.freebsd.org/D25478
7551d83c353e040b32c6ac205e577dbc5f2c8955 27-Nov-2017 pfg <pfg@FreeBSD.org> 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.
96b13f0aaac6f19832f6eb069196b6a3cc85aa5b 14-Sep-2016 pfg <pfg@FreeBSD.org> fifolog(1): invert order of calloc(3) arguments.

The second argment 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.

MFC after: 3 weeks
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
eb1a5f8de9f7ea602c373a710f531abbf81141c4 21-Feb-2014 gjb <gjb@FreeBSD.org> Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by: The FreeBSD Foundation
6b01bbf146ab195243a8e7d43bb11f8835c76af8 27-Dec-2013 gjb <gjb@FreeBSD.org> Copy head@r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by: The FreeBSD Foundation
a3f6bc2c11ac49c9b576b67677d247916710b990 01-Mar-2011 phk <phk@FreeBSD.org> Another couple of unsigned/ssize_t changes.
851c06bea50a8a68cd5deef6502e4225b0b839eb 28-Feb-2011 phk <phk@FreeBSD.org> 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.
86423932a67f9fb0a4432c59110644406f829c52 25-Feb-2011 phk <phk@FreeBSD.org> Fix a bunch of trivial whitespace mistakes and update the miniobj.h
file before the real work starts.
bda3b883cdac9ecfd7bebcd783d32f31cf3c4463 07-Dec-2010 phk <phk@FreeBSD.org> Use a "push" strategy to get data through libz, rather than a "pull" strategy.
09f9c897d33c41618ada06fbbcf1a9b3812dee53 19-Oct-2010 jamie <jamie@FreeBSD.org> A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.
f1216d1f0ade038907195fc114b7e630623b402c 19-Mar-2010 delphij <delphij@FreeBSD.org> Create a custom branch where I will be able to do the merge.
8b7a45678f332252b0242b72c0807e764a690680 02-Feb-2009 phk <phk@FreeBSD.org> Don't overwrite it, if only one sector is written yet.

Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>
cf5320822f93810742e3d4a1ac8202db8482e633 19-Oct-2008 lulf <lulf@FreeBSD.org> - Import the HEAD csup code which is the basis for the cvsmode work.
6ebfa61b436e196e3c0b88601973cbcfb6d6cf1d 01-Apr-2008 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'RELENG_7'.
394021fd916852fb59e3c5ab89f00e116294e1f7 19-Mar-2008 phk <phk@FreeBSD.org> 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.
329dcba2dfdf5d9e4878196bdfc8e7a951d13d22 09-Mar-2008 phk <phk@FreeBSD.org> 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.