A chroot environment for fsvs. More...
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include "../config.h"
#include "../interface.h"
Go to the source code of this file.
Defines | |
#define | STOP(...) |
Functions | |
void | open_keep_set (char *fn, char *env) |
int | main (int argc, char *args[]) |
A chroot environment for fsvs.
Please see the HOWTO: About running fsvs on older systems documentation for details.
Definition in file fsvs-chrooter.c.
#define STOP | ( | ... | ) |
do { \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, "\n%s (%d)\n" \ "fsvs-chrooter (licensed under the GPLv3), (C) by Ph. Marek;" \ " version " FSVS_VERSION "\n", \ strerror(errno), errno); \ exit(errno); \ } while (0)
Definition at line 180 of file fsvs-chrooter.c.
Referenced by main(), and open_keep_set().
int main | ( | int | argc, | |
char * | args[] | |||
) |
Definition at line 216 of file fsvs-chrooter.c.
References CHROOTER_CWD_ENV, CHROOTER_LIBS_ENV, CHROOTER_ROOT_ENV, open_keep_set(), and STOP.
void open_keep_set | ( | char * | fn, | |
char * | env | |||
) |
Definition at line 191 of file fsvs-chrooter.c.
References STOP.
Referenced by main().