History log of /freebsd-current/usr.sbin/autofs/automountd.c
Revision Date Author Comments
# 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.

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/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# bce7ee9d 28-Oct-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Drop "All rights reserved" from all my stuff. This includes
Foundation copyrights, approved by emaste@. It does not include
files which carry other people's copyrights; if you're one
of those people, feel free to make similar change.

Reviewed by: emaste, imp, gbe (manpages)
Differential Revision: https://reviews.freebsd.org/D26980


# abdd3945 24-Jan-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add SPDX tags for automount(8) et al.

MFC after: 2 weeks


# 27525377 14-Sep-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use proper argument order for calloc(3).

MFC after: 1 month


# 592d6e85 24-Jan-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

The <libutil.h> is an ordinary header file; should sort just like any other.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 52df29e6 12-Mar-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Get executable direct maps to work.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 4d58da13 11-Mar-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make concat() accept NULL arguments.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 5c16a48a 11-Mar-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Options from auto_master must be appended to options from maps,
not prepended.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 61d75c32 09-Mar-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Properly pass options for direct maps.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 6d8e60c3 09-Mar-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make things more readable; no functional changes.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# da0ba097 14-Dec-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix spurious "child process X terminated with exit status 1" messages
from automountd(8).

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 75afaef2 16-Oct-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix automountd(8) not to leave zombies.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 4cdc52bd 15-Oct-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make automountd(8) inform autofs(4) whether directory being handled can
have wildcards. This makes it possible for autofs(4) to avoid requesting
automountd(8) action on access to nonexistent nodes - unless wildcards
are actually used.

Note that this change breaks ABI for automountd(8).

Tested by: dhw@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 45c3925d 15-Oct-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Silence down a warning that doesn't provide any useful information unless
debug is enabled.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# f7ae8307 22-Aug-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add "nobrowse" option. Previously automountd(8) always behaved as if
it was set, now it's conditional.

PR: 192862
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 925fd945 21-Aug-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use __FBSDID() properly.

Suggested by: pluknet@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 3914ddf8 17-Aug-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format,
has proper kernel support, and LDAP integration.

There are still a few outstanding problems; they will be fixed shortly.

Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions)
Phabric: D523
MFC after: 2 weeks
Relnotes: yes
Sponsored by: The FreeBSD Foundation