| #
559a218c
|
| 01-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Kee
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
e829181c
|
| 18-May-2023 |
Peter Wemm <peter@FreeBSD.org> |
libc: Update copyright text to match current templates.
|
| #
412fd7a3
|
| 28-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
setproctitle_internal(): remove kbuf local, it is write-only
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
46f168bc
|
| 31-Jan-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
Drop temporary compat in setproctitle
|
| #
fe258f23
|
| 16-Jan-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
Save on getpid in setproctitle by supporting -1 as curproc.
|
| #
3076591b
|
| 15-Apr-2020 |
Brooks Davis <brooks@FreeBSD.org> |
Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting pointers via sysctl.
As a temporary measur
Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting pointers via sysctl.
As a temporary measure, keep the sysctl support to allow limited compatability with old kernels.
Fail gracefully if ps_strings can't be found (should never happen).
Reviewed by: kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D24407
show more ...
|
| #
3611ec60
|
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
| #
559a218c
|
| 01-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Kee
libc: Purge unneeded cdefs.h
These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
e829181c
|
| 18-May-2023 |
Peter Wemm <peter@FreeBSD.org> |
libc: Update copyright text to match current templates.
|
| #
412fd7a3
|
| 28-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
setproctitle_internal(): remove kbuf local, it is write-only
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
46f168bc
|
| 31-Jan-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
Drop temporary compat in setproctitle
|
| #
fe258f23
|
| 16-Jan-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
Save on getpid in setproctitle by supporting -1 as curproc.
|
| #
3076591b
|
| 15-Apr-2020 |
Brooks Davis <brooks@FreeBSD.org> |
Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting pointers via sysctl.
As a temporary measur
Attempt to use AT_PS_STRINGS to get the ps_strings pointer.
This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting pointers via sysctl.
As a temporary measure, keep the sysctl support to allow limited compatability with old kernels.
Fail gracefully if ps_strings can't be found (should never happen).
Reviewed by: kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D24407
show more ...
|
| #
3611ec60
|
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
| #
8b3c9fac
|
| 17-Aug-2018 |
Mariusz Zaborski <oshogbo@FreeBSD.org> |
Fix style nits.
|
| #
78f89679
|
| 04-Jul-2018 |
Konstantin Belousov <kib@FreeBSD.org> |
Add setproctitle_fast(3) for frequent callers.
Some applications, notably PostgreSQL, want to call setproctitle() very often. It's slow. Provide an alternative cheap way of updating process titles
Add setproctitle_fast(3) for frequent callers.
Some applications, notably PostgreSQL, want to call setproctitle() very often. It's slow. Provide an alternative cheap way of updating process titles without making any syscalls, instead requiring other processes (top, ps etc) to do a bit more work to retrieve the data. This uses a pre-existing code path inherited from ancient BSD, which always did it that way.
Submitted by: Thomas Munro MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D16111
show more ...
|
| #
0ed76ec8
|
| 24-Nov-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r308870 through r309105.
|
| #
134ede2d
|
| 22-Nov-2016 |
Ed Maste <emaste@FreeBSD.org> |
remove unnecessary vm includes from setproctitle
vm headers were needed only for the PS_STRINGS fallback, which was removed in r297888.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
| #
2cf5e936
|
| 18-Apr-2016 |
Andriy Voskoboinyk <avos@FreeBSD.org> |
libc: do not include <sys/types.h> where <sys/param.h> was already included
According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <
libc: do not include <sys/types.h> where <sys/param.h> was already included
According to style(9): > normally, include <sys/types.h> OR <sys/param.h>, but not both. (<sys/param.h> already includes <sys/types.h> when LOCORE is not defined).
show more ...
|
| #
9c831bbd
|
| 13-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
| #
63fdc018
|
| 12-Apr-2016 |
Ed Maste <emaste@FreeBSD.org> |
Remove PS_STRINGS fallback from setproctitle
In r103767 the kern.ps_strings sysctl was added as the preferred way to locate the ps_strings struct and is available in any FreeBSD release supported wi
Remove PS_STRINGS fallback from setproctitle
In r103767 the kern.ps_strings sysctl was added as the preferred way to locate the ps_strings struct and is available in any FreeBSD release supported within the last decade.
Reviewed by: kib
show more ...
|
| #
416ba5c7
|
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|
| #
98e0ffae
|
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|