diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-02 08:00:34 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-02 08:06:10 +0100 |
commit | e079b33e76002b282f1a104e2018c85af7a1ed09 (patch) | |
tree | 47cca792fcaec8fae764bba1659f5c0c028bcdf4 /cpukit/libcsupport/src/chroot.c | |
parent | doc: Fix typo (diff) | |
download | rtems-e079b33e76002b282f1a104e2018c85af7a1ed09.tar.bz2 |
Filesystem: Export most generic path eval function
Add path length parameter to
rtems_filesystem_eval_path_start_with_root_and_current() so that users
may pass paths without a '\0' termination.
Update #2558.
Diffstat (limited to 'cpukit/libcsupport/src/chroot.c')
-rw-r--r-- | cpukit/libcsupport/src/chroot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/chroot.c b/cpukit/libcsupport/src/chroot.c index b7c2891f6a..9ec4ad470f 100644 --- a/cpukit/libcsupport/src/chroot.c +++ b/cpukit/libcsupport/src/chroot.c @@ -44,6 +44,7 @@ int chroot( const char *path ) rtems_filesystem_eval_path_start_with_root_and_current( &ctx, path, + strlen( path ), eval_flags, &rtems_global_user_env.root_directory, &rtems_global_user_env.current_directory |