[rtems commit] config: Remove CONFIGURE_HAS_OWN_FILESYSTEM_TABLE
Sebastian Huber
sebh at rtems.org
Wed Sep 19 08:52:14 UTC 2018
Module: rtems
Branch: master
Commit: bd5cec416d7a70f65b08b665916181f9e945a704
Changeset: http://git.rtems.org/rtems/commit/?id=bd5cec416d7a70f65b08b665916181f9e945a704
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Sep 17 10:31:29 2018 +0200
config: Remove CONFIGURE_HAS_OWN_FILESYSTEM_TABLE
This configuration was untested and undocumented. Remove it to avoid a
potential exposure of internal data structures to the application
domain.
Close #3520.
---
cpukit/include/rtems/confdefs.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index 7d14075..1fd3a6c 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -465,8 +465,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
* The default file system table. Must be terminated with the NULL entry if
* you provide your own.
*/
- #if !defined(CONFIGURE_HAS_OWN_FILESYSTEM_TABLE) && \
- !defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM)
+ #ifndef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
const rtems_filesystem_table_t rtems_filesystem_table[] = {
#if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
{ "/", IMFS_initialize_support },
@@ -3440,6 +3439,10 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#error "Maximum priority configured higher than supported by target."
#endif
+#ifdef CONFIGURE_HAS_OWN_FILESYSTEM_TABLE
+ #warning "The CONFIGURE_HAS_OWN_FILESYSTEM_TABLE configuration option is obsolete since RTEMS 5.1"
+#endif
+
#ifdef CONFIGURE_NUMBER_OF_TERMIOS_PORTS
#warning "The CONFIGURE_NUMBER_OF_TERMIOS_PORTS configuration option is obsolete since RTEMS 5.1"
#endif
More information about the vc
mailing list