sim/mount: Converted to use kconfig-frontends tools

This commit is contained in:
Gregory Nutt
2014-01-01 08:52:58 -06:00
parent a1f8bd0f58
commit 892784538d
4 changed files with 530 additions and 223 deletions
+3
View File
@@ -6352,3 +6352,6 @@
* include/nuttx/kthread.h: Move kernel thread definitions out of * include/nuttx/kthread.h: Move kernel thread definitions out of
os_internal.h so that the rest of the OS can start kernel threads as os_internal.h so that the rest of the OS can start kernel threads as
well (2013-12-30). well (2013-12-30).
* configs/sim/mount/defconfig: Converted to use kconfig-frontends
tools (2013-21-31).
+5 -1
View File
@@ -486,7 +486,7 @@ o Kernel Build
Status: Open Status: Open
Priority: Low (unless performance becomes an issue). Priority: Low (unless performance becomes an issue).
Title: MEMORY MANAGER SECURITY ISSUE Title: SECURITY ISSUES
Description: In the current designed, the kernel code calls into the user-space Description: In the current designed, the kernel code calls into the user-space
allocators to allocate user-space memory. It is a security risk to allocators to allocate user-space memory. It is a security risk to
call into user-space in kernel-mode because that could be exploited call into user-space in kernel-mode because that could be exploited
@@ -495,6 +495,10 @@ o Kernel Build
allocators would then need to trap in order to return (this is allocators would then need to trap in order to return (this is
already done to return from signal handlers; that logic could be already done to return from signal handlers; that logic could be
renamed more generally and just used for a generic return trap). renamed more generally and just used for a generic return trap).
Another place where the system calls into the user code in kernel
mode is work_usrstart() to start the user work queue. That is
another security hole that should be plugged.
Status: Open Status: Open
Priority: Low (unless security becomes an issue). Priority: Low (unless security becomes an issue).
-39
View File
@@ -1,39 +0,0 @@
############################################################################
# configs/sim/mount/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/mount
File diff suppressed because it is too large Load Diff