#include <errno.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <sys/un.h>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <vector>
#include "options.h"
#include "sanitizer.h"
#include "util/logging.h"
#include "util/platform.h"
#include "util/posix.h"
#include "util/string.h"
Go to the source code of this file.
|
static void | Usage (int output_dest) |
|
static void | AddMountOption (const string &option, vector< string > *mount_options) |
|
static string | MkFqrn (const string &repository) |
|
static bool | CheckFuse () |
|
static bool | CheckStrictMount (const string &fqrn) |
|
static bool | CheckProxy () |
|
static bool | CheckConcurrentMount (const string &fqrn, const string &workspace, string *mountpointp) |
|
static int | GetExistingFuseFd (const string &fqrn, const string &workspace, uid_t cvmfs_uid) |
|
static bool | GetCacheDir (const string &fqrn, string *cachedir) |
|
static bool | GetWorkspace (const string &fqrn, string *workspace) |
|
static bool | WaitForReload (const std::string &mountpoint) |
|
static bool | GetCvmfsUser (string *cvmfs_user) |
|
static std::string | GetCvmfsBinary () |
|
static int | AttachMount (const std::string &mountpoint, const std::string &fqrn, int fuse_fd) |
|
int | main (int argc, char **argv) |
|
static void AddMountOption |
( |
const string & |
option, |
|
|
vector< string > * |
mount_options |
|
) |
| |
|
static |
static int AttachMount |
( |
const std::string & |
mountpoint, |
|
|
const std::string & |
fqrn, |
|
|
int |
fuse_fd |
|
) |
| |
|
static |
static bool CheckConcurrentMount |
( |
const string & |
fqrn, |
|
|
const string & |
workspace, |
|
|
string * |
mountpointp |
|
) |
| |
|
static |
static bool CheckFuse |
( |
| ) |
|
|
static |
static bool CheckProxy |
( |
| ) |
|
|
static |
static bool CheckStrictMount |
( |
const string & |
fqrn | ) |
|
|
static |
static bool GetCacheDir |
( |
const string & |
fqrn, |
|
|
string * |
cachedir |
|
) |
| |
|
static |
static std::string GetCvmfsBinary |
( |
| ) |
|
|
static |
static bool GetCvmfsUser |
( |
string * |
cvmfs_user | ) |
|
|
static |
static int GetExistingFuseFd |
( |
const string & |
fqrn, |
|
|
const string & |
workspace, |
|
|
uid_t |
cvmfs_uid |
|
) |
| |
|
static |
static bool GetWorkspace |
( |
const string & |
fqrn, |
|
|
string * |
workspace |
|
) |
| |
|
static |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
static string MkFqrn |
( |
const string & |
repository | ) |
|
|
static |
static void Usage |
( |
int |
output_dest | ) |
|
|
static |
static bool WaitForReload |
( |
const std::string & |
mountpoint | ) |
|
|
static |