mirror of
https://github.com/google/nsjail.git
synced 2026-08-30 18:41:30 -07:00
22 lines
405 B
C++
22 lines
405 B
C++
#ifndef NS_MNT_NEWAPI_H
|
|
#define NS_MNT_NEWAPI_H
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "mnt.h"
|
|
#include "nsjail.h"
|
|
|
|
namespace mnt {
|
|
namespace newapi {
|
|
|
|
bool isAvailable();
|
|
std::unique_ptr<std::string> buildMountTree(nsj_t* nsj, std::vector<mnt::mount_t>* mounted_mpts);
|
|
bool remountPt(mnt::mount_t& mpt);
|
|
|
|
} // namespace newapi
|
|
} // namespace mnt
|
|
|
|
#endif /* NS_MNT_NEWAPI_H */
|