|
int | assertdir (const std::string &path, uid_t u, gid_t g, unsigned int mode) |
| Make sure that 'path' exists, it is owned by the entity described by {u,g} and its mode is 'mode'. More...
|
|
int | changeown (const std::string &path, uid_t u, gid_t g) |
| Change the ownership of 'path' to the entity described by {u,g}. More...
|
|
int | completercfile (const std::string &rcfile, const std::string &sessdir, const std::string &stag, const std::string &adminpath) |
| Finalize the rc file with the missing pieces. More...
|
|
int | exportsock (rpdunix *conn) |
| Export the descriptor of 'conn' so that it can used in the execv application. More...
|
|
void | Info (const char *va_(fmt),...) |
| Write info message to syslog. More...
|
|
int | loginuser (const std::string &home, const std::string &user, uid_t uid, gid_t gid) |
| Login the user in its space. More...
|
|
int | main (int argc, char **argv) |
| Program executed via system starting proofserv instances. More...
|
|
int | mvfile (const std::string &from, const std::string &to, uid_t u, gid_t g, unsigned int mode) |
| Move file form 'from' to 'to', making sure that it is owned by the entity described by {u,g} and its mode is 'mode' (at the final destination). More...
|
|
int | redirectoutput (const std::string &logfile) |
| Redirect stdout to 'logfile' On success return 0. More...
|
|
int | setownerships (int euid, const std::string &us, const std::string &gr, const std::string &creds, const std::string &dsrcs, const std::string &ddir, const std::string &ddiro, const std::string &ord, const std::string &stag) |
| Set user ownerships on some critical files or directories. More...
|
|
int | setproofservenv (const std::string &envfile, const std::string &logfile, const std::string &rcfile) |
| Initialize the environment following the content of 'envfile'. More...
|
|
void | start_ps (int argc, char **argv) |
| Process a request to start a proofserv process. More...
|
|