Go to file
liaoao 4b25a0dfa5 rpmsgblk: check if the block device has been removed before calling its ops
it may cause use after free if server has removed block device before calling
its operations,such as:
server: rm /dev/testrpmsgblk
client: ls /dev/testrpmsgblk

Signed-off-by: liaoao <liaoao@xiaomi.com>
2023-11-22 08:08:12 -08:00
.github build(deps): bump docker/build-push-action from 4 to 5 2023-09-18 13:33:40 +08:00
arch risc-v/mpfs: ihc: cleanup DEBUGASSERTs and irq enabling 2023-11-22 08:05:36 -08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
boards sched_lock refine: remove sched_[un]lock in xxx_waitsample 2023-11-21 20:03:43 -08:00
cmake cmake:fix invalid configs when export defconfig and .config 2023-08-29 09:51:20 +08:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
Documentation boards: add support for ODrive V3.6 board 2023-11-18 17:07:20 -08:00
drivers rpmsgblk: check if the block device has been removed before calling its ops 2023-11-22 08:08:12 -08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs rpmsgblk: bind block inode to ept when create ept 2023-11-22 08:08:12 -08:00
graphics poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
include rpmsgblk: bind block inode to ept when create ept 2023-11-22 08:08:12 -08:00
libs task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
mm mm: free delay list when exceeding specified count 2023-11-15 12:05:20 +01:00
net poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
openamp openamp/libmetal: aligned io read/write when size=1,2,3,4 2023-11-17 09:42:52 +01:00
pass1
sched task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
syscall task/pthread_cancelpt: Move cancel point handling to libc, data to TLS 2023-11-15 08:52:04 -08:00
tools tcbinfo:remove total_num form tcbinfo. 2023-11-21 21:52:24 -08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless wireless/bluetooth: Add option to set the HCI TX thread affinity 2023-10-24 22:41:44 +08:00
.asf.yaml
.gitignore tools/ci: migrate some ci build configurations to CMake 2023-07-15 23:32:36 +08:00
.yamllint
AUTHORS
CMakeLists.txt cmake: correct cmake rule file name 2023-10-21 11:00:27 +08:00
CONTRIBUTING.md
INVIOLABLES.md
Kconfig debug/assert: decouple configuration of show file name feature 2023-10-20 02:22:48 +08:00
LICENSE libc: Remove the unused lib_libdtoa.c 2023-10-23 20:06:34 -03:00
Makefile
NOTICE
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.