mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Remove CHECK_N and bp-checks.h.
This commit is contained in:
@ -23,7 +23,6 @@
|
||||
|
||||
#include <sysdep-cancel.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
|
||||
#include <kernel-features.h>
|
||||
|
||||
@ -46,14 +45,14 @@ __libc_pread (fd, buf, count, offset)
|
||||
|
||||
if (SINGLE_THREAD_P)
|
||||
{
|
||||
result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
|
||||
result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0,
|
||||
__LONG_LONG_PAIR (offset >> 31, offset));
|
||||
return result;
|
||||
}
|
||||
|
||||
int oldtype = LIBC_CANCEL_ASYNC ();
|
||||
|
||||
result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
|
||||
result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0,
|
||||
__LONG_LONG_PAIR (offset >> 31, offset));
|
||||
|
||||
LIBC_CANCEL_RESET (oldtype);
|
||||
|
Reference in New Issue
Block a user