DragonOS/user/apps/c_unitest
xboHodx 174b133cd9
feat(ext4): implement atomic rename and rename_exchange with POSIX semantics (#1758)
- Add atomic rename operation with proper POSIX semantics (no-op when source and
target refer to same inode, atomic replace when target exists)
- Implement rename_exchange for atomic swapping of directory entries
- Add directory entry replacement in place for atomic operations
- Add comprehensive test suite for rename operations
- Fix directory link count handling during rename operations
- Add cycle detection to prevent moving directories into their own
subdirectories
- Update VFS layer to support RENAME_EXCHANGE flag

Signed-off-by: xboHodx <xbohodx2024@gmail.com>
2026-02-11 00:19:11 +08:00
..
.gitignore refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
Makefile fix: 修复多线程的一些bug (#1325) 2025-10-19 16:50:03 +08:00
default.nix feat(vfs): implement fallocate syscall (#1668) 2026-02-05 21:40:37 +08:00
dmesg.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
http_server.c refactor(net): the big network rebuild (#977) 2025-09-12 00:35:13 +08:00
ptmx_demo.c feat: support ssh app(dropbear). (#1392) 2025-11-22 14:49:12 +08:00
test_bind.c feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
test_clock_nanosleep.c feat(vfs): implement fallocate syscall (#1668) 2026-02-05 21:40:37 +08:00
test_copy_file_range.c feat(vfs): 新增 copy_file_range 系统调用实现及测试 (#1513) 2025-12-20 14:26:25 +08:00
test_cputime_multithread.c feat(process): 实现进程与线程CPU时间统计及clock_nanosleep支持 (#1517) 2025-12-20 23:04:23 +08:00
test_cred.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_cross_process_futex.c remove bad include (#1270) 2025-08-28 13:16:47 +08:00
test_cross_process_futex_shared_anon.c fix(futex): 修复futex的一些bug (#1311) 2025-10-10 13:39:47 +08:00
test_dup3.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_epoll.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_epoll_socket.c feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
test_eventfd.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_exception_table.c feat: 实现基于异常表的安全用户空间内存访问机制 (#1383) 2025-11-18 21:02:07 +08:00
test_exec_two_threads.c fix(process): 修复多线程exec的de_thread竞态与线程退出语义 (#1748) 2026-02-01 22:20:09 +08:00
test_fallocate.c feat(vfs): implement fallocate syscall (#1668) 2026-02-05 21:40:37 +08:00
test_fifo_write.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_filemap.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_fork_wait.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_fstat.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_fstatfs.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_gettimeofday.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_ioperf.c feat: 添加IO性能测试工具test_ioperf (#1666) 2026-01-15 13:22:25 +08:00
test_ip_local_port_range_netns.c feat(procfs): add /proc/sys/net/ipv4/ip_local_port_range interface (#1749) 2026-02-04 15:12:36 +08:00
test_kvm.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_loop.c feat(loop_device): 新增loop设备子系统 (#1261) 2025-12-24 14:29:46 +08:00
test_mincore.c feat(syscall/mincore):实现了mincore系统调用 (#1258) 2025-09-24 23:12:07 +08:00
test_mkfifo.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_mount_propagation.c feat(vfs): Implement mount propagation mechanism in VFS (#1410) 2025-11-27 01:07:16 +08:00
test_netlink.c feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
test_newfstatat.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_overlayfs.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_pipe_ring_buffer.c fix(vfs): 修复文件写入和管道读写逻辑 (#1335) 2025-11-03 22:09:06 +08:00
test_poll.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_ppoll.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_proc_self_exe.c fix: 修复/proc/self/exe符号链接处理问题 (#1359) 2025-11-11 16:15:38 +08:00
test_processgroup.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_pthread_basic.c fix: 修复多线程的一些bug (#1325) 2025-10-19 16:50:03 +08:00
test_pthread_create_join.c fix: 修复多线程的一些bug (#1325) 2025-10-19 16:50:03 +08:00
test_pty.c refactor: Add system call number to name conversion (#1279) 2025-09-16 01:48:40 +08:00
test_pwritev_perf.c fix(syscall/vfs): fix SIG derivative when writing partial readable buffer (#1375) 2025-11-22 00:00:57 +08:00
test_ramfs.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_reboot_halt.c feat(misc/reboot): 进一步完善reboot系统调用 (#1157) 2025-10-09 22:45:18 +08:00
test_reboot_restart.c feat(misc/reboot): 进一步完善reboot系统调用 (#1157) 2025-10-09 22:45:18 +08:00
test_rename.c feat(ext4): implement atomic rename and rename_exchange with POSIX semantics (#1758) 2026-02-11 00:19:11 +08:00
test_router.c feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
test_rseq_signal_bug.c fix(rseq): handle signal reentrancy bug and improve error handling (#1752) 2026-02-02 13:18:42 +08:00
test_rt_sigtimedwait.c feat(ipc): 实现 rt_sigtimedwait 系统调用并优化信号处理机制 (#1323) 2025-10-14 00:01:48 +08:00
test_select.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_sendfile.c add dropbear support (#1304) 2025-10-27 22:29:50 +08:00
test_session.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_set_get_xattr.c feat(syscall/getxattr): 实现关于扩展参数xattr的六个系统调用 (#1248) 2025-09-05 22:07:41 +08:00
test_setdomainname.c refactor(kernel): 优化UTS命名空间字符串处理 (#1745) 2026-02-01 18:05:13 +08:00
test_shebang.c feat(exec): 添加shebang脚本支持 (#1511) 2025-12-20 02:30:50 +08:00
test_shm_info.c feat(vfs): implement fallocate syscall (#1668) 2026-02-05 21:40:37 +08:00
test_shm_receiver.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_shm_sender.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_sigint.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_signal.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_signal_restart.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_sigprocmask.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_stack.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_statfs.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_stdin.c refactor: Add system call number to name conversion (#1279) 2025-09-16 01:48:40 +08:00
test_sys_capget.c feat: implement sys_capget and sys_capset system calls (#1293) 2025-09-25 17:17:26 +08:00
test_sys_capset.c feat: implement sys_capget and sys_capset system calls (#1293) 2025-09-25 17:17:26 +08:00
test_tgkill.c feat: add sys_clock_nanosleep, tgkill, tkill (#1307) 2025-10-08 14:19:27 +08:00
test_tkill.c feat: add sys_clock_nanosleep, tgkill, tkill (#1307) 2025-10-08 14:19:27 +08:00
test_truncate.c feat(filesystem): 实现truncate系统调用 (#1308) 2025-10-08 16:41:16 +08:00
test_uart.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_unix_stream_sock.c refactor(net): the big network rebuild (#977) 2025-09-12 00:35:13 +08:00
test_utimensat.c refactor: Compile user programs uniformly (#1239) 2025-08-12 01:47:54 +08:00
test_veth_bridge.c feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
test_wait_wnothread.c fix(wait): align WNOHANG/PGID wait semantics with Linux 6.6 (#1689) 2026-01-21 01:04:23 +08:00
test_waitid.c feat: 实现waitid系统调用及作业控制信号处理 (#1333) 2025-11-02 21:49:32 +08:00
tty_demo.c refactor: Add system call number to name conversion (#1279) 2025-09-16 01:48:40 +08:00