#
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. 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/
|
#
61b6fd5a |
|
16-Jan-2015 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Plug mutex leak. MFC after: 1 week Sponsored by: Nginx, Inc.
|
#
d31ff7a8 |
|
20-Dec-2010 |
Philippe Charnier <charnier@FreeBSD.org> |
Add __unused. Ansi prototypes.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
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
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
48b5fd63 |
|
27-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
|
#
9c20ad30 |
|
06-Feb-2007 |
Kevin Lo <kevlo@FreeBSD.org> |
getopt(3) returns -1, not EOF.
|
#
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. - 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>
|
#
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.
|
#
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.
|
#
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 month
|
#
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.
|
#
bbd6d60a |
|
08-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: http://people.freebsd.org/~green/sample-netgraph-dot.ps If anyone would like to refine the output further, please do so.
|
#
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.
|
#
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}/.
|
#
be44fce4 |
|
22-Jan-2002 |
Archie Cobbs <archie@FreeBSD.org> |
Add ngctl "write" command. MFC after: 1 week
|
#
0c5c7719 |
|
17-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Backout my previous commit, it appearantly doesn't work for asynchronous messages.
|
#
420e745a |
|
16-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add -ledit to ngctl. Somebody submitted this long time ago, and it has been sitting in my tree for months because I thought archie would pick it up. Submitted by: (sorry, lost track)
|
#
f35e82df |
|
09-Oct-2000 |
Archie Cobbs <archie@FreeBSD.org> |
Fix bug in "read" command. Submitted by: Dave Cornelius <dc@packetdesign.com>
|
#
7095e097 |
|
03-Jul-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Experiemntal ascii based device configuration mechanism. This may or may not survive, decision will be made well before 5.0-R
|
#
6ebb8ebb |
|
20-Jun-2000 |
Archie Cobbs <archie@FreeBSD.org> |
When the 'msg' command is used from the command line, check for a synchronous reply, and display it (if any) before exiting. Requested by: phk
|
#
b08b2814 |
|
27-Jan-2000 |
Archie Cobbs <archie@FreeBSD.org> |
No need to try loading ng_socket.ko, as NgMkSockNode() does that for us now if necessary.
|
#
f8307e12 |
|
29-Nov-1999 |
Archie Cobbs <archie@FreeBSD.org> |
Add two new generic control messages, NGM_ASCII2BINARY and NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
|
#
0d6985e2 |
|
27-Oct-1999 |
Archie Cobbs <archie@FreeBSD.org> |
If we get an EPROTONOSUPP error when trying to create the netgraph socket node, it's most likely because the "ng_socket.ko" KLD is not loaded yet. So make an attempt to load it before giving up.
|
#
4cf49a43 |
|
21-Oct-1999 |
Julian Elischer <julian@FreeBSD.org> |
Whistle's Netgraph link-layer (sometimes more) networking infrastructure. Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
|