21 #include <l4/l4re_vfs/backend> 25 namespace L4Re {
namespace Core {
33 : _env(env), _current_cap_entry(env->initial_caps())
36 ssize_t readv(
const struct iovec*,
int)
throw() {
return -EISDIR; }
37 ssize_t writev(
const struct iovec*,
int)
throw() {
return -EISDIR; }
38 ssize_t preadv(
const struct iovec*,
int, off64_t)
throw() {
return -EISDIR; }
39 ssize_t pwritev(
const struct iovec*,
int, off64_t)
throw() {
return -EISDIR; }
40 int fstat64(
struct stat64 *)
const throw();
41 int faccessat(
const char *path,
int mode,
int flags)
throw();
42 int get_entry(
const char *path,
int flags, mode_t mode,
43 Ref_ptr<L4Re::Vfs::File> *)
throw();
44 ssize_t getdents(
char *,
size_t)
throw();
60 : _ns(ns), _current_dir_pos(0)
63 ssize_t readv(
const struct iovec*,
int)
throw() {
return -EISDIR; }
64 ssize_t writev(
const struct iovec*,
int)
throw() {
return -EISDIR; }
65 ssize_t preadv(
const struct iovec*,
int, off64_t)
throw() {
return -EISDIR; }
66 ssize_t pwritev(
const struct iovec*,
int, off64_t)
throw() {
return -EISDIR; }
67 int fstat64(
struct stat64 *)
const throw();
68 int faccessat(
const char *path,
int mode,
int flags)
throw();
69 int get_entry(
const char *path,
int flags, mode_t mode,
70 Ref_ptr<L4Re::Vfs::File> *)
throw();
71 ssize_t getdents(
char *,
size_t)
throw();
79 size_t _current_dir_pos;
A reference-counting pointer with automatic cleanup.
l4re_env_cap_entry_t Cap_entry
C++ type for an entry in the initial objects array.
C++ interface of the initial environment that is provided to an L4 task.
L4::Cap related definitions.
Boiler plate class for implementing an open file for L4Re::Vfs.