Commit Graph

1515 Commits

Author SHA1 Message Date
Zhe Tang 5348f4fc26 Implement the syscall `shmctl` 2026-01-20 08:53:07 +00:00
Zhe Tang 85536a548f Implement the syscall `shmdt` 2026-01-20 08:53:07 +00:00
Zhe Tang 07c64cf6a4 Implement the syscall `shmat` 2026-01-20 08:53:07 +00:00
Zhe Tang f0a9804fd8 Implement the syscall `shmget` 2026-01-20 08:53:07 +00:00
Zhe Tang 5af53a3ff2 Integrate System V shared memory into the kernel 2026-01-20 08:53:07 +00:00
Zhe Tang a7d6747f5e Add the shared memory backend 2026-01-20 08:32:05 +00:00
Zhe Tang 4b26a920ad Add the shared memory object for System V shared memory 2026-01-20 08:32:05 +00:00
Marsman1996 43f570730c Fix new_fd validation to use resource limits in `do_dup3` 2026-01-20 16:02:40 +08:00
Ruihan Li 6520682360 Inherit `SO_PEERCRED` for accepted sockets 2026-01-20 14:51:23 +08:00
Ruihan Li 98529bdbf0 Support `SO_PEERCRED` for UNIX datagrams 2026-01-20 14:51:23 +08:00
Ruihan Li f62ae40188 Allow empty UNIX control messages 2026-01-19 16:18:26 +08:00
Ruihan Li bdc1c79770 Fix overflow behavior and control flags 2026-01-18 18:39:32 -08:00
Ruihan Li e082d4eaa6 Respect `InotifyControls::ONESHOT` 2026-01-18 18:39:32 -08:00
Ruihan Li b5518ccd64 Remove unnecessary atomic loads 2026-01-18 18:39:32 -08:00
Ruihan Li 43b8838d6a Reject new watches on deleted inodes 2026-01-18 18:39:32 -08:00
li041 d23d25c552 Add `pidfd_getfd` syscall 2026-01-18 14:58:18 -08:00
li041 f58fb66cba Refactor `PidFile` to use `Weak<Process>` 2026-01-18 14:58:18 -08:00
Marsman1996 2219e83f8e Fix invalid mapping in mremap fast path 2026-01-16 17:22:18 +08:00
Chen Chengjun 38d455496b Modify all usages of the removed Path APIs 2026-01-15 19:04:51 -08:00
Chen Chengjun 1e5f2e186c Consolidate all path resolution related interfaces under PathResolver 2026-01-15 19:04:51 -08:00
Chen Chengjun 5d5f0bdcde Rename FsResolver to PathResolver and update all usages 2026-01-15 19:04:51 -08:00
Chen Chengjun 505114c17b Move fs_resolver.rs to path module as resolver.rs 2026-01-15 19:04:51 -08:00
Ruihan Li bd72728e04 Fix a typo in i8042 `is_present_cmdline` 2026-01-14 19:30:46 -08:00
Ruihan Li c1aa8a805c Fix checks for `VmarMapOptions::offset` 2026-01-14 10:27:33 +08:00
Ruihan Li fdcf5fd0fe Remove the `AT_NULL` variant 2026-01-14 10:27:33 +08:00
Ruihan Li 48ccafd7f9 Clean up the `init_stack` module 2026-01-14 10:27:33 +08:00
Chen Chengjun bae5de9e8f Move test/* to test/initramfs/* 2026-01-13 11:53:34 -08:00
wyt8 4fa2b55e47 Place the heap after bss segment 2026-01-13 22:01:15 +08:00
wyt8 dac3e94bea Consider the PIE condition when loading the ELF 2026-01-13 22:01:15 +08:00
Marsman1996 d9f4229e6c Fix panic in `add_posix_timer` 2026-01-13 11:06:09 +08:00
Marsman1996 8335ba22d9 Fix stack overflow handling in InitStackWriter by validating positions before writing 2026-01-12 15:57:31 +08:00
Wang Siyuan 1e77c0a938 Cleanup: Use `AtomicStatusFlags::new(flags)` instead of `AtomicU32::new(flags.bits())` 2026-01-11 17:00:23 -08:00
Wang Siyuan 138401b0ab Remove `PathOrInode` 2026-01-11 17:00:23 -08:00
Wang Siyuan fedd6dc196 Apply pseudo `Path` to members of `anon_inodefs` 2026-01-11 17:00:23 -08:00
Wang Siyuan 0565dd1349 Apply pseudo `Path` to sockets 2026-01-11 17:00:23 -08:00
Wang Siyuan bbb6a63ee4 Apply pseudo `Path` to anonymous pipes and remove `AnonPipeFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan 8eade9b631 Move pipe ktests into `pipe::common` 2026-01-11 17:00:23 -08:00
Wang Siyuan b25e41dd4f Apply pseudo `Path` to memfd files and remove `MemfdFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan e6361e5242 Add pseudo `Path` 2026-01-11 17:00:23 -08:00
Wang Siyuan cb5449cf2a Add pseudo `Dentry` 2026-01-11 17:00:23 -08:00
Wang Siyuan fe633972f3 Add pseudo `Mount` 2026-01-11 17:00:23 -08:00
jiangjianfeng 184e803869 Use accurate build time only when publishing 2026-01-08 20:02:57 -08:00
Tao Su 1442060c2d Introduce `DmaStream::alloc` to reduce memory copy in TDX 2026-01-07 22:38:50 -08:00
Ruihan Li 922b204280 Move `Pipe` from `InodeImpl` to `Inode` 2026-01-07 15:41:14 +08:00
Ruihan Li 413f459e20 Find present pages in xarray 2026-01-07 10:31:57 +08:00
Qingsong Chen 33f370966d Rename aster-nix to aster-kernel 2026-01-06 16:16:17 -08:00
Wang Siyuan bb9b979586 Support allocating inodes from `PseudoFs` 2026-01-06 14:26:06 +08:00
Wang Siyuan 02a04f1365 Polling a `fd` opened with `O_PATH` should return `POLLNVAL` 2026-01-06 14:26:06 +08:00
Wang Siyuan 1bf5b398dc Remove `inode_handle/dyn_cap.rs` and `HandleInner` 2026-01-06 14:26:06 +08:00
Wang Siyuan f2b9e356f1 Reorder `HandleInner` methods to clarify diff 2026-01-06 14:26:06 +08:00