mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
* posix/bits/unistd.h (__readlinkat_chk): New prototype.
(__readlinkat_alias): New alias. (readlinkat): New inline function. * include/unistd.h (readlinkat): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add libc_hidden_def. * io/readlinkat.c (readlinkat): Likewise. * debug/readlinkat_chk.c: New file. * debug/Makefile (routines): Add readlinkat_chk. * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. * debug/tst-chk1.c (do_test): Add readlinkat tests. * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. code is possible. Move compatibility code in .text.compat section. over gaih array. There is only one function to call in the moment.
This commit is contained in:
@@ -46,5 +46,6 @@ readlinkat (fd, path, buf, len)
|
||||
return -1;
|
||||
}
|
||||
stub_warning (readlinkat)
|
||||
libc_hidden_def (readlinkat)
|
||||
|
||||
#include <stub-tag.h>
|
||||
|
||||
Reference in New Issue
Block a user