glibc/sysdeps/unix
Ulrich Drepper 6a3d03ff58 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there
are always at least 4 bytes in the returned line.

2009-04-15  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check
	__libc_use_alloca (8192), if the stack is too small use 512 bytes
	instead of 8K.  Stop searching in /proc/stat after hitting first
	line not starting with cpu.
	(next_line): Truncate too long
	lines at buffer size * 3/4 instead of pretending there were line
	breaks inside of large lines.
2009-04-15 15:57:47 +00:00
..
bsd 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-07-02 09:53:29 +00:00
common * sysdeps/unix/common/Makefile: File removed. 2006-02-26 23:57:29 +00:00
i386 * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
inet Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
mman Update. 2002-12-15 01:00:22 +00:00
powerpc * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros. 2002-09-20 23:46:03 +00:00
sh * resolv/res_debug.c (latlon2ul): Use ISO C function declaration. 2005-12-30 22:47:37 +00:00
sparc * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
sysv * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there 2009-04-15 15:57:47 +00:00
x86_64 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally 2005-03-31 10:02:53 +00:00
_exit.S 2002-08-03 Roland McGrath <roland@redhat.com> 2002-08-04 01:28:11 +00:00
alarm.c [BZ #626] 2004-12-29 09:17:26 +00:00
clock_gettime.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
clock_nanosleep.c * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL 2004-12-06 22:29:01 +00:00
clock_settime.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
closedir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
confstr.h
dirfd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dirstream.h * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. 2007-08-03 03:35:12 +00:00
errnos-tmpl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errnos.awk
execve.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fdopendir.c [BZ #2226] 2006-02-12 21:41:44 +00:00
fork.S Update. 2002-12-31 20:46:11 +00:00
fxstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
get_child_max.c [BZ #1535] 2006-01-08 09:39:29 +00:00
getdents.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getegid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
geteuid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getlogin_r.c Jakub Jelinek <jakub@redhat.com> 2002-10-16 03:03:00 +00:00
getlogin.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getppid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grantpt.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
Implies
ioctls-tmpl.c
ioctls.awk
make-syscalls.sh * Makeconfig (sysd-rules-targets): New variable. 2008-02-01 00:01:25 +00:00
Makefile * Makeconfig (sysd-rules-targets): New variable. 2008-02-01 00:01:25 +00:00
mk-local_lim.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkfifo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkfifoat.c * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat. 2005-12-02 21:55:54 +00:00
nice.c * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use 2006-08-15 05:27:55 +00:00
opendir.c * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory 2009-02-05 18:20:59 +00:00
readdir_r.c * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno 2002-08-28 03:26:52 +00:00
readdir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
rewinddir.c * sysdeps/unix/rewinddir.c: Reset filepos. 2005-01-16 06:26:38 +00:00
rmdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s-proto-bp.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. 2003-01-15 22:10:10 +00:00
s-proto-cancel.S * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d. 2002-12-30 00:12:56 +00:00
s-proto.S
seekdir.c Update. 2001-08-08 02:52:43 +00:00
setxid.h Update. 2004-11-12 01:27:04 +00:00
siglist.c Update. 2002-08-04 23:32:14 +00:00
snarf-ioctls Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sockatmark.c [BZ #1010] 2005-09-17 23:37:14 +00:00
start.c * csu/elf-init.c: Update copyright terms including special exception 2004-08-16 04:51:23 +00:00
stime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Subdirs
syscall.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscalls.list * Versions.def (glibc): Add GLIBC_2.9. 2008-07-25 04:51:56 +00:00
sysdep.h Update. 2003-08-17 00:37:19 +00:00
system.c
telldir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
time.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
utime.c Update. 2002-08-08 07:53:36 +00:00
xmknod.c Update. 2002-08-04 09:27:27 +00:00
xstat.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00