#include "blocxx/BLOCXX_config.h"#include "blocxx/PathSecurity.hpp"#include "blocxx/Assertion.hpp"#include "blocxx/FileSystem.hpp"#include "blocxx/Format.hpp"#include "blocxx/String.hpp"#include "blocxx/Logger.hpp"#include "blocxx/UserUtils.hpp"#include <unistd.h>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
Typedefs | |
| typedef Array< std::pair < String, EFileStatusReturn > > | BLOCXX_NAMESPACE::path_results_t |
Functions | |
| void | BLOCXX_NAMESPACE::wrapped_lstat (char const *path, struct stat &st) |
| char const * | BLOCXX_NAMESPACE::strip_leading_slashes (char const *path) |
| void | BLOCXX_NAMESPACE::logFileStatus (path_results_t const &results, const uid_t uid) |
| std::pair< ESecurity, String > | BLOCXX_NAMESPACE::path_security (char const *base_dir, char const *rel_path, uid_t uid, bool bdsecure) |
| std::pair< ESecurity, String > | BLOCXX_NAMESPACE::path_security (char const *path, UserId uid) |
Variables | |
| unsigned const | BLOCXX_NAMESPACE::MAX_SYMBOLIC_LINKS = 100 |
| std::vector<char>& m_buf |
Definition at line 262 of file PathSecurity.cpp.
Referenced by BLOCXX_NAMESPACE::DataOStream::clearData(), BLOCXX_NAMESPACE::DataOStream::getData(), and BLOCXX_NAMESPACE::DataOStream::length().
| bool m_dir_specified |
Definition at line 133 of file PathSecurity.cpp.
| std::vector<char> m_resolved |
Definition at line 127 of file PathSecurity.cpp.
| std::vector<char> m_unresolved |
Definition at line 131 of file PathSecurity.cpp.
1.5.6