#
4d65a7c6 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: 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.
usr.sbin: 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
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
a9cce232 |
| 07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dea
Mark usage function as __dead2 in programs where it does not return
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
show more ...
|
#
c1964428 |
| 20-Jun-2023 |
John Baldwin <jhb@FreeBSD.org> |
nscd: Remove set but unused variables.
Reported by: GCC
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
50d503b7 |
| 17-Jan-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Workaround for nscd(8) failure with large entries.
It fixes a case where eg a 2KB group entry would take several seconds to complete with cache enabled in nsswitch.conf.
MFC after: 2 weeks Sponsore
Workaround for nscd(8) failure with large entries.
It fixes a case where eg a 2KB group entry would take several seconds to complete with cache enabled in nsswitch.conf.
MFC after: 2 weeks Sponsored by: Chalmers University of Technology Differential Revision: https://reviews.freebsd.org/D18392
show more ...
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
87959e27 |
| 13-Mar-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
nscd(8): let calloc(3) do the multiplying.
MFC after: 1 week
|
#
b4b4b530 |
| 28-Jan-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Revert crap accidentally committed
|
#
814aaaa7 |
| 28-Jan-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Revert r312923 a better approach will be taken later
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
09c817ba |
| 03-Jul-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
8eeaaffa |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Remove casts from {c,m,re}alloc() and simplify sizeof().
MFC after: 1 week
|
#
27f2bc9e |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Explain to the compiler why the aliasing we're doing is OK.
MFC after: 1 week
|
#
51d6ddb5 |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Fix a large number of signed - unsigned comparison warnings.
MFC after: 1 week
|
#
28f805ce |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
#include cleanup
MFC after: 1 week
|
#
0309c35e |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
_nss_cache_cycle_prevention_function doesn't actually need to be a function, it just needs to have external linkage.
MFC after: 1 week
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0 |
|
#
e57c2b13 |
| 04-Dec-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
integrate from head@185615
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
ecce338e |
| 23-Oct-2008 |
Xin LI <delphij@FreeBSD.org> |
Since we are going to strlen() on the string, it is supposed to be NUL-terminated, so use strlcpy() instead of strncpy() here.
|
#
4f7df5c2 |
| 12-Oct-2008 |
Xin LI <delphij@FreeBSD.org> |
Reduce code duplication: use calloc instead of allocing and memset afterward.
Approved by: bushman
|
#
2c45f1b5 |
| 11-Oct-2008 |
Michael Bushkov <bushman@FreeBSD.org> |
Removing startup banner.
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
db1bdf2b |
| 09-Aug-2007 |
Michael Bushkov <bushman@FreeBSD.org> |
- Renaming repocopied cached to nscd
Approved by: re (kensmith), brooks (mentor)
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
0708945a |
| 30-Sep-2006 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fix usage().
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
06a99fe3 |
| 28-Apr-2006 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
- Extend the nsswitch to support Services, Protocols and Rpc databases. - Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
|
#
09c817ba |
| 03-Jul-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
8eeaaffa |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Remove casts from {c,m,re}alloc() and simplify sizeof().
MFC after: 1 week
|
#
27f2bc9e |
| 13-Jun-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Explain to the compiler why the aliasing we're doing is OK.
MFC after: 1 week
|