#
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/
|
#
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
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
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
88e531f3 |
| 17-Feb-2021 |
Robert Wing <rew@FreeBSD.org> |
autofs: best effort to maintain mounttab and mountdtab
When an automounted filesystem is successfully unmounted, call rpc.umntall(8) with the -k flag.
rpc.umntall(8) is used to clean up /var/db/mou
autofs: best effort to maintain mounttab and mountdtab
When an automounted filesystem is successfully unmounted, call rpc.umntall(8) with the -k flag.
rpc.umntall(8) is used to clean up /var/db/mounttab on the client and /var/db/mountdtab on the server. This is only useful for NFSv3.
PR: 251906 Reviewed by: trasz Differential Revision: https://reviews.freebsd.org/D27801
show more ...
|
#
ce22a792 |
| 03-Mar-2021 |
Robert Wing <rew@FreeBSD.org> |
autounmountd: set filter-specific flags for the EVFILT_FS filter
Set the filter-specific flags VQ_MOUNT and VQ_UNMOUNT for the EVFILT_FS filter.
The filter-specific flags for the EVFILT_FS filter a
autounmountd: set filter-specific flags for the EVFILT_FS filter
Set the filter-specific flags VQ_MOUNT and VQ_UNMOUNT for the EVFILT_FS filter.
The filter-specific flags for the EVFILT_FS filter are undocumented, but their usage can be found by looking up vfs_event_signal().
Reviewed by: trasz Differential Revision: https://reviews.freebsd.org/D28975
show more ...
|
#
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 peopl
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
show more ...
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
245bfd34 |
| 21-May-2020 |
Ryan Moeller <freqlabs@FreeBSD.org> |
Deduplicate fsid comparisons
Comparing fsid_t objects requires internal knowledge of the fsid structure and yet this is duplicated across a number of places in the code.
Simplify by creating a fsid
Deduplicate fsid comparisons
Comparing fsid_t objects requires internal knowledge of the fsid structure and yet this is duplicated across a number of places in the code.
Simplify by creating a fsidcmp function (macro).
Reviewed by: mjg, rmacklem Approved by: mav (mentor) MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D24749
show more ...
|
Revision tags: release/12.1.0 |
|
#
3447ea90 |
| 09-Aug-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
autofs: Fix autounmountd's printing of mount time.
time_t should be printed as intmax_t. Even though duration should be short, the correct way to print is intmax_t, not long.
Reported by: ian,imp
|
#
ca05fff0 |
| 08-Aug-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Change autounmountd(8) to use time_t for duration instead of double
Summary: autounmountd(8) uses doubles to handle mount time durations. However, it must convert to integer types, time_t in partic
Change autounmountd(8) to use time_t for duration instead of double
Summary: autounmountd(8) uses doubles to handle mount time durations. However, it must convert to integer types, time_t in particular, to do anything meaningful. Additionally, even though it's a floating-point value in seconds, the sub-seconds component is never used, so it's unnecessary.
Switching type to time_t fixes an assertion on powerpc64, which checks that a sleep value that's not -1.0 is greater than 0. On powerpc64, it happens that the value of -1.0 gets loaded as a float (perhaps a bug in gcc), but gets compared to a double. This compares as false, so follows through the 'sleep != -1.0' path, and fails the assert. Since the sub-second component isn't used in the double, just drop it and deal with whole-integer seconds.
Reviewed by: trasz Differential Revision: https://reviews.freebsd.org/D21109
show more ...
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
abdd3945 |
| 24-Jan-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add SPDX tags for automount(8) et al.
MFC after: 2 weeks
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
a2b802ce |
| 02-Nov-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r303250 through r308226.
|
#
8379360a |
| 02-Nov-2016 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make autounmountd(8) not die when traced with "truss -p".
MFC after: 1 month
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
93badfa1 |
| 16-Sep-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r305687 through r305890.
|
#
27525377 |
| 14-Sep-2016 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Use proper argument order for calloc(3).
MFC after: 1 month
|
#
debc480e |
| 07-Jul-2016 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add new unmount(2) flag, MNT_NONBUSY, to check whether there are any open vnodes before proceeding. Make autounmound(8) use this flag. Without it, even an unsuccessfull unmount causes filesystem flus
Add new unmount(2) flag, MNT_NONBUSY, to check whether there are any open vnodes before proceeding. Make autounmound(8) use this flag. Without it, even an unsuccessfull unmount causes filesystem flush, which interferes with normal operation.
Reviewed by: kib@ Approved by: re (gjb@) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D7047
show more ...
|
Revision tags: release/10.3.0 |
|
#
2414e864 |
| 03-Feb-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MfH @r295202
Expect to see panics in routing code at least now.
|
#
14d5c08b |
| 26-Jan-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r294599 through r294776.
|
#
f9421853 |
| 25-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
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
|
Revision tags: release/10.2.0 |
|
#
98e0ffae |
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|
#
9f3d45b6 |
| 08-Feb-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from HEAD
|
#
64028902 |
| 28-Jan-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r277804 through r277843.
|
#
21cee0c5 |
| 28-Jan-2015 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
When there are no automounted filesystems, autounmountd(8) should wait for filesystem event, instead of looping on a timeout.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
#
9268022b |
| 19-Nov-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head@274682
|
Revision tags: release/10.1.0 |
|
#
4e27d36d |
| 17-Sep-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r271694
|