L4Re - L4 Runtime Environment
|
Interface for the POSIX backends for an application. More...
#include <vfs.h>
Additional Inherited Members | |
![]() | |
virtual int | mmap2 (void *start, size_t len, int prot, int flags, int fd, off_t offset, void **ptr)=0 throw () |
Backend for the mmap2 system call. | |
virtual int | munmap (void *start, size_t len)=0 throw () |
Backend for the munmap system call. | |
virtual int | mremap (void *old, size_t old_sz, size_t new_sz, int flags, void **new_addr)=0 throw () |
Backend for the mremap system call. | |
virtual int | mprotect (const void *a, size_t sz, int prot)=0 throw () |
Backend for the mprotect system call. | |
virtual int | msync (void *addr, size_t len, int flags)=0 throw () |
Backend for the msync system call. | |
virtual int | madvise (void *addr, size_t len, int advice)=0 throw () |
Backend for the madvice system call. | |
![]() | |
virtual cxx::Ref_ptr< File > | get_file (int fd)=0 throw () |
Get the L4Re::Vfs::File for the file descriptor fd. More... | |
virtual cxx::Ref_ptr< File > | get_root ()=0 throw () |
Get the directory object for the applications root directory. | |
virtual cxx::Ref_ptr< File > | get_cwd () throw () |
Get the directory object for the applications current working directory. | |
virtual void | set_cwd (cxx::Ref_ptr< File > const &) throw () |
Set the current working directory for the application. | |
virtual int | alloc_fd (cxx::Ref_ptr< File > const &f=cxx::Ref_ptr<>::Nil)=0 throw () |
Allocate the next free file descriptor. More... | |
virtual cxx::Ref_ptr< File > | set_fd (int fd, cxx::Ref_ptr< File > const &f=cxx::Ref_ptr<>::Nil)=0 throw () |
Set the file object referenced by the file descriptor fd. More... | |
virtual cxx::Ref_ptr< File > | free_fd (int fd)=0 throw () |
Free the file descriptor fd. More... | |
virtual int | mount (char const *path, cxx::Ref_ptr< File > const &dir)=0 throw () |
Mount a given file object at the given global path in the VFS. More... | |
int | mount (char const *source, char const *target, char const *fstype, unsigned long mountflags, void const *data) throw () |
Backend for the POSIX mount call. | |
Interface for the POSIX backends for an application.