| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
clock: fix perf_gettime race condition Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 10 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
group: change the order of files_putlist() & mm_map_destroy() case: memfd = open("/data/1", O_RDWR | O_CREAT | O_TRUNC, 0666); buf = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, memfd, 0); exit(); you will find asan report error ==3513020==ERROR: AddressSanitizer: heap-use-after-free on address 0xf6303da4 at pc 0x400f35e6 bp 0xf4c60d08 sp 0xf4c60cf8 READ of size 4 at 0xf6303da4 thread T0 #0 0x400f35e5 in fs_putfilep inode/fs_files.c:909 #1 0x401b88b5 in unmap_rammap mmap/fs_rammap.c:178 #2 0x400a34ee in mm_map_destroy map/mm_map.c:161 #3 0x4007a72a in group_release group/group_leave.c:109 #4 0x4007ae6b in group_leave group/group_leave.c:197 #5 0x40082aed in nxtask_exithook task/task_exithook.c:459 #6 0x400789aa in _exit task/exit.c:97 #7 0x4009dd46 in abort stdlib/lib_abort.c:76 #8 0x4009639c in __assert assert/lib_assert.c:39 #9 0x40184242 in hello_func /home/ligd/platform/rc02/apps/examples/hello/hello_main.c:69 #10 0x401d72f6 in pthread_startup pthread/pthread_create.c:61 #11 0x401df462 in pthread_start pthread/pthread_create.c:142 #12 0x400a4b60 in pre_start sim/sim_initialstate.c:53 0xf6303da4 is located 100 bytes inside of 192-byte region [0xf6303d40,0xf6303e00) freed by thread T0 here: #0 0xf7a4850f in __interceptor_free ../../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x401e20e2 in host_free sim/posix/sim_hostmemory.c:172 #2 0x400a6441 in mm_delayfree sim/sim_heap.c:190 #3 0x400a6667 in mm_free sim/sim_heap.c:323 #4 0x400a2abc in free umm_heap/umm_free.c:51 #5 0x400f2427 in files_putlist inode/fs_files.c:545 #6 0x4007a6cc in group_release group/group_leave.c:101 #7 0x4007ae6b in group_leave group/group_leave.c:197 #8 0x40082aed in nxtask_exithook task/task_exithook.c:459 #9 0x400789aa in _exit task/exit.c:97 #10 0x4009dd46 in abort stdlib/lib_abort.c:76 #11 0x4009639c in __assert assert/lib_assert.c:39 #12 0x40184242 in hello_func /home/ligd/platform/rc02/apps/examples/hello/hello_main.c:69 #13 0x401d72f6 in pthread_startup pthread/pthread_create.c:61 #14 0x401df462 in pthread_start pthread/pthread_create.c:142 #15 0x400a4b60 in pre_start sim/sim_initialstate.c:53 Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
perf:add perf support to dev-system Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com> | 10 个月前 | |
stack record: use g_running_tasks inside of running_task running_task will change in nxsched_remove_readytorun so need use g_running_tasks Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 10 个月前 | |
isrthread: add configuring the stack of an isrthread as static reason: we configure the isr thread stack as static to allow for more flexible placement of the stack. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 10 个月前 | |
sched/init: Add OSINIT_IS_PANIC to replace 'g_nx_initstate == OSINIT_PANIC' to simplify the code logic which need handle the panic in special way Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
sched: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
mutex: fix mutex_unlock() assert when meet pthread_cancel() Situation: thread1: thread2: mutex_lock() sleep(1) thread_cancel(thread1) assert() mutex_unlock() Fix: replace mutex_unlock() with mutex_reset() when pthread_cancel() Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
argvstr: nxsched_get_stackargs may get invalid addr The TCB has initialized the pid, but the argvstack has not been initialized yet. This may lead to the situation that when the ps command is executed, the argv obtained by nxsched_get_stackargs is an illegal address. We initialize it to NULL for the purpose of judgment. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 10 个月前 | |
sched/sem_rw.c: Add downgrade_write API support downgrad a write lock to a read lock Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com> | 10 个月前 | |
sched: check TCB_FLAG_EXIT_PROCESSING to avoid exit twice Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
task_init: add lock when opreate g_inactivetasks list Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
sched/timer: Simplify setitimer implementation. This commit simplified setitmer implementation by eliminating a redundant conditional branch. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 10 个月前 | |
argvstr: nxsched_get_stackargs may get invalid addr The TCB has initialized the pid, but the argvstack has not been initialized yet. This may lead to the situation that when the ps command is executed, the argv obtained by nxsched_get_stackargs is an illegal address. We initialize it to NULL for the purpose of judgment. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 10 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 10 个月前 | |
isrthread: add configuring the stack of an isrthread as static reason: we configure the isr thread stack as static to allow for more flexible placement of the stack. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 10 个月前 | |
sched: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 | |
arch: select LIBC_ARCH_ELF when using COREDUMP Coredump doens't need CONFIG_ELF to be enabled, but need elf.h to include correct elf32.h or elf64.h. Select LIBC_ARCH_ELF in COREDUMP to allow LIBC_ARCH_ELF_64BIT to be defined correctly. Signed-off-by: Neo Xu <neo.xu1990@gmail.com> | 10 个月前 | |
sched: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 10 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 |