mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
This commit is contained in:
@ -36,7 +36,7 @@ int
|
||||
__lxstat (int vers, const char *name, struct stat *buf)
|
||||
{
|
||||
if (vers == _STAT_VER_KERNEL)
|
||||
return INLINE_SYSCALL (lstat, 2, CHECK_STRING (name),
|
||||
return INLINE_SYSCALL (lstat, 2, name,
|
||||
CHECK_1 ((struct kernel_stat *) buf));
|
||||
|
||||
#ifdef STAT_IS_KERNEL_STAT
|
||||
@ -46,7 +46,7 @@ __lxstat (int vers, const char *name, struct stat *buf)
|
||||
struct kernel_stat kbuf;
|
||||
int result;
|
||||
|
||||
result = INLINE_SYSCALL (lstat, 2, CHECK_STRING (name), __ptrvalue (&kbuf));
|
||||
result = INLINE_SYSCALL (lstat, 2, name, __ptrvalue (&kbuf));
|
||||
if (result == 0)
|
||||
result = __xstat_conv (vers, &kbuf, buf);
|
||||
|
||||
|
Reference in New Issue
Block a user