#
dc36d6f9 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
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 s
lib: Remove ancient SCCS tags.
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
show more ...
|
#
559a218c |
| 01-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Kee
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
show more ...
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
68ca8363 |
| 27-Mar-2023 |
Mark Johnston <markj@FreeBSD.org> |
libc: Use secure_getenv(3) where appropriate
No functional change intended.
Reviewed by: mjg, imp, kib Differential Revision: https://reviews.freebsd.org/D39278
|
#
0bf7f99b |
| 27-Oct-2021 |
Mike Karels <karels@FreeBSD.org> |
res_init: remove unused inet_makeaddr with IN_LOOPBACKNET
Remove code that is ifdefed out on USELOOPBACK, which uses historical class. No functional change intended.
MFC after: 1 month Differentia
res_init: remove unused inet_makeaddr with IN_LOOPBACKNET
Remove code that is ifdefed out on USELOOPBACK, which uses historical class. No functional change intended.
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D32712
show more ...
|
#
8489ecae |
| 16-Aug-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Allow the use of TCP instead of UDP for queries by setting options usevc in resolv.conf which sets RES_USEVC.
Reviewed by: ume MFC after: 17 days Differential Revision: https://reviews.freebsd.org/D
Allow the use of TCP instead of UDP for queries by setting options usevc in resolv.conf which sets RES_USEVC.
Reviewed by: ume MFC after: 17 days Differential Revision: https://reviews.freebsd.org/D16607
show more ...
|
#
6e778a7e |
| 08-Dec-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
SPDX: license IDs for some ISC-related files.
|
#
8a16b7a1 |
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier f
General further adoption of SPDX licensing ID tags.
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.
show more ...
|
#
fbbd9655 |
| 28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
#
d7f12eac |
| 08-Jun-2016 |
Don Lewis <truckman@FreeBSD.org> |
Don't leak addrinfo if ai->ai_addrlen <= minsiz test fails.
If the ai->ai_addrlen <= minsiz test fails, then freeaddrinfo() does not get called to free the memory just allocated by getaddrinfo(). Fi
Don't leak addrinfo if ai->ai_addrlen <= minsiz test fails.
If the ai->ai_addrlen <= minsiz test fails, then freeaddrinfo() does not get called to free the memory just allocated by getaddrinfo(). Fix by moving ai->ai_addrlen <= minsiz to a separate nested if block, and keep freeaddrinfo() in the outer block so that freeaddrinfo() will be called whenever getaddrinfo() succeeds.
Reported by: Coverity CID: 1273652 Reviewed by: ume MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6756
show more ...
|
#
32223c1b |
| 30-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
libc: spelling fixes.
Mostly on comments.
|
#
2cf5e936 |
| 18-Apr-2016 |
Andriy Voskoboinyk <avos@FreeBSD.org> |
libc: do not include <sys/types.h> where <sys/param.h> was already included
According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <
libc: do not include <sys/types.h> where <sys/param.h> was already included
According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <sys/types.h> when LOCORE is not defined).
show more ...
|
#
513004a2 |
| 10-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
libc: replace 0 with NULL for pointers.
While here also cleanup some surrounding code; particularly drop some malloc() casts.
Found with devel/coccinelle.
Reviewed by: bde (previous version - all
libc: replace 0 with NULL for pointers.
While here also cleanup some surrounding code; particularly drop some malloc() casts.
Found with devel/coccinelle.
Reviewed by: bde (previous version - all new bugs are mine)
show more ...
|
#
8a615d0f |
| 15-Dec-2015 |
Enji Cooper <ngie@FreeBSD.org> |
Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition
MFC after: 3 days Reviewed by: ume, vangyzen Differential Revision:
Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition
MFC after: 3 days Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519
show more ...
|
#
c70540ec |
| 14-Dec-2015 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
resolver: preserve binary compatibility; reduce header pollution
In r289315, I added new fields to res_state. This broke binary backward compatibility. It also broke some ports (and possibly other
resolver: preserve binary compatibility; reduce header pollution
In r289315, I added new fields to res_state. This broke binary backward compatibility. It also broke some ports (and possibly other code) by requiring the definition of time_t and struct timespec.
Fix these problems by moving the new fields into __res_state_ext.
Suggested by: ume Reviewed by: ume MFC after: 3 days Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D4472
show more ...
|
#
60b27ebb |
| 14-Oct-2015 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
resolver: automatically reload /etc/resolv.conf
On each resolver query, use stat(2) to see if the modification time of /etc/resolv.conf has changed. If so, reload the file and reinitialize the reso
resolver: automatically reload /etc/resolv.conf
On each resolver query, use stat(2) to see if the modification time of /etc/resolv.conf has changed. If so, reload the file and reinitialize the resolver library. However, only call stat(2) if at least two seconds have passed since the last call to stat(2), since calling it on every query could kill performance.
This new behavior is enabled by default. Add a "reload-period" option to disable it or change the period of the test.
Document this behavior and option in resolv.conf(5).
Polish the man page just enough to appease igor.
https://lists.freebsd.org/pipermail/freebsd-arch/2015-October/017342.html
Reviewed by: kp, wblock Discussed with: jilles, imp, alfred MFC after: 1 month Relnotes: yes Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D3867
show more ...
|
#
c6a7de08 |
| 22-Sep-2015 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
|
#
e4576472 |
| 12-Aug-2014 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Update our stub resolver to final version of libbind.
Obtained from: ISC
|
#
046c3635 |
| 05-Aug-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Bring final version of libbind:
From http://www.isc.org/downloads/libbind/
The libbind functions have been separated from the BIND suite as of BIND 9.6.0. Originally from older versions of BIND, th
Bring final version of libbind:
From http://www.isc.org/downloads/libbind/
The libbind functions have been separated from the BIND suite as of BIND 9.6.0. Originally from older versions of BIND, they have been continually maintained and improved but not installed by default with BIND 9. This standard resolver library contains the same historical functions and headers included with many Unix operating systems. In fact, most implementations are based on the same original code.
At present, NetBSD maintains libbind code, now known as "netresolv".
show more ...
|
#
a93705b0 |
| 23-Aug-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
libc: Make various internal file descriptors from fopen() close-on-exec.
|
#
d069c2b7 |
| 03-Dec-2007 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Merge BIND 9.4.2 into main chunk.
|
#
41177159 |
| 03-Dec-2007 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Vendor import of BIND 9.4.2
|
#
dde4a85d |
| 03-Jun-2007 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Merge BIND 9.4.1 into main chunk.
MFC after: 2 weeks
|
#
861249f5 |
| 03-Jun-2007 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Vendor import of BIND 9.4.1
|
#
c879ae35 |
| 09-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|