diff options
Diffstat (limited to 'cpukit/libcsupport/src/chroot.c')
-rw-r--r-- | cpukit/libcsupport/src/chroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/chroot.c b/cpukit/libcsupport/src/chroot.c index fd802ff32b..777cc9093c 100644 --- a/cpukit/libcsupport/src/chroot.c +++ b/cpukit/libcsupport/src/chroot.c @@ -28,8 +28,8 @@ int chroot( const char *path ) int rv = 0; rtems_status_code sc = RTEMS_SUCCESSFUL; rtems_filesystem_eval_path_context_t ctx; - int eval_flags = RTEMS_LIBIO_PERMS_SEARCH - | RTEMS_LIBIO_FOLLOW_LINK; + int eval_flags = RTEMS_FS_PERMS_EXEC + | RTEMS_FS_FOLLOW_LINK; rtems_filesystem_location_info_t loc; rtems_filesystem_global_location_t *new_current_loc; |