PathSecurity.cpp File Reference

#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


Variable Documentation

std::vector<char>& m_buf

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.


Generated on Wed Feb 25 19:05:00 2009 for blocxx by  doxygen 1.5.6