On Fri, 29 Feb 2008, Michael Kerrisk wrote:We *do* know for sure that the relationship has always been there. At least in Linux, and I bet in 99% of all other Unixes too. The arguments simply have traditionally been counted as part of the stack size. Or did you mean the latter part? The fact is, we *also* know for sure that anybody that depends on _SC_ARG_MAX being exact has always - and will continue to be - broken. Again, because of not only older kernels but also because even with the patch in question, we don't count argument sizes exactly. I do agree that we should at least make the "MAX(stacksize/4, 128k)" change for backwards compatibility. That is actually a potential regression, but it has nothing to do with a new _SC_ARG_SIZE, because quite frankly, it's a regression *regardless* of whether we'd expose a new rlimit or not! And one of the reasons I'm so down on new resource limits is that nobody then has the code to actually update them. You won't see it in "ulimit -a" until you have a newly compiled bash that cares etc etc, so as far as I'm concerned, I see hat RLIMIT_ARG_MAX as nothing but a pain. It actually makes the code more complex, makes it work less like we and others have *always* worked, and doesn't even help users - quite the reverse. I don't like unnecessary complexity. If the RLIMGI_STACK/4 check is truly so troublesome, let's just *remove* it, rather than add more crap and complexity on top of it! Problem solved. Linus --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Riki Oktarianto | [PATCH] Add quirk to set AHCI mode on ICH boards |
| Alex Chiang | [PATCH v5 00/16] PCI: let the core manage slot names |
git: | |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Toby White | Using Filemerge.app as a git-diff viewer |
| Sam Vilain | [PATCH] git-mergetool: add support for ediff |
| Adrian Bunk | git-revert is a memory hog |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Stephan A. Rickauer | Re: New tcp stack attack |
| Richard Stallman | Real men don't attack straw men |
| Ondřej Surý | openbgp not exporing ipv6 to routing tables |
| Michael Chan | [PATCH net-next 2/6] bnx2: Check netif_running() in all ethtool operations. |
| Herbert Xu | Re: xfrm_state locking regression... |
| adobriyan | [PATCH 10/38] netns ct: per-netns expectations |
| Dale Farnsworth | Re: [PATCH 01/39] mv643xx_eth: reverse topological sort of functions |
| How to make my PCIE ATA storage device running in Linux | 7 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 11 hours ago | Linux kernel |
| Shared swap partition | 11 hours ago | Linux general |
| usb mic not detected | 16 hours ago | Applications and Utilities |
| Problem in Inserting a module | 17 hours ago | Linux kernel |
| Treason Uncloaked | 22 hours ago | Linux kernel |
| high memory | 3 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
