This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/posix/bits unistd.h
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Sep 2007 20:44:55 -0000
- Subject: libc/posix/bits unistd.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-09-26 20:44:55
Modified files:
posix/bits : unistd.h
Log message:
(__read_chk_warn, __pread_chk_warn,
__pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn,
__getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn,
__ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn,
__getdomainname_chk_warn): New aliases with __warnattr.
(read, pread, pread64, readlink, readlinkat, getcwd, confstr,
getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call
__*_chk_warn instead of __*_chk if compile time detectable overflow
is found.
(__getgroups_chk): Rename argument to __listlen from listlen.
(__getwd_alias): Rename to...
(__getwd_warn): ... this. Add __warnattr.
(getwd): Call __getwd_warn instead of __getwd_alias.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/posix/bits/unistd.h.diff?cvsroot=glibc&r1=1.14&r2=1.15