From owner-cvs-all Tue Apr 10 16:17: 1 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 9E98137B423; Tue, 10 Apr 2001 16:16:55 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3ANGtB15951; Tue, 10 Apr 2001 16:16:55 -0700 (PDT) (envelope-from brian) Message-Id: <200104102316.f3ANGtB15951@freefall.freebsd.org> From: Brian Somers Date: Tue, 10 Apr 2001 16:16:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xargs xargs.1 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/04/10 16:16:55 PDT Modified files: usr.bin/xargs xargs.1 Log: o The -s limit is ARG_MAX - 4K, not ARG_MAX - 2K. o Mention that the current environment is part of the -s calculation. o Add a BUGS section that warns against executing a program that increases the size of the argument list or the size of the environment. I have wondered for a while what the difference is between get a big list | xargs sudo command which fails and get a big list | sudo xargs command which succeeds. The answer is that in the first case, sudo expands the environment and pushes the amount of data passed into execve over the E2BIG threshold. Revision Changes Path 1.11 +15 -5 src/usr.bin/xargs/xargs.1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message