Home
last modified time | relevance | path

Searched refs:protected_buffer (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile04.c54 off_t *protected_buffer; in run() local
55 protected_buffer = SAFE_MMAP(NULL, sizeof(*protected_buffer), in run()
60 SAFE_MUNMAP(protected_buffer, sizeof(*protected_buffer)); in run()
62 TST_EXP_FAIL2(sendfile(out_fd, in_fd, protected_buffer, 1), in run()
67 SAFE_MUNMAP(protected_buffer, sizeof(*protected_buffer)); in run()