History log of /freebsd-current/usr.bin/posixshmcontrol/posixshmcontrol.c
Revision Date Author Comments
# 5e3934b1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: 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


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 043e24bd 23-Apr-2023 Konstantin Belousov <kib@FreeBSD.org>

posixshmcontrol(1): silently ignore inaccessible segments when listing

PR: 271038
Reported by: rau8344@gmail.com
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 1bbc5101 23-Nov-2022 Konstantin Belousov <kib@FreeBSD.org>

posixshmcontrol(1): for regular shmfd, report used pages number

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37097


# be7cf3f4 26-Feb-2022 Jamie Gritton <jamie@FreeBSD.org>

posixshm: Add a -j option to posixshmcontrol ls, to specify a jail
PR: 257556
Reported by: grembo@


# c6dce83d 15-Sep-2020 Mark Johnston <markj@FreeBSD.org>

Fix some posixshmcontrol nits.

- Exit with an error if no path is specified.
- Man page typo.
- Error message typo.

Reviewed by: kib
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26376


# 19fabdb7 09-Sep-2020 Konstantin Belousov <kib@FreeBSD.org>

Add posixshmcontrol(1) support for largepage shm objects.

Create op with -l <largepage> option can create it, stat displays
configured page size.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24652


# a24ac0ce 09-Mar-2020 Konstantin Belousov <kib@FreeBSD.org>

posixshmcontrol: add an undocumented alias 'list' for the 'ls' command.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days


# 537aac3c 23-May-2019 Konstantin Belousov <kib@FreeBSD.org>

Use int for the getopt() result.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 5f4592e4 23-May-2019 Konstantin Belousov <kib@FreeBSD.org>

Add posixshmcontrol(1), an utility to manipulate posix shared memory segments.

See usage for the command line structure. Man page will come shortly.

Reviewed by: jilles, tmunro
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D20258