| #
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 ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
5eeb4f73
|
| 17-Nov-2022 |
Doug Rabson <dfr@FreeBSD.org> |
imgact_binmisc: Optionally pre-open the interpreter vnode
This allows the use of chroot and/or jail environments which depend on interpreters registed with imgact_binmisc to use emulator binaries fr
imgact_binmisc: Optionally pre-open the interpreter vnode
This allows the use of chroot and/or jail environments which depend on interpreters registed with imgact_binmisc to use emulator binaries from the host to emulate programs inside the chroot.
Reviewed by: imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D37432
show more ...
|
| #
c7fcb36f
|
| 08-Feb-2021 |
Mark Johnston <markj@FreeBSD.org> |
binmiscctl: Avoid segfault with "binmiscctl add" and no extra params
MFC after: 1 week
|
| #
2c5e8650
|
| 07-Nov-2020 |
Kyle Evans <kevans@FreeBSD.org> |
binmiscctl(8): miscellaneous cleanup
- Bad whitespace in Makefile. - Reordered headers, sys/ first. - Annotated fatal/usage __dead2 to help `make analyze` out a little bit. - Spell a couple of sizeo
binmiscctl(8): miscellaneous cleanup
- Bad whitespace in Makefile. - Reordered headers, sys/ first. - Annotated fatal/usage __dead2 to help `make analyze` out a little bit. - Spell a couple of sizeof constructs as "nitems" and "howmany" instead.
MFC after: 1 week
show more ...
|
| #
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 ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
5eeb4f73
|
| 17-Nov-2022 |
Doug Rabson <dfr@FreeBSD.org> |
imgact_binmisc: Optionally pre-open the interpreter vnode
This allows the use of chroot and/or jail environments which depend on interpreters registed with imgact_binmisc to use emulator binaries fr
imgact_binmisc: Optionally pre-open the interpreter vnode
This allows the use of chroot and/or jail environments which depend on interpreters registed with imgact_binmisc to use emulator binaries from the host to emulate programs inside the chroot.
Reviewed by: imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D37432
show more ...
|
| #
c7fcb36f
|
| 08-Feb-2021 |
Mark Johnston <markj@FreeBSD.org> |
binmiscctl: Avoid segfault with "binmiscctl add" and no extra params
MFC after: 1 week
|
| #
2c5e8650
|
| 07-Nov-2020 |
Kyle Evans <kevans@FreeBSD.org> |
binmiscctl(8): miscellaneous cleanup
- Bad whitespace in Makefile. - Reordered headers, sys/ first. - Annotated fatal/usage __dead2 to help `make analyze` out a little bit. - Spell a couple of sizeo
binmiscctl(8): miscellaneous cleanup
- Bad whitespace in Makefile. - Reordered headers, sys/ first. - Annotated fatal/usage __dead2 to help `make analyze` out a little bit. - Spell a couple of sizeof constructs as "nitems" and "howmany" instead.
MFC after: 1 week
show more ...
|
| #
4fc74049
|
| 29-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327169 through r327340.
|
| #
829ec266
|
| 28-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Don't leak resources on duplicate -m or -M arguments. Last one wins.
CID: 1204385, 1204384
|
| #
0275f9db
|
| 11-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r321383 through r322397.
|
| #
69ef36e3
|
| 31-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321829
|
| #
0e34ba73
|
| 31-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321755
|
| #
4b5e2f8e
|
| 28-Jul-2017 |
Sean Bruno <sbruno@FreeBSD.org> |
binmiscctl should use modfind instead of kldfind
kldfind() only matches kernel modules, so if you link imgact_binmisc directly into the kernel, binmiscctl can't find it, tries to load it, and errors
binmiscctl should use modfind instead of kldfind
kldfind() only matches kernel modules, so if you link imgact_binmisc directly into the kernel, binmiscctl can't find it, tries to load it, and errors out with: Can't load imgact_binmisc kernel module: File exists
A quick search of other base commands shows that the correct procedure is to call modfind(), and then try kldload() if that fails.
PR: 218593 Submitted by: Dan Nelson <dnelson_1901@yahoo.com> MFC after: 1 week
show more ...
|
| #
fe579263
|
| 13-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
Another attempt at resolving CID 1305629. The test of cmd == -1 may make Coverity think that other negative values of cmd (used as an index) are possible. Testing < 0 is a more common idiom in any
Another attempt at resolving CID 1305629. The test of cmd == -1 may make Coverity think that other negative values of cmd (used as an index) are possible. Testing < 0 is a more common idiom in any case.
Reported by: Coverity CID: 1305629
show more ...
|
| #
aa60f7a6
|
| 13-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
Revert r299584: Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript.
Requested by: bde
|
| #
e402dde8
|
| 13-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
Mark usage() as __dead2 so that Coverity doesn't think that execution continues after the call and uses a negative array subscript.
Reported by: Coverity CID: 1305629
|
| #
98e0ffae
|
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|
| #
fa1e92b6
|
| 04-Mar-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
| #
072aeeb6
|
| 02-Mar-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Merge r278538 through r279514.
|
| #
6c787c8f
|
| 18-Feb-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r278593-r278966
Sponsored by: The FreeBSD Foundation
|
| #
714e3c81
|
| 17-Feb-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r278756 through r278915.
|
| #
b8fc9a86
|
| 15-Feb-2015 |
Sean Bruno <sbruno@FreeBSD.org> |
If no arguments are passed to a subcommand that requires arguments, error out before we deref a null pointer in the check for max length.
Thanks to otis in IRC for the bug report.
MFC after: 3 days
|