Date: Tue, 10 Apr 2001 16:16:55 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xargs xargs.1 Message-ID: <200104102316.f3ANGtB15951@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104102316.f3ANGtB15951>
