Warner Losh
fbbd9655e5
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
2017-02-28 23:42:47 +00:00
Edward Tomasz Napierala
53232c0d1d
Remove spurious space.
...
MFC after: 1 month
2016-11-13 12:06:25 +00:00
Edward Tomasz Napierala
a79e9d0fec
Value returned by taskqueue_enqueue_timeout(9) is not an error; don't treat
...
it as such.
MFC after: 1 month
2016-11-05 12:30:10 +00:00
Pedro F. Giffuni
02abd40029
kernel: use our nitems() macro when it is available through param.h.
...
No functional change, only trivial cases are done in this sweep,
Discussed in: freebsd-current
2016-04-19 23:48:27 +00:00
Edward Tomasz Napierala
42ed64e39b
Speed up lookups in autofs(5) by using red-black trees instead of linear
...
searches.
Reviewed by: kib@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5627
2016-03-24 13:34:39 +00:00
Edward Tomasz Napierala
29836e077a
Restore ABI compatibility, broken in r273127. Note that while this fixes
...
ABI with 10.1, it breaks ABI for 11-CURRENT, so rebuild of automountd(8)
is neccessary.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2015-02-10 16:17:16 +00:00
Edward Tomasz Napierala
e3d5f1fe3b
Implement "automount -c".
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-11-22 16:48:29 +00:00
Edward Tomasz Napierala
5742494d29
Remove useless debug.
...
Sponsored by: The FreeBSD Foundation
2014-10-17 12:06:48 +00:00
Edward Tomasz Napierala
4cdc52bdef
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
2014-10-15 09:28:45 +00:00
Edward Tomasz Napierala
5d28b9ed32
Simplify; no functional changes.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-10-08 09:44:02 +00:00
Edward Tomasz Napierala
2eaebf35d6
Make autofs(4) use shared lock for lookups, instead of exclusive one.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-10-03 09:58:05 +00:00
Edward Tomasz Napierala
28a23d3d82
Call uma_zfree() outside of lock, and improve comment.
...
Sponsored by: The FreeBSD Foundation
2014-10-02 10:37:56 +00:00
Edward Tomasz Napierala
759489f9e2
Make autofs timeout handling use timeout task instead of callout;
...
that's because the handler can sleep on sx lock.
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2014-10-02 10:31:32 +00:00
Edward Tomasz Napierala
31a4b1aa03
Turns out -1 is a perfectly valid error number, ERESTART. Remove useless
...
code written under assumption that it wasn't.
Sponsored by: The FreeBSD Foundation
2014-09-21 10:34:15 +00:00
Edward Tomasz Napierala
787b524980
Fix typos.
...
Sponsored by: The FreeBSD Foundation
2014-09-18 10:33:23 +00:00
Edward Tomasz Napierala
f81018caf2
Autofs softc needs to be global anyway, so don't pass it as a local
...
variable, and don't store in autofs_mount. Also rename it from 'sc'
to 'autofs_softc', since it's global and extern.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2014-08-23 11:45:14 +00:00
Edward Tomasz Napierala
a32ba4e63e
Add comment explaining one of the quirks in autofs.
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2014-08-23 11:38:31 +00:00
Edward Tomasz Napierala
f5440d1a9d
Fix includes.
...
Suggested by: pluknet@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2014-08-21 15:59:25 +00:00
Edward Tomasz Napierala
925fd94584
Use __FBSDID() properly.
...
Suggested by: pluknet@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2014-08-21 15:07:25 +00:00
Edward Tomasz Napierala
3914ddf8a7
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
2014-08-17 09:44:42 +00:00