#
32e86a82 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
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.
Remo
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 |
|
#
b95a6ecf |
| 09-Apr-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
hastd(8): Fix a typo in a source code comment
- s/proccesses/processes/
MFC after: 3 days
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
1de7b4b8 |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0 |
|
#
e33d251e |
| 01-May-2016 |
Ed Schouten <ed@FreeBSD.org> |
Remove useless calls to basename().
There are a couple of places in the source three where we call basename() on constant strings. This is bad, because the prototype standardized by POSIX allows the
Remove useless calls to basename().
There are a couple of places in the source three where we call basename() on constant strings. This is bad, because the prototype standardized by POSIX allows the implementation to use its argument as a storage buffer.
This change eliminates some of these unportable calls to basename() in cases where it was only added for cosmetical reasons, namely to trim argv[0]. There's nothing wrong with setting argv[0] to the full path.
Reviewed by: jilles Differential Revision: https://reviews.freebsd.org/D6093
show more ...
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0 |
|
#
38f1b189 |
| 26-Apr-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r234692
sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c
- Add API to allow vmm FPU state init/save/restore.
FP stuff discussed with: kib
|
Revision tags: release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
2b1b224d |
| 10-Jan-2012 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
For functions that return -1 on failure check exactly for -1 and not for any negative number.
MFC after: 3 days
|
Revision tags: release/9.0.0 |
|
#
70d8f36a |
| 27-Oct-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r226824
|
#
27449604 |
| 01-Oct-2011 |
Alexander Motin <mav@FreeBSD.org> |
MFC
|
#
adf8002b |
| 27-Sep-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use PJDLOG_ASSERT() and PJDLOG_ABORT() everywhere instead of assert().
MFC after: 3 days
|
#
2b5ad0e0 |
| 21-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Increase debug level of "Checking hooks." message.
MFC after: 1 week
|
#
1884f6bb |
| 21-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Log when we start hooks checking and when we execute a hook.
MFC after: 1 week
|
#
8a8763b7 |
| 21-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use snprlcat() instead of two strlcat(3)s.
MFC after: 1 week
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
ac7b0b09 |
| 12-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
execve(2), not fork(2) resets signal handler to the default value (if it isn't ignored). Correct comment talking about that.
Pointed out by: kib MFC after: 3 days
|
#
bcaa0b67 |
| 12-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add a note that when custom signal handler is installed for a signal, signal action is restored to default in child after fork(2). In this case there is no need to do anything with dummy SIGCHLD hand
Add a note that when custom signal handler is installed for a signal, signal action is restored to default in child after fork(2). In this case there is no need to do anything with dummy SIGCHLD handler, because after fork(2) it will be automatically reverted to SIG_IGN.
Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
show more ...
|
#
19fe8e84 |
| 22-Oct-2010 |
Dimitry Andric <dim@FreeBSD.org> |
Sync: merge r214077 through r214219 from ^/head.
|
#
6c71649c |
| 20-Oct-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use closefrom(2) instead of close(2) in a loop.
MFC after: 1 week
|
#
c0a124e6 |
| 17-Oct-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Clear signal mask before executing a hook.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
|
#
5f24b330 |
| 04-Oct-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
hook_check() is now only used to report about long-running hooks, so the argument is redundant, remove it.
MFC after: 3 days
|
#
b71de2e0 |
| 26-Sep-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Plug memory leak on fork(2) failure.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
|
#
25ec2e3e |
| 29-Aug-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Add hook_fini() which should be called after fork() from the main hastd process, once it start to use hooks. - Add hook_check_one() in case the caller expects different child processes and once
- Add hook_fini() which should be called after fork() from the main hastd process, once it start to use hooks. - Add hook_check_one() in case the caller expects different child processes and once it can recognize it, it will pass pid and status to hook_check_one().
MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
show more ...
|
#
1cdaf10c |
| 27-Aug-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Run hooks in background - don't block waiting for them to finish. - Keep all hooks we're running in a global list, so we can report when they finish and also report when they are running for too
- Run hooks in background - don't block waiting for them to finish. - Keep all hooks we're running in a global list, so we can report when they finish and also report when they are running for too long.
MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
show more ...
|
#
e64887c4 |
| 27-Aug-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
When logging to stdout/stderr don't close those descriptors after fork().
MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
|