aboutsummaryrefslogtreecommitdiff
path: root/libexec/rbootd
Commit message (Collapse)AuthorAgeFilesLines
* 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
* $Id$ -> $FreeBSD$Peter Wemm1999-08-288-8/+8
| | | | Notes: svn path=/head/; revision=50476
* Ensure that things returned by gethostname() andBrian Somers1999-04-072-5/+5
| | | | | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde Notes: svn path=/head/; revision=45422
* Remove no longer needed FreeBSD specific code.Steve Price1998-07-201-6/+1
| | | | | | | | | PR: 5497 Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk> Obtained from: OpenBSD (indirectly it seems so just to be safe) Notes: svn path=/head/; revision=37769
* Add usage(), rcsids.Philippe Charnier1997-11-247-16/+43
| | | | Notes: svn path=/head/; revision=31386
* Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,Steve Price1997-06-296-56/+56
| | | | | | | index -> strchr, and rindex -> strrchr. Notes: svn path=/head/; revision=27079
* Merge conflicts and make this compile -Wall clean.Steve Price1997-06-2912-131/+45
| | | | Notes: svn path=/head/; revision=27077
* This commit was generated by cvs2svn to compensate for changes in r27074,Steve Price1997-06-297-129/+147
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=27075
| * Import of NetBSD's rbootd version 19970629Steve Price1997-06-2912-0/+3229
| | | | Notes: svn path=/vendor/NetBSD/dist/; revision=27074
* Show the real revision date and not the date that thisSteve Price1997-06-231-2/+2
| | | | | | | manpage is being viewed. Notes: svn path=/head/; revision=26826
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24349
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-225-5/+5
| | | | Notes: svn path=/head/; revision=22989