Home
last modified time | relevance | path

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

/external/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()
/external/google-breakpad/src/client/ios/
Dexception_handler_no_mach.cc73 char protected_buffer[PAGE_MAX_SIZE] __attribute__((aligned(PAGE_MAX_SIZE))); member
75 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
220 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandlers()
221 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandlers()
235 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ | PROT_WRITE); in UninstallHandlers()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc81 char protected_buffer[PAGE_MAX_SIZE] __attribute__((aligned(PAGE_MAX_SIZE))); member
83 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
658 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandler()
659 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler()
703 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc203 unsigned char* protected_buffer = in tsi_test_frame_protector_send_message_to_peer() local
219 protector, message_bytes, &processed_message_size, protected_buffer, in tsi_test_frame_protector_send_message_to_peer()
223 send_bytes_to_peer(channel, protected_buffer, protected_buffer_size_to_send, in tsi_test_frame_protector_send_message_to_peer()
233 protector, protected_buffer, &protected_buffer_size_to_send, in tsi_test_frame_protector_send_message_to_peer()
236 send_bytes_to_peer(channel, protected_buffer, in tsi_test_frame_protector_send_message_to_peer()
243 gpr_free(protected_buffer); in tsi_test_frame_protector_send_message_to_peer()