Remove mirroring of 'lx_rpath' in 'app/chroot'

Thanks to the exclusive use of SCM rights for delegating access rights
to memory objects and RPC entrypoints, Genode processes outside of core
won't need to access any files.
This commit is contained in:
Norman Feske 2012-08-10 14:28:21 +02:00
parent 7cb45e9648
commit 371b8fd12d
1 changed files with 4 additions and 10 deletions

View File

@ -145,9 +145,8 @@ int main(int, char **argv)
{
using namespace Genode;
static char chroot_path[MAX_PATH_LEN];
static char cwd_path[MAX_PATH_LEN];
static char genode_tmp_path[MAX_PATH_LEN];
static char chroot_path[MAX_PATH_LEN];
static char cwd_path[MAX_PATH_LEN];
/*
* Read configuration
@ -167,16 +166,12 @@ int main(int, char **argv)
getcwd(cwd_path, sizeof(cwd_path));
uid_t const uid = getuid();
snprintf(genode_tmp_path, sizeof(genode_tmp_path), "/tmp/genode-%d", uid);
/*
* Print diagnostic information
*/
if (verbose) {
PINF("work directory: %s", cwd_path);
PINF("chroot path: %s", chroot_path);
PINF("genode tmp path: %s", genode_tmp_path);
PINF("work directory: %s", cwd_path);
PINF("chroot path: %s", chroot_path);
}
/*
@ -197,7 +192,6 @@ int main(int, char **argv)
* environment.
*/
mirror_path_to_chroot(chroot_path, cwd_path);
mirror_path_to_chroot(chroot_path, genode_tmp_path);
printf("changing root to %s ...\n", chroot_path);