#
a6fe717c |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Automated cleanup of cdefs and other formatting 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
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
8b356c88 |
|
18-Apr-2023 |
John Baldwin <jhb@FreeBSD.org> |
bootpd: Use C89 function definitions. Trim a few duplicate (but incomplete) function prototypes as well. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39520
|
#
cfb9be50 |
|
29-Sep-2021 |
Kyle Evans <kevans@FreeBSD.org> |
bootp: remove the USE_BFUNCS knob We'd likely be better served by converting these to the equivalent mem* calls, but just kill the knob for now. The b* macros being defined get in the way of _FORTIFY_SOURCE. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D32235
|
#
327477d6 |
|
25-May-2019 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Correctly align usage: output
|
#
d3f77d0a |
|
21-May-2019 |
Mark Johnston <markj@FreeBSD.org> |
Marginally improve usage() message style in bootpd. - Remove an extra space after "usage:". - Avoid lines exceeding 80 columns. Based on notes from rgrimes. MFC with: r348066 Event: Waterloo Hackathon 2019
|
#
35131b46 |
|
21-May-2019 |
Mark Johnston <markj@FreeBSD.org> |
bootpd: Add an option to skip modifications to the ARP table. PR: 30854 Submitted by: Dan Lukes <dan@obluda.cz> Reviewed by: imp (previous version) MFC after: 1 week Event: Waterloo Hackathon 2019 Differential Revision: https://reviews.freebsd.org/D2581
|
#
1e13299f |
|
19-Dec-2018 |
Ed Maste <emaste@FreeBSD.org> |
bootpd: validate hardware type Due to insufficient validation of network-provided data it may have been possible for a malicious actor to craft a bootp packet which could cause a stack buffer overflow. admbugs: 850 Reported by: Reno Robert Reviewed by: markj Approved by: so Security: FreeBSD-SA-18:15.bootpd Sponsored by: The FreeBSD Foundation
|
#
1acf0dba |
|
07-Jan-2012 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for libexec/
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
09c00166 |
|
24-Dec-2005 |
Tom Rhodes <trhodes@FreeBSD.org> |
Make tv_sec a time_t on all platforms but alpha. Brings us more in line with POSIX. This also makes the struct correct we ever implement an i386-time64 architecture. Not that we need too. Reviewed by: imp, brooks Approved by: njl (acpica), des (no objects, touches procfs) Tested with: make universe
|
#
78e3eed0 |
|
14-Feb-2005 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Fix most cases where the address of an int is passed to a function expecting a socklen_t * argument.
|
#
dc546e1a |
|
13-Feb-2004 |
Peter Pentchev <roam@FreeBSD.org> |
Add the '-h hostname' to usage(), too. While I'm here, sync the usage() synopsis with the manual page synopsis: make the [-i | -s] explicit and sort the options alphabetically. Reminded by: ru MFC after: 3 days
|
#
9bf69bf2 |
|
14-Jun-2003 |
John-Mark Gurney <jmg@FreeBSD.org> |
fix a couple typos in the comments From NetBSD's bootpd (in src/usr.sbin/bootp)
|
#
b6a0d472 |
|
14-Jun-2003 |
John-Mark Gurney <jmg@FreeBSD.org> |
fix bootpd to use fd_set. For some reason on Sparc, using int with select is broken.
|
#
538015aa |
|
05-Feb-2003 |
Philippe Charnier <charnier@FreeBSD.org> |
Add FBSDID. udp/bootps -> bootps/udp. Use err(3).
|
#
f19d047a |
|
28-May-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
This code defined a private __P, nuke it.
|
#
5ed136e8 |
|
28-May-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Assume __STDC__, remove non-__STDC__ code. Reviewed by: md5
|
#
be9efd56 |
|
03-Feb-2002 |
Kris Kennaway <kris@FreeBSD.org> |
Mark report() as printflike and fix resulting warnings, including one bug (get_errmsg -> get_errmsg())
|
#
3f48bf18 |
|
25-Sep-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
RFC2132 is not clear about whether the "Maximum DHCP Message Size" refers to the size of the whole ethernet packet, just the DHCP message within the UDP payload, or something else. bootpd interpreted it as a maximum UDP payload size, so it could end up sending fragmented packets to clients (such as some versions of Etherboot) that used different interpretations of the maximum message size. Switch to the most conservative interpretation: ensure that the ethernet packet containing the response is no larger than the specified maximum message size. This matches the behaviour of the ISC dhcpd. MFC after: 1 week
|
#
1a37aa56 |
|
09-Dec-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
Add `_PATH_DEVZERO'. Use _PATH_* where where possible.
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
85966371 |
|
25-Apr-1999 |
Warner Losh <imp@FreeBSD.org> |
More egcs warning fixes: o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr
|
#
9e9a43bd |
|
07-Apr-1999 |
Brian Somers <brian@FreeBSD.org> |
Ensure that things returned by gethostname() and 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
|
#
d284feaa |
|
13-Dec-1998 |
Eivind Eklund <eivind@FreeBSD.org> |
Block for buffer overflow.
|
#
3a3c0cf4 |
|
12-Dec-1998 |
Matthew Dillon <dillon@FreeBSD.org> |
PR: bin/9031 Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
|
#
09caeade |
|
03-Jun-1998 |
Joerg Wunsch <joerg@FreeBSD.org> |
Use gethostname(3) to obtain the local host name, as opposed to uname(3). Otherwise the length of the name is limited to 32 characters only.
|
#
798c69cd |
|
11-May-1997 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't rely on stderr to report bad news.
|
#
9e522f7a |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
148531ef |
|
22-Sep-1996 |
Wolfram Schneider <wosch@FreeBSD.org> |
add forgotten $Id$
|
#
d1c0e759 |
|
22-Jan-1996 |
Paul Traina <pst@FreeBSD.org> |
Fix conflicts from 2.4.3 merge
|
#
e08ac58b |
|
22-Jan-1996 |
Paul Traina <pst@FreeBSD.org> |
Import bootpd-2.4.3 from ftp.mc.com
|
#
6c06b4e2 |
|
29-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
44099b7b |
|
29-Sep-1994 |
Paul Traina <pst@FreeBSD.org> |
Rearrange bootpd
|