Revision df88912a2165f56a7402db80126cf8ea075221fe authored by Andrew Morton on 20 May 2006, 22:00:01 UTC, committed by Linus Torvalds on 21 May 2006, 19:59:17 UTC
Bernd Schmidt points out that binfmt_flat is now leaving the exec file open while the application runs. This offsets all the application's fd numbers. We should have closed the file within exec(), not at exit()-time. But there doesn't seem to be a lot of point in doing all this just to avoid going over RLIMIT_NOFILE by one fd for a few microseconds. So take the EMFILE checking out again. This will cause binfmt_flat to again fail LTP's exec-should-return-EMFILE-when-fdtable-is-full test. That test appears to be wrong anyway - Open Group specs say nothing about exec() returning EMFILE. Cc: Bernd Schmidt <bernd.schmidt@analog.com> Cc: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 48d7055
File | Mode | Size |
---|---|---|
atlas_defconfig | -rw-r--r-- | 25.8 KB |
bigsur_defconfig | -rw-r--r-- | 18.0 KB |
capcella_defconfig | -rw-r--r-- | 16.1 KB |
cobalt_defconfig | -rw-r--r-- | 17.1 KB |
db1000_defconfig | -rw-r--r-- | 19.7 KB |
db1100_defconfig | -rw-r--r-- | 20.0 KB |
db1200_defconfig | -rw-r--r-- | 20.9 KB |
db1500_defconfig | -rw-r--r-- | 25.8 KB |
db1550_defconfig | -rw-r--r-- | 22.6 KB |
ddb5476_defconfig | -rw-r--r-- | 17.3 KB |
ddb5477_defconfig | -rw-r--r-- | 16.0 KB |
decstation_defconfig | -rw-r--r-- | 15.8 KB |
e55_defconfig | -rw-r--r-- | 11.4 KB |
ev64120_defconfig | -rw-r--r-- | 15.9 KB |
ev96100_defconfig | -rw-r--r-- | 14.5 KB |
ip22_defconfig | -rw-r--r-- | 22.1 KB |
ip27_defconfig | -rw-r--r-- | 18.9 KB |
ip32_defconfig | -rw-r--r-- | 17.7 KB |
it8172_defconfig | -rw-r--r-- | 16.9 KB |
ivr_defconfig | -rw-r--r-- | 16.0 KB |
jaguar-atx_defconfig | -rw-r--r-- | 14.2 KB |
jmr3927_defconfig | -rw-r--r-- | 16.6 KB |
lasat200_defconfig | -rw-r--r-- | 18.9 KB |
malta_defconfig | -rw-r--r-- | 27.0 KB |
mipssim_defconfig | -rw-r--r-- | 15.8 KB |
mpc30x_defconfig | -rw-r--r-- | 19.0 KB |
ocelot_3_defconfig | -rw-r--r-- | 22.3 KB |
ocelot_c_defconfig | -rw-r--r-- | 15.7 KB |
ocelot_defconfig | -rw-r--r-- | 14.5 KB |
ocelot_g_defconfig | -rw-r--r-- | 15.7 KB |
pb1100_defconfig | -rw-r--r-- | 19.6 KB |
pb1500_defconfig | -rw-r--r-- | 22.5 KB |
pb1550_defconfig | -rw-r--r-- | 22.3 KB |
pnx8550-jbs_defconfig | -rw-r--r-- | 23.4 KB |
pnx8550-v2pci_defconfig | -rw-r--r-- | 29.0 KB |
qemu_defconfig | -rw-r--r-- | 12.8 KB |
rbhma4500_defconfig | -rw-r--r-- | 27.7 KB |
rm200_defconfig | -rw-r--r-- | 32.1 KB |
sb1250-swarm_defconfig | -rw-r--r-- | 16.6 KB |
sead_defconfig | -rw-r--r-- | 10.3 KB |
tb0226_defconfig | -rw-r--r-- | 19.9 KB |
tb0229_defconfig | -rw-r--r-- | 17.4 KB |
tb0287_defconfig | -rw-r--r-- | 22.6 KB |
workpad_defconfig | -rw-r--r-- | 15.6 KB |
yosemite_defconfig | -rw-r--r-- | 14.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...