provos
61d0495091
support for cradle mode by marius at monkey.org; cradle mode allows the
...
systrace UI to be attached and re-attached, it also multiplexes across
systrace process so that one UI can function as central notification
2003-11-28 21:53:32 +00:00
dsl
7983f217c9
Generate command line when SMALL is defined and make buffer full sized.
...
All the code has been present for a while, and the memory cost is (about)
180 bytes per process.
Fixes PR bin/23545
2003-11-27 21:16:14 +00:00
simonb
493b309b03
Put a few headers back so this compiles again.
...
Compile problems noticed by Dan Carosone.
2003-11-25 03:40:18 +00:00
matt
2d72f72583
Don't emit any warnings when tar is trying to figure out if the file is
...
really tar format. valid CPIO files should not trigger a warning from tar.c
2003-11-24 23:48:47 +00:00
jschauma
2c872ddbbc
Also remove headers that are no longer needed. Also pointed out by Mike
...
Small.
2003-11-24 22:47:02 +00:00
jschauma
d772e9e433
Remove unused variable stdout_ok, which was left over from my changes
...
in September. Pointed out by Mike Small in a private email.
2003-11-24 22:38:46 +00:00
provos
2244ab26a9
allow underscores in usernames
2003-11-18 05:28:05 +00:00
lukem
e606e2dcb2
Improve how various "simple" host tools are built and invoked.
2003-11-16 14:14:18 +00:00
dsainty
39973c5237
Optimise previous change, using fcntl(F_DUPFD) to locate a free descriptor
...
for us, rather than iterating until satisfied.
Suggested by David Laight.
2003-11-15 14:55:32 +00:00
dsainty
0b16f71074
Avoid corrupting the dd(1) IO streams. This would happen by accidentally
...
outputting to the files being manipulated by opening a file in the standard IO
descriptor space. In particular, an output file unlucky enough to be sitting
on descriptor 2 (stderr) is certain to be corrupted.
Addresses PR bin/8521, and passes the recently committed regression test
"bin/dd".
2003-11-15 12:44:54 +00:00
dsl
296844fe72
Posix requires that 'pwd -P' reset the shells saved cwd value - so a
...
subsequent 'pwd -L' will report the same value.
Update man page to be a closer match to reality.
2003-11-14 20:00:28 +00:00
dsl
c0cf1d6b30
This seems to need stdlib.h to get a prototype for abort().
2003-11-14 10:46:13 +00:00
dsl
edecd89511
Add '\n' to "fork failed" trace messages.
2003-11-14 10:27:10 +00:00
wiz
61ea2c0760
file system, not filesystem; e.g. is an abbreviation; use FAT instead of msdos
...
when describing the file system.
2003-10-30 14:58:23 +00:00
dsl
db9b05af0d
Make /bin/pwd almost conform to IEEE 1003.1
...
- Make 'pwd -L' fall back to 'pwd -P' if PWD is incorrect.
- Ignore PWD if it contains "/./" or "/../".
- Garbage collect some redundant code.
It is still non-conformant because posix mandates that the default
be 'pwd -L' (aka ksh), not 'pwd -P' (historic practise everywhere else).
Changing the default will break too much...
2003-10-30 13:52:23 +00:00
dsl
df5bd11fb9
Validate the arguments to 'pwd'. Treat -L and -P as per pwd(1).
...
Note that 'pwd -L' and 'pwd -P' almost always report the same answer as
the shell detects when 'cd' follows a symlink and discards its cached 'pwd'
2003-10-30 09:40:26 +00:00
wiz
6a22b79c1a
passwd(5), not passwd(4). From Igor Sobrado in PR 23278.
2003-10-27 08:23:40 +00:00
wiz
4580c6ac21
Do not xref alias(1) since that points to csh(1).
...
Noted by Igor Sobrado in PR 23278, fixed following a suggestion by Greg A. Woods.
2003-10-27 08:22:21 +00:00
lukem
7568eb663a
skip a leading `-' on the arg0 name when calling el_init()
2003-10-27 06:19:29 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
lukem
5037f26eb0
don't need -DHAVE_CONFIG_H here
2003-10-26 09:30:55 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem
857ab1bdd0
use ${HOST_SH} instead of /bin/sh
2003-10-26 03:50:07 +00:00
lukem
130ab7336b
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
fvdl
84f47d78af
Don't initialize an integer field with NULL.
2003-10-21 02:11:21 +00:00
fvdl
cf96462927
Don't pass an integer as NULL.
2003-10-21 02:08:14 +00:00
christos
1bbc81a501
Let libedit handle signals so we resize properly. I might change my mind
...
later on that.
2003-10-19 19:13:21 +00:00
lukem
ddff99b7f4
rework to use the newer _MKMSGCREATE (et al) macros
2003-10-19 04:45:01 +00:00
lukem
1e840c4d40
Ensure that $TERM is set in the real environment before calling el_init(3)
...
when executing "set -o (emacs|vi)". Fixes [bin/23175] from me.
2003-10-19 01:55:05 +00:00
wiz
bbbbcbe44f
Fix typos in comments. From Jared Yanovich via jmc@openbsd.
2003-10-19 01:52:45 +00:00
lukem
a9d371700c
improve MAKEVERBOSE message for HOST_LINKed tools
2003-10-19 00:43:02 +00:00
lukem
29e7d09b65
Support MAKEVERBOSE (XXX: mksyntax is noisy when MAKEVERBOSE=0).
...
Use DPSRCS appropriately.
2003-10-19 00:35:26 +00:00
lukem
046b9ab451
support MAKEVERBOSE
2003-10-19 00:14:16 +00:00
lukem
51b9502fb1
Link the host tools against tools/compat -lnbcompat since someone decided to
...
use strlcpy() and snprintf() in the host tools...
Should fix part of [toolchain/22504], and build problems on other
platforms that don't have strlcpy() or snprintf()...
2003-10-18 07:58:35 +00:00
wiz
6c7baec4af
Add Xr for dev_mkdb(8), per PR 23168. Increase width in FILES section while here.
2003-10-16 10:00:54 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc
ed6ed8e698
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
dsl
13fd6f5a25
Fix rmdir -p x/y/z//
...
Remove redundant code.
2003-09-29 21:11:15 +00:00
dsl
b17e1b5c12
Fix 'set "*" b; case "* b" in "$@") ...' and 'set "*"; case 1 in "${#1}") ...'
...
Which got broken by the previous fix.
2003-09-22 12:17:24 +00:00
wiz
835710a2a0
Bump date for previous; comma cleanup.
2003-09-22 06:01:43 +00:00
jschauma
21ab633500
After last weeks addition of the '-b' flag, add '-B' and '-w' flags,
...
suggested by uwe@, inspired by FreeBSD. The three flags override
each other (and the '-q' flag) and behave as follows:
-B Force printing of non-printable characters in file names as
\xxx, where xxx is the numeric value of the character in octal.
-b As -B, but use C escape codes whenever possible.
-w Force raw printing of non-printable characters. This is the
default when output is not to a terminal.
2003-09-22 02:43:19 +00:00
itojun
7e1f466773
realloc pedant
2003-09-19 08:46:32 +00:00
itojun
c747caaab9
make signal range check consistent.
2003-09-19 05:31:11 +00:00
grant
0faf575771
wait for compression program to finish before exiting.
...
fix races condition resulting in a zero length archive after pax
exits.
patch from OpenBSD, provided by Joerg Sonnenberger in PR bin/22740.
2003-09-18 09:18:24 +00:00
jmmv
4c79e7620f
Drop equal signs from rule definitions; they cause problems with "bison -y".
2003-09-17 17:33:36 +00:00
christos
4dcb41ae2c
PR/22640: Paul Jarc: sh mishandles positional parameters in case. Fixed
...
from FreeBSD PR 56147.
2003-09-17 16:01:19 +00:00
wiz
fb2e1913c5
Bump date for previous.
2003-09-14 21:56:25 +00:00
jschauma
6a75fbb636
Following private discussion with kleink@ and hubertf@ and public discussion
...
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
jschauma
2ccef82cc4
Implement '-b' option, which, following FreeBSD, Linux and (I think) Solaris
...
prints octal escapes for nongraphic characters.
2003-09-14 19:16:05 +00:00
jmmv
0ec085e737
Add 'trace' to CLEANFILES, generated when debug is enabled.
2003-09-14 12:11:10 +00:00
jmmv
af90286087
Fix crash when DEBUG=2, by opening the log file ASAP. Reviewed by simonb@.
2003-09-14 12:09:29 +00:00
christos
e84c1029c6
Comment out unneeded code now that the kernel has been fixed to ignore
...
trailing slashes.
2003-09-11 17:38:12 +00:00
jmmv
e3d9d7109f
Add ':' to the list of characters to be escaped. Fixes completion problems
...
when the filename includes this character.
2003-09-11 10:24:57 +00:00
wiz
29119d0e3b
Reinstate paragraph about -E, sort option descriptions, and bump date for -E addition.
2003-09-08 13:13:08 +00:00
wiz
7554e5998d
Some more fixes: sort sections, escape some stuff for HTML output.
2003-09-08 13:02:59 +00:00
wiz
25eb7d566d
Improved version of OpenBSD's mdoc'ed version of ed(1) (v1.42).
2003-09-08 12:58:41 +00:00
wiz
a3390acd07
Punctuation improvement from jmc@openbsd.
2003-09-07 15:58:58 +00:00
wiz
6c3a1a5dfb
Some small tweaks from jmc@openbsd:
...
- .Bk/.Ek for SYNOPSIS
- .Ev for environment variables
- fix bogus -offsets
2003-09-06 16:39:34 +00:00
itojun
3efe781f15
plug memory leak. PR bin/22694
2003-09-05 20:16:50 +00:00
wiz
4157dbb127
Sort options (AaBb...).
2003-09-02 08:36:20 +00:00
wiz
5526319b35
In emacs mode, when expanding file names containing characters that should
...
get quoted with <ESC>*, _do_ quote them.
Patch from Federico Schwindt fgsch@openbsd -- thanks!
[rev 1.25 in OpenBSD version of this file]
2003-08-28 19:53:32 +00:00
wiz
9fdd63d776
From FreeBSD bug report 54294, via Jonathan Gray and then jmc@openbsd:
...
-l option to ls(1) gives all permissions, not just owner and group.
2003-08-28 19:44:09 +00:00
uwe
9267b09572
Include "config.h" if building as a host program.
...
Need this to get SIZE_MAX defintion from compat_defs.h on FreeBSD.
2003-08-27 18:36:19 +00:00
junyoung
523866566b
Add missing "."
2003-08-27 16:27:35 +00:00
jmmv
aba1ca99ae
Include strings.h, needed for index's prototype.
2003-08-26 18:14:24 +00:00
jmmv
6d82007582
Use '\0' instead of NULL in two checks (we are not checking for a pointer
...
value). While here, add a missing whitespace.
2003-08-26 18:13:25 +00:00
jmmv
5199a59afa
s/FD_SETFD/F_SETFD/
2003-08-26 18:12:33 +00:00
wiz
a420e618d0
Push (into yank buffer) words only if force_push is TRUE;
...
set force_push to TRUE in x_del_bword and x_del_fword.
Fixes behaviour where <meta-y> would put the previously yanked word in the yank buffer another time.
2003-08-26 09:06:50 +00:00
wiz
bd6ed3b8c1
From OpenBSD:
...
revision 1.21
date: 2003/08/02 19:26:15; author: fgsch; state: Exp; lines: +4 -2
On ESC-y ESC-y (yank-pop), also check that there is something to
insert (some text has been killed before). from otto@, fix bug report 3384.
On yank-pop error (no yank before), reset the index to killstack so
another yank-pop does not mangle the prompt if nothing was yanked, and
to avoid replacing a text when it shouldn't
(yank <something> yank-pop yank-pop).
otto@ ok.
2003-08-26 08:52:03 +00:00
wiz
a7f5601ea5
Allow single letters to be yanked, not only words of two or more letters.
2003-08-26 08:40:51 +00:00
wiz
77f8e9c131
Add 'return' statement (and whitespace) to sync with OpenBSD version
...
of the patch committed in v1.12.
2003-08-26 07:35:21 +00:00
wiz
ad30231fc4
From OpenBSD:
...
revision 1.18
date: 2003/08/22 18:17:10; author: fgsch; state: Exp; lines: +2 -2
in word location, fix forward scanning so it correctly account for any
escaped char and not only spaces.
for "foo (bar.a)" and "foo (bar a)", cd foo\ \(bar.<tab> will correctly
expand to foo\ \(bar.a\).
otto@ and pval@ ok.
2003-08-26 07:28:39 +00:00
wiz
80d20cd1d2
From OpenBSD:
...
revision 1.23
date: 2003/08/23 02:30:59; author: fgsch; state: Exp; lines: +2 -2
under emacs mode, fix the case when the globbed file and the longest
prefix lenghts are equal ("a .b" and "a ab" by instance).
found and tested by otto@.
2003-08-26 07:27:42 +00:00
jmmv
534b18e585
Move an assignment that was using a variable out of scope to fix a build
...
problem on !NetBSD.
2003-08-25 20:08:12 +00:00
kleink
aeaabe9fa8
This is a host tool, so for the time being change SIZE_T_MAX to the
...
more portable SIZE_MAX; partially addresses PR toolchain/22504 from
Christian Limpach.
2003-08-25 16:38:55 +00:00
wiz
ffdf32a762
From OpenBSD:
...
date: 2000/11/21 22:41:03; author: millert; state: Exp; lines: +2 -1
Add missing break that broke 'kill -s SIGNAME', bug report #1495
Fix from Hiroyuki.HORINOKUCHI@nrj.ericsson.se
2003-08-25 13:23:59 +00:00
cb
5f734a1850
fix a race condition between path resolution in userland
...
and the subsequent namei(): inform the kernel portion of
valid filenames and then disallow symlink lookups for
those filenames by means of a hook in namei().
with suggestions from provos@
also, add (currently unused) seqnr field to struct
systrace_replace, from provos@
2003-08-25 09:12:42 +00:00
itojun
59a105b48a
remove \r (agc, are you using MS-DOS?)
2003-08-22 14:21:12 +00:00
agc
3538d2653b
Move 4 more files from UCB 4 clause to 3 clause licence.
...
Thanks to Julio Merino for pointing them out.
2003-08-22 11:22:23 +00:00
christos
e9a8269bb0
remove clause 3
2003-08-21 17:57:53 +00:00
jschauma
ca5d0a41d2
Fix two more memory leaks found by Hubert Feyrer.
2003-08-21 04:30:25 +00:00
jschauma
39ff49f1b4
Fix memory leak noted by Hubert Feyrer in private email.
...
Patch by Hubert Feyrer as well, OK by kleink.
(I'm just fixing it b/c it's my fault to begin with.)
2003-08-20 14:25:54 +00:00
kleink
5d98794ef5
Minor KNF nit from rev. 1.13.
2003-08-20 10:43:55 +00:00
itojun
e0e82d2080
typo
2003-08-20 01:28:44 +00:00
itojun
ce5d37eae2
use bounded string op
2003-08-13 07:34:09 +00:00
itojun
e1e0321817
use bounded string op
2003-08-13 02:51:20 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
erh
e5f16a4651
Include stdlib.h so EXIT_FAILURE is defined.
2003-08-05 14:55:03 +00:00
jschauma
458ed23412
As discusses a little while back on tech-userlevel:
...
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
provos
ab6fc8a1fd
fixed contrived race condition during attachment; from marius@monkey.org
2003-08-02 14:45:08 +00:00
provos
037feaaf20
avoid warning due to name collision.
2003-08-02 14:34:35 +00:00
provos
2e1af85ab0
normalize CWD for cases where CWD has a symlink in it. should solve
...
problems where CWD policies would not match.
2003-08-02 14:31:10 +00:00
provos
08ab84f25d
introduce normalize filename function.
2003-08-02 14:29:33 +00:00
provos
43914d5f2f
change CWD handling. CWD is fixed to the CWD of the systrace process.
2003-08-02 14:24:30 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem
8ecf6c5100
revert previous; lossage was caused by local makefile changes
2003-08-01 11:09:38 +00:00
lukem
913e4f842e
add explit dependency for lex.c on parse.h
2003-08-01 10:49:26 +00:00
provos
5edbacc575
escape \n and \r, too
2003-08-01 06:15:02 +00:00
provos
4cd77cec75
get rid of unnecessary groupnames array
2003-08-01 05:42:48 +00:00
lukem
d2fa162324
move ${DEPENDSRCS} target to after .include <bsd.*.mk>
2003-07-29 01:34:16 +00:00
lukem
eb51573bd7
Use ${DEPENDSRCS} as a target instead of .depend, now that
...
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
itojun
e45b6fad8e
include des.h, not kerberosIV/des.h
2003-07-23 21:10:36 +00:00
itojun
e63468d8cc
split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
...
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00
mrg
2512e501f0
note -z is an extention.
2003-07-19 05:43:54 +00:00
lukem
f994b2252e
doc2html works here now, so remove NOHTML
2003-07-18 02:18:57 +00:00
lukem
82541d904a
doc2html works here now, so remove NOHTML=
...
(not that it worked here, because NOHTML= was provided *after* <bsd.own.mk>...)
2003-07-18 02:18:49 +00:00
wiz
3013c9b400
cpu -> CPU.
2003-07-14 08:58:12 +00:00
itojun
a69cd45b93
use bounded string op
2003-07-13 08:31:13 +00:00
itojun
6950184129
use bounded string op
2003-07-13 08:23:39 +00:00
simonb
ec137f4f6b
Bump ifree/iused field width.
2003-07-12 15:58:54 +00:00
itojun
032ed69f9a
strlcpy
2003-07-12 13:23:55 +00:00
lukem
001c68bd94
Rename a large chunk of the make(1) variables which refer to a
...
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz
b65146bf4a
Bump date for -O change.
2003-07-09 14:42:16 +00:00
simonb
1301238ab7
Add support for gnutar's -O "extract to stdout" option.
2003-07-08 06:00:48 +00:00
wiz
face0e9a82
Cm Fl -> Fl.
2003-07-01 10:24:41 +00:00
wiz
5127f8f2c1
Quote some punctuation.
2003-06-27 09:11:12 +00:00
christos
d1a05abed1
Revert previous change, and fix the -T problem differently: When the options
...
of the second argument are exhausted, call the appropriate getopt() routine
to process the rest of the arguments instead of finishing option processing.
Fixes:
tar cf - -T foo
2003-06-24 16:23:31 +00:00
grant
a47ed375c9
backout previous; it was a missing prototype elsewhere.
...
noted by mrg.
2003-06-24 08:27:30 +00:00
grant
8560ab3c2b
add cast to fix an integer -> pointer warning.
2003-06-24 06:41:51 +00:00
grant
d884498b98
no need for HAVE_LCHOWN and HAVE_LCHMOD anymore.
2003-06-23 13:33:15 +00:00
christos
051ff2c46c
Simplify the way we deal with old argument style. Old way was broken when
...
tar cf - -T dir
2003-06-23 13:15:15 +00:00
christos
6ebfa08f43
spelling
2003-06-23 13:14:43 +00:00
grant
9432809ee1
consistently use "cannot" instead of "can not".
2003-06-23 13:06:53 +00:00
agc
6377cac711
Add NetBSD RCS Ids.
2003-06-23 11:38:51 +00:00
perry
30b25d1cca
ANSIfy, from Petri Koistinen in PR 13975
2003-06-16 17:22:00 +00:00
provos
2268d69749
support for a new kernel message that informs userland that an in-kernel
...
policy has been freed. this allows us to enforce the kernel policy size
limit for users while users are still able to execute an arbitary number
of applications; the protocol change is backwards compatible.
2003-06-03 04:33:44 +00:00
provos
c57cb7fe98
escape " and \ to \" and \\; with the help of marius@monkey.org;
2003-06-03 01:20:06 +00:00
provos
70f2418ba2
do not free memory that still may be referenced later
2003-06-01 00:12:34 +00:00
simonb
ae46649fa5
Pass a NULL to getbsize() for any arguments that aren't needed, and
...
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
lukem
9014bdbce6
* Document $RCMD_CMD in environ(7).
...
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.
Should fix [bin/21670] from Geoff Wing.
2003-05-26 10:18:39 +00:00
wiz
8361a7103e
Sync usage with man page.
2003-05-21 06:26:07 +00:00
wiz
9d0fdf5d2a
Replace < and > with \*[Lt] and \*[Gt] resp. for HTML output.
...
Sort options. Bump date for last.
2003-05-21 06:23:29 +00:00
provos
bd80d3ced7
permit numberic values for uid and gid; allow "<" and ">" for less and
...
greater; requested by dugsong
2003-05-20 22:45:13 +00:00
lukem
826a14607a
Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
...
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
dsl
a9fc176e82
Don't close any script files if vfork is set.
...
If a fork() is done later in order to feed a 'here' document into a pipe
then it is possible that one end of the pipe might get closed.
2003-05-15 13:26:45 +00:00
dsl
49e6852272
Fix problems with parallel makes.
2003-05-15 10:13:36 +00:00
dsl
6285ef062c
Use echo instead of cat to add prologue to builtins.[ch]
...
Under some circumstances the headers got overwritten.
2003-05-15 10:11:01 +00:00
kleink
7c8d837e74
If both -g and -l options are present, let -l take precedence over -g,
...
as requested by several users.
POSIX-2001 is unclear on conflicting option letters as far as the -g
option is concerned; a clarification request will be made.
Addresses PR bin/21519 by Geoff Wing.
2003-05-11 08:06:01 +00:00
lukem
17887a5d2c
#ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
...
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
2003-05-09 01:09:13 +00:00
itojun
f703f13276
use sizeof for safety
2003-05-09 00:56:56 +00:00
christos
dd61e68e1f
Use ${HOST_SH}
2003-05-08 13:03:19 +00:00
simonb
7efb28b165
Add a FALLTHROUGH to keep lint happy.
2003-05-07 13:23:32 +00:00
grant
75d0e9d0c0
make -g behave as it should according to SUSv3 (long listing without
...
owner).
ok'd by kleink@.
2003-05-07 13:00:24 +00:00
wiz
4b68a236c9
Fix completion of files containing #. From Soren Jacobsen in PR 21486.
2003-05-07 06:39:08 +00:00
wiz
c31c26034b
Add ` (backquote) to quoted characters for completion. From fgsch@openbsd.
...
Okayed by christos.
2003-05-06 11:34:01 +00:00
wiz
f0b76593e4
Drop trailing space.
2003-05-06 08:33:08 +00:00
dsl
534ba36ad4
Recognise octal and hexadecimal constants in expressions.
...
- as required by SUSv3
2003-05-06 08:10:42 +00:00
gmcgarry
5e5ffccb2b
ANSIify.
2003-05-04 06:36:50 +00:00
gmcgarry
f8d2e9e189
Add new builtin 'inputrc' which allows keybindings to be redefined
...
for the current shell. From Arne H Juul in PR#10097.
2003-05-04 01:05:24 +00:00
gmcgarry
62bb6faae3
Expand documentation of emacs and vi modes. From
...
Jeremy C. Reed in PR#14578.
2003-05-02 09:00:14 +00:00
wiz
dcc13ddb7d
Some grammar and punctuation fixes from jmc@openbsd.
2003-05-01 13:50:58 +00:00
provos
4a6e1b3b24
fix EOF on input bug; from mpech@prosoft
2003-04-23 17:44:59 +00:00
christos
d0fa76e947
PR/21253: Manuel Bouyer: cpio should never descend on a directory; even on
...
the first one.
2003-04-21 22:10:10 +00:00
christos
c59371a05d
PR/6195: Matt Watson: Pax fails for paths of exactly 100 characters.
...
make sure that we don't strlcpy more than the source buffer.
2003-04-20 21:41:52 +00:00
grant
eff007b21e
add -g to ENVIRONMENT.
2003-04-18 12:49:12 +00:00
grant
6321639a84
change -G arg to -g.
...
-G was chosen as SuSv2 specified -g was already used in ls(1), but ls
has no blocksize options like df/du, so this was redundant.
bump date in man page.
2003-04-18 12:48:25 +00:00
lukem
6d7ad1a836
clear errno before strtol() if we're going to test it for ERANGE afterwards
2003-04-17 02:54:07 +00:00
grant
a1dd31060d
add -G argument for output in gigabytes.
...
ok'd by perry@, mrg@
2003-04-16 14:00:30 +00:00
grant
8e37d38a09
grammar fix.
2003-04-16 13:17:52 +00:00
grant
f3014f2c17
sync usage args with reality.
2003-04-16 12:57:24 +00:00
wiz
99193808f4
Bump date for last.
2003-04-16 12:41:36 +00:00
wiz
8dda1d8092
Use Dq and Sq. Drop a trailing space.
2003-04-16 10:17:26 +00:00
wiz
dba2557a54
More mdoc.
2003-04-16 09:19:35 +00:00
itojun
a18a285e73
need 11 chars for %u. Peter Valchev
2003-04-16 08:07:51 +00:00
itojun
674baed7e1
misuse of strncpy. PR 21201 from Christian Biere.
2003-04-16 07:10:00 +00:00
itojun
e6a384fc32
%d is 12 chars, not 10 chars. hinted by deraadt
2003-04-15 07:40:56 +00:00
zuntum
1a2ec1a713
add missing parenthesis
2003-04-12 16:39:19 +00:00
grant
900b115e8d
some mdoc fixes.
2003-04-10 06:07:40 +00:00
provos
7685de2195
use LOGIN_NAME_MAX instead of MAXLOGNAME; closes pr/21048
2003-04-09 17:50:08 +00:00
christos
c8921f6410
PR/21064: Perry Metzger: Re-add -k to tar (--keep-old-files)
2003-04-08 15:13:10 +00:00
wiz
ef0b6f6662
Bump date for last.
2003-04-05 09:14:01 +00:00
fair
eb1f0e9546
Additional text & formatting for the csh "limit" command;
...
hopefully this satisfies PR 11658
2003-04-05 00:59:20 +00:00
wiz
6457ab4776
Remove sentence describing pax's -X option. From Jim Bernard in PR 21009.
2003-04-04 19:19:43 +00:00
christos
051306e25d
PR/18959: Xavier HUMBERT: Don't pay attention to sockets in gnu-tar mode.
2003-03-31 20:30:28 +00:00
christos
00e1c042e9
Detect and report end of archive properly ala' gnu tar.
2003-03-31 20:24:52 +00:00
christos
a0dbdefc9c
PR/20495: Soren Jacobsen: Add -j [bzip2] compression to tar.
2003-03-31 20:10:08 +00:00
christos
2cdcd6cab2
RP/8227: Peter Seeback: Emulate old gnu tar better.
2003-03-31 20:06:33 +00:00
wiz
55d7364ddb
PDP-11 instead of PDP 11.
2003-03-30 20:52:51 +00:00
perry
d58dcfa722
Pdp 11 -> PDP 11, from Igor Sobrado in PR 19670
2003-03-29 18:46:42 +00:00
perry
423759aaf3
reimplementation -> re-implementation
2003-03-29 18:38:48 +00:00
perry
83237da0b1
spelling errors, some from Igor Sobrado in PR 19670
2003-03-29 18:25:22 +00:00
perry
0dd5b455ae
matche->match, from Igor Sobrado in PR 19670
2003-03-29 18:11:29 +00:00
perry
18dec071dc
occurences->occurrences, from Igor Sobrado in PR 19670
2003-03-29 18:09:03 +00:00
atatat
55a73f6d52
mdkdir -> mkdir
2003-03-26 17:00:57 +00:00
provos
e3cb39834b
mention "parse error" on stdout for interactive policy generation
2003-03-26 03:40:02 +00:00
provos
a2468a8d04
new "ask" action. creates a new rule that prompts the user for an
...
action but allows only yes or no answer. inspired from talking
with dugsong@monkey
2003-03-25 23:17:29 +00:00
provos
5173f83708
recognize process group pid
2003-03-25 23:15:22 +00:00
provos
488a952788
better -c parsing; from camiel@sentia
2003-03-25 23:04:48 +00:00
provos
66570390e4
More details and a few improvement for style. from ian@darwinsys
2003-03-25 23:00:05 +00:00
provos
2b37f26aed
mkdir requires unlinkname as a translator; unlinkname does not return
...
<non-existent filename> errors any longer.
2003-03-25 22:58:24 +00:00
provos
f605994ea3
rename was using an incorrect translation.
2003-03-25 22:54:59 +00:00
provos
887e433ee2
bug in profile feedback optimization; found by dirt@monkey
2003-03-25 22:48:42 +00:00
kristerw
b225d94754
Fix some typos noted by Soren Jacobsen in PR 20793.
2003-03-22 12:13:03 +00:00
kristerw
7fee304b15
Change "if" to "if and only if" per discussion in PR 20794.
2003-03-22 11:37:49 +00:00
wiz
2df55409df
Update date for recent changes.
2003-03-17 08:15:07 +00:00
lukem
d3e7b00142
Fix typo in mkpath()'s test before chmod().
...
Noted in [bin/20652] by Anthony Mallet.
2003-03-10 23:33:10 +00:00
lukem
c61fa8df18
If building as a CRUNCHEDPROG, use "lex -L" and "yacc -l" to suppress #line
...
generation. This may solve [bin/20637].
2003-03-10 17:58:21 +00:00
dsl
b44ef110a7
Support -ktt and -ktty, quote "tdev" in comment so table can be sorted.
2003-03-08 08:04:24 +00:00
christos
5998d3b278
XXX: cast tdev to INT32 instead of UINT32 so that that sorting works as
...
before [NODEV entries come first]
2003-03-08 06:46:22 +00:00
dsl
f24cb25605
- add keywords for utime, stime and ctime (output sss.ssssss if small)
...
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
specified,
(approved by christos)
2003-03-06 09:04:21 +00:00