* lib/prototypes.h, libmisc/Makefile.am, libmisc/root_flag.c,

po/POTFILES.in: Add process_root_flag() to process the --root
	option and chroot so that the chroot config is used and changes
	are applied to the chroot.
This commit is contained in:
nekral-guest
2011-11-06 18:37:19 +00:00
parent c237be820b
commit 0b5574c28a
6 changed files with 120 additions and 0 deletions

View File

@@ -291,6 +291,9 @@ extern int remove_tree (const char *root, bool remove_root);
extern int do_rlogin (const char *remote_host, char *name, size_t namelen,
char *term, size_t termlen);
/* root_flag.c */
extern void process_root_flag (const char* short_opt, int argc, char **argv);
/* salt.c */
extern /*@observer@*/const char *crypt_make_salt (/*@null@*//*@observer@*/const char *meth, /*@null@*/void *arg);