Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   pooka
Date:           Thu Feb 17 15:13:49 UTC 2011

Modified Files:
        src/bin/sh: cd.c eval.c input.c redir.c redir.h

Log Message:
Tell copyfd if the caller wants the exact tofd to just fd >= tofd.
Fixes "echo foo > /rump/bar" in a rump hijacked shell.

reviewed by christos


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/bin/sh/cd.c
cvs rdiff -u -r1.100 -r1.101 src/bin/sh/eval.c
cvs rdiff -u -r1.43 -r1.44 src/bin/sh/input.c
cvs rdiff -u -r1.30 -r1.31 src/bin/sh/redir.c
cvs rdiff -u -r1.15 -r1.16 src/bin/sh/redir.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index