Date: Tue, 27 Nov 2001 19:26:58 -0800 (PST) From: "John W. De Boskey" <jwd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys imgact.h src/sys/kern imgact_shell.c src/lib/libc/sys execve.2 Message-ID: <200111280326.fAS3QwF01257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jwd 2001/11/27 19:26:58 PST
Modified files:
sys/sys imgact.h
sys/kern imgact_shell.c
lib/libc/sys execve.2
Log:
Return a more meaningful errno when the length of the interpreter
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.
Update execve man page to reflect change.
Increase MAXSHELLCMDLEN to a slightly more meaningful value.
PR: kern/32106
Submitted by: b@etek.chalmers.se
Reviewed by: bsd
MFC after: 2 weeks
Revision Changes Path
1.30 +3 -0 src/lib/libc/sys/execve.2
1.23 +2 -2 src/sys/kern/imgact_shell.c
1.25 +2 -2 src/sys/sys/imgact.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111280326.fAS3QwF01257>
