[PATCH 1/3] config: Remove CONFIGURE_HAS_OWN_FILESYSTEM_TABLE
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Sep 17 10:04:49 UTC 2018
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 7d1407564b..1fd3a6c5ae 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
--
2.13.7
More information about the devel
mailing list