Helper object to optionally verify that a file was created with a.
More...
#include <SecurePath.hpp>
Helper object to optionally verify that a file was created with a.
◆ SecurePath() [1/4]
geopm::SecurePath::SecurePath |
( |
| ) |
|
|
delete |
◆ SecurePath() [2/4]
geopm::SecurePath::SecurePath |
( |
const SecurePath & |
other | ) |
|
|
delete |
◆ SecurePath() [3/4]
geopm::SecurePath::SecurePath |
( |
const std::string & |
orig_path | ) |
|
Verify if orig_path is secure. This defaults to enforcing for.
◆ SecurePath() [4/4]
geopm::SecurePath::SecurePath |
( |
const std::string & |
orig_path, |
|
|
mode_t |
umask, |
|
|
bool |
enforce |
|
) |
| |
Verify if orig_path is secure (optional)
- Parameters
-
orig_path | [in] Path to the file to examine |
umask | [in] The umask with which to assert orig_path was created |
enforce | [in] Whether or not to enforce ownership/permissions checks |
◆ ~SecurePath()
geopm::SecurePath::~SecurePath |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ secure_path()
std::string geopm::SecurePath::secure_path |
( |
void |
| ) |
const |
Accessor for path under procfs.
The documentation for this class was generated from the following files: