Commit Graph

6891 Commits

Author SHA1 Message Date
agc
8a3e64ceb9 Fix a tyop - we want the readlink binary and manual pages when HOSTPROG
is not defined.
2003-07-21 10:16:55 +00:00
itojun
25ad1ea430 UPPORT_UTMP{,X} outside of .if KERBEROS. PR 22202 2003-07-21 03:37:43 +00:00
mrg
dd10ebe3f2 fix a now-wrong comment. 2003-07-21 00:55:59 +00:00
mrg
e312c82e5f minor consistency nit 2003-07-21 00:55:40 +00:00
he
80ccb5520c As a temporary workaround, apply the fix from PR#20390, thereby
cooperating with the callout code in working around the race
condition caused by the TCP code's use of the callout facility.

Instead of unconditionally releasing memory in tcp_close() and
SYN_CACHE_PUT(), check whether any of the related callout handlers
are about to be invoked (but have not yet done callout_ack()), and
if so, just mark the associated data structure (tcpcb or syn cache
entry) as "dead", and test for this (and release storage) in the
callout handler functions.
2003-07-20 16:35:07 +00:00
jmmv
7efaf55594 Add the EXIT STATUS section header. 2003-07-20 14:20:34 +00:00
lukem
5885a35ae3 first attempt at making this a HOSTPROG 2003-07-20 14:12:13 +00:00
lukem
514fc67c71 protect __RCSID() as this is a host tool. noted in PR 22074 by Julian C. Dunn 2003-07-20 01:09:07 +00:00
lukem
9cfea6f679 tweak copyright; the stuff jason did in util.c wasn't migrated to this file. 2003-07-17 12:06:18 +00:00
dsl
fde07830ad Grok KTR_EXEC_ENV and KTR_EXEC_ARG.
Make ktrace -c default to removing all trace points (not just the default ones).
Make kdump default to dumping everything in the trace file.
Add 'A' (all) and '-' (remove following) to valid -t arguments.
Dump data block of UNKNOWN trace points in hex + ascii.
Make first time output with -R 0 (instead of time since epoch).
Use svis() instead of vis() to get " escaped (as \") (needs fixed libc)
Correctly pass unsigned values to svis()
Update man pages.
2003-07-17 09:05:11 +00:00
lukem
abcf838dab only use __RCSID() if it is #defined 2003-07-17 08:33:03 +00:00
itojun
87b3160e5b remove #ifdef sun 2003-07-16 15:14:19 +00:00
itojun
a0cef40c27 need this line to remove doublequote 2003-07-16 14:57:29 +00:00
wiz
aeb7902476 Bump date for tu addition; drop trailing space; sort a bit. 2003-07-16 11:34:16 +00:00
itojun
a5450bcac9 backout. make(1) either uses strcpy() to malloc'ed region (enough size),
or function signature prohibits us from using strlcpy().
2003-07-16 07:16:24 +00:00
itojun
06ded73d5a we can't use snprintf here, as sizeof(pathname) is unknown 2003-07-16 07:11:29 +00:00
itojun
e26b0e0cf5 stop installing install libtelnet. build under lib/libtelnet and reference
it from usr.bin/telnet and libexec/telnetd.
(reason for separate build: compiler flags)
2003-07-16 05:42:01 +00:00
itojun
8ac99d48f2 strlcat 2003-07-15 05:59:58 +00:00
itojun
3c95d355e5 use bounded string op 2003-07-15 05:56:55 +00:00
itojun
0cd65be2b9 snprintf 2003-07-15 05:52:48 +00:00
itojun
bd8e1178ee strlcpy (fixed) 2003-07-15 05:39:28 +00:00
itojun
885eddc2ed strlcpy 2003-07-15 05:38:24 +00:00
sjg
8186ad8ad9 Fix a couple of missing UNCONST's that hit bmake. 2003-07-14 21:13:48 +00:00
christos
ed5bfb0707 PR/21896: Jun-ichiro itojun Hagino: Fix botch with passing -1 as the stdin
for the editor instead of 0.
2003-07-14 20:49:14 +00:00
sjg
f1cf540a8d Add a :ts[c] modifier to allow controlling the separator used between
words in a variable expansion.  If 'c' is omitted no separator is used.
2003-07-14 20:39:20 +00:00
christos
6a7d20bb25 Pass WARNS=3 2003-07-14 18:19:11 +00:00
itojun
c9df1b829c the line is needed (to remove closing doublequote) 2003-07-14 18:11:06 +00:00
itojun
1f245ffbb2 more unifdef 2003-07-14 16:06:46 +00:00
itojun
eb8120f761 more unifdef 2003-07-14 16:00:52 +00:00
itojun
21f5307c6f remove unneeded #ifdef. (confirmed that same *.o is generated) 2003-07-14 15:56:28 +00:00
itojun
ab3a8ded53 use bounded string op/asprintf 2003-07-14 12:02:00 +00:00
itojun
6d415bc4b0 use bounded string op 2003-07-14 11:54:06 +00:00
itojun
347022e133 use bounded string op - some remains 2003-07-14 11:52:24 +00:00
itojun
01a5c755ee use bounded string op, simplify by asprintf/strdup 2003-07-14 11:45:18 +00:00
itojun
479f575456 use bounded string op 2003-07-14 11:36:48 +00:00
itojun
31d51579a3 get rid of strsave(), use strdup directly 2003-07-14 11:09:19 +00:00
itojun
3f02ac18b7 use bounded string op 2003-07-14 09:44:00 +00:00
itojun
d91f80a702 the function is equivalent to strdup. 2003-07-14 09:41:27 +00:00
itojun
fe182b3802 use bounded string op 2003-07-14 09:40:26 +00:00
itojun
5d7783072e asprintf is safer. add error trap for malloc failure 2003-07-14 09:38:14 +00:00
itojun
2fe0488981 use bounded string op 2003-07-14 09:33:08 +00:00
itojun
51a0035259 use bounded string op 2003-07-14 09:31:16 +00:00
itojun
6a949dc545 minor KNF 2003-07-14 09:30:52 +00:00
itojun
eea9ee0720 asprintf is easier and safer 2003-07-14 09:29:21 +00:00
itojun
2777b2aa10 use bounded string op as much as possible 2003-07-14 09:25:37 +00:00
itojun
870f37306c use bounded string op 2003-07-14 09:24:00 +00:00
itojun
a0e42b4568 strdup is easier 2003-07-14 09:22:17 +00:00
itojun
6086476ade use bounded string op 2003-07-14 09:21:03 +00:00
itojun
24c1ca6e35 use bounded string op as much as possible 2003-07-14 09:18:22 +00:00
wiz
95ad95491e Fix two minor whitespace problems. 2003-07-14 08:55:18 +00:00