vfs: check userland buffers before reading them.
[haiku.git] / src / tools / fs_shell / vfs_request_io.cpp
blobdd2a7c7a561ba87995e3b5b35e5ac96582ccd4b4
1 /*
2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
6 // included by vfs.cpp
8 //#include "io_requests.h"
11 // #pragma mark - public API
14 extern "C" fssh_status_t
15 fssh_do_fd_io(int fd, fssh_io_request* request)
17 fssh_panic("fssh_do_fd_io() not yet implemented");
18 return FSSH_B_BAD_VALUE;
22 extern "C" fssh_status_t
23 fssh_do_iterative_fd_io(int fd, fssh_io_request* request,
24 fssh_iterative_io_get_vecs getVecs,
25 fssh_iterative_io_finished finished, void* cookie)
27 fssh_panic("fssh_do_iterative_fd_io() not yet implemented");
28 return FSSH_B_BAD_VALUE;