#
9e2b8720 |
| 18-Sep-2024 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
Allow additional "options" files to be specified in kernel config
The "includeoptions" directive can be used to specify an additional options file to be used.
This is useful in conjunction with the
Allow additional "options" files to be specified in kernel config
The "includeoptions" directive can be used to specify an additional options file to be used.
This is useful in conjunction with the "files" directive for build environments to be able to add custom files and options.
Add "-v" flag to enable verbose mode. Added some additional error messages when in verbose mode.
Obtained from: Juniper Networks, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D39540
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0 |
|
#
0b8224d1 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove copyright strings ifdef'd out
We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals.
Remove copyright strings ifdef'd out
We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require).
Sponsored by: Netflix
show more ...
|
#
8a7b6120 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a p
usr.sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
eba230af |
| 25-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
Purge more stray embedded $FreeBSD$ strings
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
|
Revision tags: release/13.2.0 |
|
#
c04ad15c |
| 16-Feb-2023 |
Kyle Evans <kevans@FreeBSD.org> |
config: address a number of Coverity issues
Highlights: - Various memory leaks - FILE* leaks - `tsize` in moveifchanged() is only needed if !changed, and `from_sb` is only valid if !changed. - S
config: address a number of Coverity issues
Highlights: - Various memory leaks - FILE* leaks - `tsize` in moveifchanged() is only needed if !changed, and `from_sb` is only valid if !changed. - Simplify trivially true expression - Sanity check elfdump size output (+ fix variable sizes) (des@)
CID: 1471167, 1006391, 1505333, 1505275, 1505349, 1505306, 1505232 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38643
show more ...
|
#
b2c5a017 |
| 16-Feb-2023 |
Kyle Evans <kevans@FreeBSD.org> |
config: push path() into moveifchanged()
Every caller path()s its arguments anyways, just simplify these and push path() into moveifchanged(). This fixes a number of memory leaks in the process sin
config: push path() into moveifchanged()
Every caller path()s its arguments anyways, just simplify these and push path() into moveifchanged(). This fixes a number of memory leaks in the process since path() allocates memory, which we will now free().
While we're here, make sure we close from_fd/to_fd appropriately.
CID: 1471040, 1471714, 1472045, 1006907, 1006908 Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D38641
show more ...
|
#
f518229d |
| 16-Feb-2023 |
Kyle Evans <kevans@FreeBSD.org> |
config: fix some common issues with path() usage
None of the callers check that the allocation in path() failed, so let's check in path() and abort instead of failing.
Along those lines, none of th
config: fix some common issues with path() usage
None of the callers check that the allocation in path() failed, so let's check in path() and abort instead of failing.
Along those lines, none of the callers seem to acknowledge that the returned string needs to be free()d -- let's do that as well. There are a couple not addressed in this commit that will be addressed in a future commit by pushing the path() call down into moveifchanged() instead and freeing it properly there.
CID: 1505271, 1505250, 1505279 Reviewed by: emaste, imp
show more ...
|
#
83d7ed8a |
| 09-Feb-2023 |
Kyle Evans <kevans@FreeBSD.org> |
config: drop dependency on libsbuf
Use an std::stringstream instead. get_word() and get_quoted_word() both return a buffer that's presumed to not need release, so solve this by returning a new spec
config: drop dependency on libsbuf
Use an std::stringstream instead. get_word() and get_quoted_word() both return a buffer that's presumed to not need release, so solve this by returning a new special configword type that holds a string or eof/eol state. This cleans up caller checking for EOF/EOL to make it more explicit what they're doing, at least in the EOL cases which previously checked for NULL.
Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D38276
show more ...
|