History log of /freebsd/usr.sbin/ngctl/main.c (Results 1 – 25 of 60)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


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/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, 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, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0
# 98e0ffae 27-May-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge sync of head


# 51dd214c 19-Jan-2015 Enji Cooper <ngie@FreeBSD.org>

MFhead @ r277403


# d899be7d 19-Jan-2015 Glen Barber <gjb@FreeBSD.org>

Reintegrate head: r274132-r277384

Sponsored by: The FreeBSD Foundation


# 61b6fd5a 16-Jan-2015 Gleb Smirnoff <glebius@FreeBSD.org>

Plug mutex leak.

MFC after: 1 week
Sponsored by: Nginx, Inc.


Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0
# d31ff7a8 20-Dec-2010 Philippe Charnier <charnier@FreeBSD.org>

Add __unused. Ansi prototypes.


Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0
# 10b3b545 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head


# 09c817ba 03-Jul-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# c5401464 14-Jun-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Add volatile to sig_atomic_t where it was missing.

MFC after: 1 week


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# 48b5fd63 28-Jun-2008 Mike Makonnen <mtm@FreeBSD.org>

Modify the DoParseCommand() to work on (const char *) instead of just
(char *). This is a slightly simplified version of the patch in the PR. It
fixes compilitation issues with -O3.

PR: misc/124385


Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 9c20ad30 06-Feb-2007 Kevin Lo <kevlo@FreeBSD.org>

getopt(3) returns -1, not EOF.


Revision tags: release/6.2.0_cvs, release/6.2.0
# eac2afce 08-Aug-2006 Gleb Smirnoff <glebius@FreeBSD.org>

- Pass pointer to fd_set in ReadSockets.
- style(9) nits.

Submitted by: ru


# b9124a73 07-Aug-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Add line edit and history support to ngctl(8) via editline(3).

Details:
- The main thread runs editline(3) functions, that can block.
- A separate thread is launched to monitor netgraph sockets.
- T

Add line edit and history support to ngctl(8) via editline(3).

Details:
- The main thread runs editline(3) functions, that can block.
- A separate thread is launched to monitor netgraph sockets.
- The access to the descriptors is protected by a mutex. At
runtime the monitoring thread owns the mutex. When the main
thread reads a command from el_gets() it asks the monitoring
thread to release a mutex and sleep until the main thread
processes the command.

This makes ngctl(8) depend on libedit, and libpthread. Thus, the
new functionality isn't compiled in if release is being built
with -DRELEASE_CRUNCH.

PR: bin/87352
Reviewed by: ru, Nuno Antunes <nuno.antunes gmail.com>

show more ...


# 9caee2ec 28-Jun-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Style: space after "return".


# 78cdd8ed 24-May-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Unnest includes before forthcoming editing.


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# c44e20eb 04-Feb-2005 Maxim Konovalov <maxim@FreeBSD.org>

Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
net.graph.maxdgram sysctls.


Revision tags: release/4.11.0_cvs, release/4.11.0
# b5974bdb 25-Nov-2004 Maxim Konovalov <maxim@FreeBSD.org>

Increase a socket receive buffer size. This helps 'ngctl list'
to deal with a big number of nodes.

Submitted by: archie
Approved by: archie
Reported and tested: Konstantin Timashkov
MFC after: 1

Increase a socket receive buffer size. This helps 'ngctl list'
to deal with a big number of nodes.

Submitted by: archie
Approved by: archie
Reported and tested: Konstantin Timashkov
MFC after: 1 month

show more ...


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1
# 9fe5fada 27-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Get rid of all (but one in write.c) static size buffers.


# 723c1c2e 26-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Make this WARNS=3 clean.


Revision tags: release/5.2.0_cvs, release/5.2.0
# bbd6d60a 09-Jan-2004 Brian Feldman <green@FreeBSD.org>

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:
http://people.freebsd.org/~green/sample-netgraph-dot.ps
If anyone would like to refine the output further, please do so.

show more ...


# b00304d4 04-Jan-2004 Philippe Charnier <charnier@FreeBSD.org>

Use fprintf() instead of errx() when displaying usage string. The program name
will not be written twice.


# 9d901d3b 12-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Get rid of the old constants which did not include the trailing NUL
and use the new constants which do.


Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# d3974088 22-Apr-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# be44fce4 22-Jan-2002 Archie Cobbs <archie@FreeBSD.org>

Add ngctl "write" command.

MFC after: 1 week


123