Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-10-16 | Buffers 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-15 | errx -> err. From form. | Mike Pechkin | |
millert@ ok | |||
2003-10-10 | The special case code for "test -x" over NFS was incorrect. The | Todd 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-08 | originally from cb@openbsd.org, adapted by provos | Nikolay 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-26 | free(NULL) works; jjy2+@pitt.edu | Theo de Raadt | |
2003-09-26 | free(NULL) is valid | Theo de Raadt | |
2003-09-25 | Fix a bug where one byte past the end of a buffer could be touched | Todd C. Miller | |
in certain cases; closes PR 3163 | |||
2003-09-25 | replace .Em with more appropriate macros. some other cleanup; | Jason McIntyre | |
2003-09-24 | realloc fix; ho ok | Theo de Raadt | |
2003-09-24 | realloc fixes; ok ho matthieu | Theo de Raadt | |
2003-09-24 | realloc 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-19 | When 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-08 | fix pr3455 from Joerg.Sonnenberger. slightly improved fix suggested by | Ted Unangst | |
millert@. ok beck@ deraadt@ millert@ | |||
2003-09-04 | escapes in the wrong place; | Jason McIntyre | |
2003-09-04 | - use .Bk/.Ek | Jason McIntyre | |
- kill bogus -offsets - escape `-' - .Ev for environment variables | |||
2003-09-02 | escape punctuation; | Jason McIntyre | |
ok deraadt@ | |||
2003-09-01 | In emacs editing mode, ksh by default interprets a set 8th bit as | Christian 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-01 | fix perl path. not that anyone uses this, but.. | Federico G. Schwindt | |
2003-08-27 | rename force_push to something more sensible. | Federico G. Schwindt | |
2003-08-27 | escape 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-26 | fix backward and forward delete; from wiz@netbsd.org. many thanks. | Federico G. Schwindt | |
2003-08-23 | teach systrace about "aout" emul; henning@ ok. | Federico G. Schwindt | |
2003-08-23 | under emacs mode, fix the case when the globbed file and the longest | Federico G. Schwindt | |
prefix lenghts are equal ("a .b" and "a ab" by instance). found and tested by otto@. | |||
2003-08-22 | in word location, fix forward scanning so it correctly account for any | Federico 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-20 | spelling; e@molioner.dk | Theo de Raadt | |
2003-08-16 | more errx/warnx style \n errors; tom.cosgrove@arches-consulting.com | Theo de Raadt | |
2003-08-11 | I can not reproduce the ksh -O1 issues anymore on mvme88k with the latest | Miod Vallat | |
snapshot, so stop disabling optimization. | |||
2003-08-08 | Enable 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-08 | use sizeof with strlcpy() when possible; it is less error prone. | Todd C. Miller | |
From Patrick Latifi; ok avsm@ and krw@ | |||
2003-08-07 | plug some obvious memory leaks; Patrick Latifi | Todd C. Miller | |
2003-08-06 | Remove 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-05 | Don't allow alloc() and aresize() to fail. Their return value was | Todd 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-04 | several diffs from Niels as applied to NetBSD | Nikolay 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-02 | don't push things unless force is true; avoid adding text again on yank-pop. | Federico G. Schwindt | |
2003-08-02 | On ESC-y ESC-y (yank-pop), also check that there is something to | Federico 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-31 | typo; | Jason McIntyre | |
2003-07-30 | clarify use of eject on an empty cdrom drive. (eject /dev/rcd0c) | Ted Unangst | |
ok jmc@ | |||
2003-07-29 | install ed advanced tutorial papers; | Jason McIntyre | |
some minor changes; ok mickey@ | |||
2003-07-29 | spacing | Theo de Raadt | |
2003-07-28 | sync floppy dd example with the real world | Todd T. Fries | |
ok deraadt@ jmc@ | |||
2003-07-28 | rcsid should say openbsd | Ted Unangst | |
2003-07-27 | USD docs for ed are 9-10, not 12,13; | Jason McIntyre | |
2003-07-27 | `p' can be interrupted; my mistake. | Jason McIntyre | |
2003-07-26 | install ed tutorial papers; | Jason McIntyre | |
very minor modifications, but get rid of the ugly 2-column display; ok mickey@ | |||
2003-07-25 | another kerberos bit that's obsolete; | Jason McIntyre | |
2003-07-25 | delete obsolete kerberos sections; | Jason McIntyre | |
ok hin@ | |||
2003-07-21 | Fix typo: unsigned -> unsigned char; from Thorsten Glaser | Todd C. Miller | |
2003-07-19 | - sync with NetBSD or Niels' tarball where appropriate | Nikolay Sturm | |
- keeps local changes - fixes a bug in profile feedback optimization and avoids symbol conflicts with errno - new feature: "ask" action itojun@ ok |