On Fri, 29 Feb 2008, Michael Kerrisk wrote:Well, what I have tried to argue is that even if they care, the patch won't actually really help. It just moves existing behaviour around a bit, but leaves all the fundamental issues totally untouched in that it may count the strings, but not the pointers themselves etc. More importantly, anybody who would depend on any new behaviour would still be screwed on all other platforms - including older Linux ones - in that they'd depend on some very specific behaviour that simply isn't going to be there in other cases. So yeah, I can see that people could care, but they *shouldn't*. Very few reasonably can. The thing is, in order to care, you have to count things like your own environment space etc, and you have to know that there is something you can even *do* about it if the counts go wrong. So in practice, I think it's just about things like "xargs" and very few actual applications. I did try to do a google codesearch on "sysconf(_SC_ARG_MAX)" and it exists, but there wasn't a whole lot. The most logical one (and the one that didn't prefer the ARG_MAX #define) was the built-in xargs in ksh. But I really didn't look very hard, just a few screenfuls of codesearch. Realistically, "xargs" really is the main user. *Most* users of execve() simply either want all their arguments or none. It's not that common that somebody says "ok, I have a ton of arguments, but if you limit them I'll just use a fraction of them". Linus --
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.25-rc4 |
| Greg KH | Linux 2.6.25.10 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Ilpo Järvinen | Re: Strange Application bug, race in MSG_PEEK complaints (was: Bug#513695: fetchma... |
