summaryrefslogtreecommitdiff
path: root/sbin/rcorder
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-1/+3
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=326276
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-184-4/+13
| | | | | | | | | | | | | | | | | | | | 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add rcorder-visualize.sh, which generates graphviz from rc.d scriptsEric van Gyzen2016-12-061-0/+52
| | | | | | | | | | | | | | | This is imported from NetBSD. The author--Joerg Sonnenberger--agreed to apply a two-clause BSD license, just so the license was clear. This source tree location matches NetBSD, and is the first place someone might look for such a tool. Obtained from: Joerg Sonnenberger via NetBSD MFC after: 3 days Sponsored by: Dell EMC Notes: svn path=/head/; revision=309625
* sbin/rcorder/rcorder.8: Amend HISTORYAllan Jude2016-09-161-4/+7
| | | | | | | | | | | rcorder appeared in FreeBSD 5.0. Address issues raised by igor. PR: 212547 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Notes: svn path=/head/; revision=305857
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9Enji Cooper2016-02-011-6/+1
| | | | | | | | MFC after: 1 month Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295119
* Fix a ton of speelling errorsEitan Adler2015-10-211-2/+2
| | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337 Notes: svn path=/head/; revision=289677
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-273-12/+4
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-191-2/+0
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-192-2/+4
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | - Revert r277670 (#include order is required for fparseln)Enji Cooper2015-01-252-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove unnecessary CFLAGS+= -I now that make is no longer required to make rcorder build Notes: svn path=/projects/building-blocks/; revision=277673
* | | | | Sort #include orderEnji Cooper2015-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/building-blocks/; revision=277670
* | | | | Remove the unnecessary globEnji Cooper2014-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/building-blocks/; revision=275307
* | | | | Fix CFLAGS+=-DDEBUG by using the right header for libutil (libutil.h, notEnji Cooper2014-11-302-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | util.h) Notes: svn path=/projects/building-blocks/; revision=275306
* | | | | Convert sbin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275030
* | | | Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+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 Notes: svn path=/head/; revision=270168
* | | use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] Notes: svn path=/head/; revision=267233
* | Fix warnings found by -Wmising-variable-declarations.Ed Schouten2012-10-191-1/+1
|/ | | | | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible. Notes: svn path=/head/; revision=241720
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Add more static keywords to rcorder(8).Ed Schouten2011-12-111-48/+47
| | | | | | | | | The global variables and functions provided by rcorder.c are not used in the other C files, as the other C files only provide memory allocation and hash functions. This reduces the binary size by 10%. Notes: svn path=/head/; revision=228422
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-3/+3
| | | | | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file. Notes: svn path=/head/; revision=227081
* Gavin documented these alternate options in good faith in r222751Doug Barton2011-08-061-7/+4
| | | | | | | | | | | | based on the patch in the PR, however he was unaware that they were undocumented intentionally. This patch moves the information about these alternates into a comment which also explains why they are undocumented. Approved by: re (hrs) Notes: svn path=/head/; revision=224673
* Bump .DdGavin Atkinson2011-06-061-1/+1
| | | | | | | | Forgotten by: gavin MFC after: 1 week Notes: svn path=/head/; revision=222752
* Document that REQUIRES, PROVIDES and KEYWORDS are alos accepted. ThisGavin Atkinson2011-06-061-0/+6
| | | | | | | | | | | | chnage is different to the one suggested in the PR to try to avoid cluttering the man page too much. PR: docs/154494 Submitted by: kilian <kilian.klimek googlemail.com> MFC after: 1 week Notes: svn path=/head/; revision=222751
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theUlrich Spörlein2010-05-131-13/+13
| | | | | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208027
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-293-83/+44
| | | | | | | | | | 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. Notes: svn path=/head/; revision=201227
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Document the misleading nature of the REQUIRE line. The patch inMike Makonnen2008-06-091-1/+20
| | | | | | | | | | the PR has been heavily edited for style(9) and clarity. Mistakes are mine. PR: bin/124251 Notes: svn path=/head/; revision=179669
* Cleanup of userland __P useKevin Lo2007-11-075-34/+38
| | | | Notes: svn path=/head/; revision=173412
* do_file() is called recursively from several places and cannotXin LI2006-05-201-1/+9
| | | | | | | | | | | safely free() anything related to items that may be recursed on. Obtained from: DragonFly (rev 1.7, dillon) PR: bin/94767 MFC After: 1 month Notes: svn path=/head/; revision=158759
* Crank WARNS up to 6, just because we can.Doug Barton2006-01-251-1/+1
| | | | Notes: svn path=/head/; revision=154821
* Fix a "free(): error: chunk is already free" under certainDoug Barton2006-01-171-3/+10
| | | | | | | | | | | circumstances that include circular dependencies. PR: bin/91789 PR submitted by: Frank Behrens <frank@pinky.sax.de> Patch submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Notes: svn path=/head/; revision=154465
* Deal with harmful leading whitespace.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131470
* style.Makefile(5):Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS=. Notes: svn path=/head/; revision=126178
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-051-2/+2
| | | | Notes: svn path=/head/; revision=125503
* mdoc(7) police: Fixed markup now that it was taken out of vendor branch.Ruslan Ermilov2002-11-251-30/+36
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107234
* The .Nm utility. Add FreeBSD Id.Philippe Charnier2002-07-061-3/+6
| | | | Notes: svn path=/head/; revision=99502
* This commit was generated by cvs2svn to compensate for changes in r98567,David E. O'Brien2002-06-212-3/+5
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=98568
| * Sync with NetBSD.David E. O'Brien2002-06-212-3/+5
| | | | | | | | | | | | | | | | | | * don't whine about non-regular files. It is perfectly normal to keep a CVS or RCS directory in /etc/rc.d. * manpage tweak Notes: svn path=/vendor/NetBSD/dist/; revision=98567
* | Reduce the -I's as we don't need them all.David E. O'Brien2002-06-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=98566