From owner-cvs-all Tue Nov 27 19:27: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6910437B416; Tue, 27 Nov 2001 19:26:58 -0800 (PST) Received: (from jwd@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAS3QwF01257; Tue, 27 Nov 2001 19:26:58 -0800 (PST) (envelope-from jwd) Message-Id: <200111280326.fAS3QwF01257@freefall.freebsd.org> From: "John W. De Boskey" Date: Tue, 27 Nov 2001 19:26:58 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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