aboutsummaryrefslogtreecommitdiff
path: root/libexec/rbootd
Commit message (Collapse)AuthorAgeFilesLines
* libexec: Automated cleanup of cdefs and other formattingWarner Losh2023-11-275-15/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* libexec: Remove ancient SCCS tags.Warner Losh2023-11-2712-41/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-255-10/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-164-8/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory2023-07-071-1/+1
| | | | | | | | In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* rbootd: Remove an unnecessary (and incomplete) function prototype.John Baldwin2023-04-181-1/+1
| | | | | Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39522
* Fix the following -Werror warning from clang 10.0.0 in rbootd:Dimitry Andric2020-01-281-1/+2
| | | | | | | | | | | libexec/rbootd/rmpproto.c:335:49: error: multiple unsequenced modifications to 'filename' [-Werror,-Wunsequenced] filename = (filename = strrchr(filepath,'/'))? ++filename: filepath; ~ ^ MFC after: 3 days Notes: svn path=/projects/clang1000-import/; revision=357222
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-2010-10/+30
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. 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. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* rbootd: use NULL instead of zero for pointers.Pedro F. Giffuni2016-04-181-2/+2
| | | | Notes: svn path=/head/; revision=298213
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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
| * Merge headSimon J. Gerraty2014-04-2811-63/+17
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=265044
| * 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-042-5/+4
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-1711-55/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* | | Add $FreeBSD$.Christian Brueffer2014-02-173-0/+6
| | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=262135
* | | Drop support for historic ioctls and also undefine them, so that codeGleb Smirnoff2013-11-051-8/+0
| |/ |/| | | | | | | | | | | | | | | that checks their presence via ifdef, won't use them. Bump __FreeBSD_version as safety measure. Notes: svn path=/head/; revision=257696
* | Rework all non-contributed files that use `struct timezone'.Ed Schouten2012-09-012-5/+4
|/ | | | | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead. Notes: svn path=/head/; revision=239991
* mdoc: fix .Bl -offset.Joel Dahl2012-05-231-1/+1
| | | | Notes: svn path=/head/; revision=235856
* Spelling fixes for libexec/Ulrich Spörlein2012-01-073-6/+6
| | | | Notes: svn path=/head/; revision=229780
* In libexec/rbootd/utils.c, use the correct printf length modifiers forDimitry Andric2011-12-161-3/+3
| | | | | | | | | u_int32_t and size_t. MFC after: 1 week Notes: svn path=/head/; revision=228587
* Add __unusedPhilippe Charnier2010-12-201-5/+5
| | | | Notes: svn path=/head/; revision=216583
* mdoc: use literal text, not a column table to present theUlrich Spörlein2010-06-021-8/+8
| | | | | | | configuration file snippet. Notes: svn path=/head/; revision=208733
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+1
| | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* Avoid accidental use of ANSI C trigraphs.Maxim Konovalov2004-08-211-1/+2
| | | | | | | | Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13) Notes: svn path=/head/; revision=134102
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131487
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.Stefan Farfeleder2004-05-242-0/+2
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=129652
* The .Nm utilityPhilippe Charnier2002-07-061-2/+3
| | | | Notes: svn path=/head/; revision=99500
* o __P removalWarner Losh2002-02-076-105/+69
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-0/+2
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-5/+5
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-201-5/+5
| | | | Notes: svn path=/head/; revision=70227
* ConstifyKris Kennaway2000-11-271-2/+2
| | | | Notes: svn path=/head/; revision=69252
* Correct definition of MAXHOSTNAMELEN in ifdef'ed out code.Kris Kennaway2000-11-261-1/+3
| | | | Notes: svn path=/head/; revision=69226
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68949
* L_SET -> SEEK_SETKris Kennaway2000-11-191-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=68895
* Format string paranoiaKris Kennaway2000-11-191-1/+2
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=68894
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman2000-10-101-0/+1
| | | | | | | <time.h>). Notes: svn path=/head/; revision=66907