From 835bf8e0163b563e0d7a5cd8b435141d7a58b946 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 Aug 2000 04:40:02 +0000 Subject: Update. 2000-08-01 Mark Kettenis * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to sysdeps/unix/sysv/linux/i386/sys/procfs.h. Remove the junk that's only relevant in the Linux kernel itself. Add a warning saying that this file is now obsolete, and include . * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include , and . Remove parts of `struct elf_prstatus' that are #ifdef'ed out. Improve comments and add the notice that the file is primarily there for GDB. * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment. 2000-08-09 Jakub Jelinek * time/tzfile.c (__tzfile_compute): __tzstring zones from zone_names. 2000-08-09 Jakub Jelinek * resolv/resolv.h (__res_state): Surround prototype with __BEGIN_DECLS/__END_DECLS. * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. 2000-08-04 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): Make independant of asm/resource.h from the Linux kernel. 2000-08-06 Bruno Haible * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. 2000-08-06 Bruno Haible * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. * locale/Makefile (locale-CPPFLAGS): Likewise. 2000-08-09 Ulrich Drepper * sysdeps/i386/fpu/libm-test-ulps: Increase several error values for AMD processors. 2000-08-03 Jakub Jelinek * misc/Versions (mincore): Export at GLIBC_2.2. 2000-08-03 Bruno Haible * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. --- sysdeps/unix/sysv/linux/ia64/bits/resource.h | 44 +++++++--------------------- 1 file changed, 11 insertions(+), 33 deletions(-) (limited to 'sysdeps/unix/sysv/linux/ia64/bits/resource.h') diff --git a/sysdeps/unix/sysv/linux/ia64/bits/resource.h b/sysdeps/unix/sysv/linux/ia64/bits/resource.h index 877499765d..f9c454b0fb 100644 --- a/sysdeps/unix/sysv/linux/ia64/bits/resource.h +++ b/sysdeps/unix/sysv/linux/ia64/bits/resource.h @@ -32,73 +32,51 @@ enum __rlimit_resource { /* Per-process CPU limit, in seconds. */ - _RLIMIT_CPU = RLIMIT_CPU, -#undef RLIMIT_CPU - RLIMIT_CPU = _RLIMIT_CPU, + RLIMIT_CPU = 0, #define RLIMIT_CPU RLIMIT_CPU /* Largest file that can be created, in bytes. */ - _RLIMIT_FSIZE = RLIMIT_FSIZE, -#undef RLIMIT_FSIZE - RLIMIT_FSIZE = _RLIMIT_FSIZE, + RLIMIT_FSIZE = 1, #define RLIMIT_FSIZE RLIMIT_FSIZE /* Maximum size of data segment, in bytes. */ - _RLIMIT_DATA = RLIMIT_DATA, -#undef RLIMIT_DATA - RLIMIT_DATA = _RLIMIT_DATA, + RLIMIT_DATA = 2, #define RLIMIT_DATA RLIMIT_DATA /* Maximum size of stack segment, in bytes. */ - _RLIMIT_STACK = RLIMIT_STACK, -#undef RLIMIT_STACK - RLIMIT_STACK = _RLIMIT_STACK, + RLIMIT_STACK = 3, #define RLIMIT_STACK RLIMIT_STACK /* Largest core file that can be created, in bytes. */ - _RLIMIT_CORE = RLIMIT_CORE, -#undef RLIMIT_CORE - RLIMIT_CORE = _RLIMIT_CORE, + RLIMIT_CORE = 4, #define RLIMIT_CORE RLIMIT_CORE /* Largest resident set size, in bytes. This affects swapping; processes that are exceeding their resident set size will be more likely to have physical memory taken from them. */ - _RLIMIT_RSS = RLIMIT_RSS, -#undef RLIMIT_RSS - RLIMIT_RSS = _RLIMIT_RSS, + RLIMIT_RSS = 5, #define RLIMIT_RSS RLIMIT_RSS /* Number of processes. */ - _RLIMIT_NPROC = RLIMIT_NPROC, -#undef RLIMIT_NPROC - RLIMIT_NPROC = _RLIMIT_NPROC, + RLIMIT_NPROC = 6, #define RLIMIT_NPROC RLIMIT_NPROC /* Number of open files. */ - _RLIMIT_NOFILE = RLIMIT_NOFILE, -#undef RLIMIT_NOFILE - RLIMIT_NOFILE = _RLIMIT_NOFILE, + RLIMIT_NOFILE = 7, RLIMIT_OFILE = RLIMIT_NOFILE, /* BSD name for same. */ #define RLIMIT_NOFILE RLIMIT_NOFILE #define RLIMIT_OFILE RLIMIT_OFILE /* Locked-in-memory address space. */ - _RLIMIT_MEMLOCK = RLIMIT_MEMLOCK, -#undef RLIMIT_MEMLOCK - RLIMIT_MEMLOCK = _RLIMIT_MEMLOCK, + RLIMIT_MEMLOCK = 8, #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK /* Address space limit (?) */ - _RLIMIT_AS = RLIMIT_AS, -#undef RLIMIT_AS - RLIMIT_AS = _RLIMIT_AS, + RLIMIT_AS = 9, #define RLIMIT_AS RLIMIT_AS - RLIMIT_NLIMITS = RLIM_NLIMITS, -#undef RLIM_NLIMITS - RLIM_NLIMITS = RLIMIT_NLIMITS + RLIM_NLIMITS = 10 #define RLIMIT_NLIMITS RLIMIT_NLIMITS #define RLIM_NLIMITS RLIM_NLIMITS }; -- cgit v1.2.3-70-g09d2