commit | 535f03b4e6b8a7ecea469053b1355b20e3bfc036 | [log] [tgz] |
---|---|---|
author | nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Feb 15 15:32:51 2004 +0000 |
committer | nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Feb 15 15:32:51 2004 +0000 |
tree | 9b23900f99acc5f566ebc255fbd6f30f733eeba5 | |
parent | a4c33c61ecc6c6dbc593658f08a3a95bb33fb655 [diff] |
This patch fixes getrlimit(RLIMIT_FILENO) to return VG_(max_fd) as the soft limit for file descriptors to try and prevent the target programming realising that the reserved file descriptors exist. It also appears to fix sysconf(_SC_OPEN_MAX) so that must be going through the same system call. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2250 a5019735-40e9-0310-863c-91ae7b9d1cf9