summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2003-10-18typos from Jared Yanovich;Jason McIntyre
2003-10-18typos in comments;Jason McIntyre
from Jared Yanovich
2003-10-17Xr dev_mkdb(8); from Tyler R. Retzlaff (NetBSD PR 23168);Jason McIntyre
ok deraadt@
2003-10-16Buffers are not strings so use memcpy(), not strlcpy() to copy them.Todd C. Miller
Found by danh@ with JG malloc options. I've also added some further bounds checks in the name of paranoia. Tested by danh and others.
2003-10-15errx -> err. From form.Mike Pechkin
millert@ ok
2003-10-10The special case code for "test -x" over NFS was incorrect. TheTodd C. Miller
right thing to do is to try access(2) first (since that occurs on the NFS server side) and only check for the absence of an execute bit when access(2) succeeds. Closes PR 3465
2003-10-08originally from cb@openbsd.org, adapted by provosNikolay Sturm
itojun@ ok 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-09-26free(NULL) works; jjy2+@pitt.eduTheo de Raadt
2003-09-26free(NULL) is validTheo de Raadt
2003-09-25Fix a bug where one byte past the end of a buffer could be touchedTodd C. Miller
in certain cases; closes PR 3163
2003-09-25replace .Em with more appropriate macros. some other cleanup;Jason McIntyre
2003-09-24realloc fix; ho okTheo de Raadt
2003-09-24realloc fixes; ok ho matthieuTheo de Raadt
2003-09-24realloc fixes: unallocate for next use if realloc fixes; do not incr size;Theo de Raadt
do not p = realloc(p, ...; ok from ho, cloder
2003-09-19When sanity checking signal numbers, error out on signal >= NSIG,Todd C. Miller
not > NSIG. This makes cvs give a nice error message for "kill -NSIG 666" instead of EINVAL. From aaron@monkey.org.
2003-09-08fix pr3455 from Joerg.Sonnenberger. slightly improved fix suggested byTed Unangst
millert@. ok beck@ deraadt@ millert@
2003-09-04escapes in the wrong place;Jason McIntyre
2003-09-04 - use .Bk/.EkJason McIntyre
- kill bogus -offsets - escape `-' - .Ev for environment variables
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-09-01In emacs editing mode, ksh by default interprets a set 8th bit asChristian Weisgerber
meta prefix, i.e. all characters with the top bit set (>= 0x80) are taken as commands and cannot be entered literally. Introduce a new shell option, emacs-usemeta, that allows to toggle this behavior. The default is the traditional behavior; to enter 8-bit characters use "set +o emacs-usemeta". ok fgsch@, henning@
2003-09-01fix perl path. not that anyone uses this, but..Federico G. Schwindt
2003-08-27rename force_push to something more sensible.Federico G. Schwindt
2003-08-27escape on expand under emacs mode; otto@ ok.Federico G. Schwindt
2003-08-27-l and -n options display owner, group and other permissions;Jason McIntyre
from Jonathan Gray via FreeBSD PR 54294;
2003-08-26fix backward and forward delete; from wiz@netbsd.org. many thanks.Federico G. Schwindt
2003-08-23teach systrace about "aout" emul; henning@ ok.Federico G. Schwindt
2003-08-23under emacs mode, fix the case when the globbed file and the longestFederico G. Schwindt
prefix lenghts are equal ("a .b" and "a ab" by instance). found and tested by otto@.
2003-08-22in word location, fix forward scanning so it correctly account for anyFederico G. Schwindt
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-20spelling; e@molioner.dkTheo de Raadt
2003-08-16more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comTheo de Raadt
2003-08-11I can not reproduce the ksh -O1 issues anymore on mvme88k with the latestMiod Vallat
snapshot, so stop disabling optimization.
2003-08-08Enable the first level of compiler optimizations on mvme88k by default,Miod Vallat
now that is getting stable. ksh(1) still has to be builh at -O0 for now, though. ok deraadt@
2003-08-08use sizeof with strlcpy() when possible; it is less error prone.Todd C. Miller
From Patrick Latifi; ok avsm@ and krw@
2003-08-07plug some obvious memory leaks; Patrick LatifiTodd C. Miller
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-06-h, human readable sizes. from a jonathon gray mail to tech@Ted Unangst
ok ian@ millert@
2003-08-05Don't allow alloc() and aresize() to fail. Their return value wasTodd C. Miller
only checked in two place (both in conjunction with str_save). Upon malloc/realloc failure we call internal_errorf() which pops throws and error and pops back to the last good state. OK deraadt@ pval@ fgs@ Original problem noted by mickey@
2003-08-04several diffs from Niels as applied to NetBSDNikolay Sturm
monkey.org/NetBSD commit messages: - get rid of retarded CWD handling. CWD is fixed to the CWD of the systrace that started everything. - normalize file name function - normalize CWD for cases where CWD has a symlink in it. should solve problems where CWD policies would not match. - avoid warning due to name collision. - fixed contrived race condition during attachment; from marius@monkey.org itojun@ ok
2003-08-02don't push things unless force is true; avoid adding text again on yank-pop.Federico G. Schwindt
2003-08-02On ESC-y ESC-y (yank-pop), also check that there is something toFederico G. Schwindt
insert (some text has been killed before). from otto@, fix PR/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-07-31typo;Jason McIntyre
2003-07-30clarify use of eject on an empty cdrom drive. (eject /dev/rcd0c)Ted Unangst
ok jmc@
2003-07-29install ed advanced tutorial papers;Jason McIntyre
some minor changes; ok mickey@
2003-07-29spacingTheo de Raadt
2003-07-28sync floppy dd example with the real worldTodd T. Fries
ok deraadt@ jmc@
2003-07-28rcsid should say openbsdTed Unangst
2003-07-27USD docs for ed are 9-10, not 12,13;Jason McIntyre
2003-07-27`p' can be interrupted; my mistake.Jason McIntyre
2003-07-26install ed tutorial papers;Jason McIntyre
very minor modifications, but get rid of the ugly 2-column display; ok mickey@
2003-07-25another kerberos bit that's obsolete;Jason McIntyre