Commit Graph

19 Commits

Author SHA1 Message Date
pfg
9da7bdde06 spdx: initial adoption of licensing ID tags.
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.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13133
2017-11-18 14:26:50 +00:00
pfg
60dd496bf0 dconschat(8): Use NULL instead of 0 for the last argument in execl(3)
Found while experimenting with the gcc sentinel attribute.

MFC after:	3 days
2015-06-28 20:32:03 +00:00
dim
1dc73f99dc Fix the following warning from clang trunk:
usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
        snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset);
                                                                     ~~^            ~~~~~~~~~
                                                                     %llx

Silence this by casting dc->reset to intmax_t, and using the appropriate
length modifier.  While here, wrap the line to a 80 character margin.

MFC after:	3 days
2012-03-19 19:17:55 +00:00
ed
2f525d6949 Include <sys/wait.h> and <signal.h> for wait() and kill(). 2009-06-14 12:44:09 +00:00
simokawa
ffeb100042 Set the default escape character as described in the manpage of dconschat(8).
Fix a cut-and-paste error.

Spotted by: avatar
Approved by: re (rwatson)
2007-07-12 13:08:00 +00:00
simokawa
e5ece23f3a - Add an option to change escape character.
- Use CTRL macro.
- Make target reset work on telnet port.
- Add a key bind to invoke kgdb on the terminal. (experimental)
2007-06-15 12:09:16 +00:00
simokawa
6ccdd59c1d Reset dc->paddr and dc->reset if we cannot read configuration ROM. 2007-06-08 12:58:06 +00:00
simokawa
1345f38e32 Clean up escape sequence handling and add support for
resetting target and suspending dconschat.
2007-06-08 05:26:11 +00:00
simokawa
50b4632333 Add heuristics for smooth reconnection. 2007-06-07 12:29:33 +00:00
simokawa
799f344ad5 Discard backlog on GDB port when connected.
MFC after: 3 days
2007-05-31 04:55:05 +00:00
stefanf
60ecbe760f Fix typos in comments. 2005-03-11 14:20:09 +00:00
stefanf
8655a91f58 Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
simokawa
2760305575 Invalidate dcons buffer address if the magic is wrong. 2004-09-26 12:46:47 +00:00
brooks
5b46c790ee Use new eui64(3) functions to print EUI-64s and to allow access to nodes
by EUI-64 and name.

Reviewed by:	simokawa
2004-05-26 22:59:55 +00:00
simokawa
7ba479f838 Normalize polling interval while the target is offline. 2004-02-20 10:59:46 +00:00
simokawa
9b0ffa5c91 Increase MAXDEV up to 10. 2003-11-09 14:49:43 +00:00
simokawa
5b4edb5315 Cosmetic change. 2003-11-07 10:17:09 +00:00
simokawa
57c5fc586d remove debug message. 2003-10-25 14:51:36 +00:00
simokawa
c96f6e4f1d Add dumb console driver and related bits.
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00