topjohnwu
|
2df9fd9a8a
|
Migrate module mounting to Rust
|
2025-05-15 09:15:20 -07:00 |
|
topjohnwu
|
4f4b1ff885
|
Add sepolicy.rule patching tests
|
2025-05-13 14:08:54 -07:00 |
|
topjohnwu
|
287316842c
|
Fix Android M sepolicy reading
|
2025-05-13 12:28:10 -07:00 |
|
topjohnwu
|
9684a35cab
|
Use rust::String::c_str to ensure nil termination
|
2025-05-09 16:02:46 -07:00 |
|
Wang Han
|
a20a2a8fa0
|
Recognize Samsung custom policy version path
|
2025-05-09 11:03:58 -07:00 |
|
topjohnwu
|
a2896be4a6
|
Cargo fmt
[skip ci]
|
2025-05-08 23:29:27 -07:00 |
|
LoveSy
|
e9220a28d9
|
Use splice to pump tty to avoid userspace copying
|
2025-05-08 23:20:46 -07:00 |
|
topjohnwu
|
00c1b36837
|
Support generating files for C++ IDE
|
2025-05-07 22:18:44 -07:00 |
|
topjohnwu
|
03e034795d
|
Implement Ord and PartialOrd for Utf8CStr familiy
|
2025-05-05 11:33:33 -07:00 |
|
LoveSy
|
79c0fafe43
|
Fix cleanup pre-init mount
|
2025-05-05 11:00:39 -07:00 |
|
vvb2060
|
86da917174
|
core: fix mkdirs
|
2025-05-02 16:39:46 -07:00 |
|
topjohnwu
|
22884e173a
|
Implement reboot in Rust
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
d1829308e9
|
Move more daemon_start code into Rust
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
73840f8721
|
Migrate selinux.cpp to selinux.rs
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
c7d1af9805
|
Stop using PathBuf in package.rs
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
4ad26d3dfb
|
Better path methods
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
0c70b7670c
|
Cleanup dir implementations
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
f44d044095
|
Remove Utf8CStrBuffer
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
5c1cb13472
|
Remove AsUtf8CStr trait
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
3327fc668e
|
Remove FsPath and FsPathMnt trait
Directly use Utf8CStr
|
2025-04-28 17:22:14 -07:00 |
|
topjohnwu
|
610945ac54
|
Remove open_fd macro
|
2025-04-28 17:22:14 -07:00 |
|
Howard Wu
|
6ba1685ade
|
Fix some seopt log
|
2025-04-22 03:25:21 -07:00 |
|
topjohnwu
|
e02b5f7868
|
Rename cstr_buf to cstr::buf
|
2025-04-22 03:21:00 -07:00 |
|
topjohnwu
|
ab2e5d1e7e
|
Make FsPathBuf a trait and rename to FsPathBuilder
|
2025-04-22 03:21:00 -07:00 |
|
topjohnwu
|
f3fef7bfe4
|
Make FsPath a trait
|
2025-04-22 03:21:00 -07:00 |
|
topjohnwu
|
c34c7838bb
|
Cleanup cstr implementation
|
2025-04-22 03:21:00 -07:00 |
|
topjohnwu
|
c8a16b0e0c
|
Remove unused code
|
2025-04-16 17:13:03 -07:00 |
|
topjohnwu
|
14f9ed91a1
|
Remove unused methods
|
2025-04-15 11:35:31 -07:00 |
|
topjohnwu
|
7a207d4ccf
|
Only accept UTF-8 directory entries
|
2025-04-15 10:26:22 -07:00 |
|
topjohnwu
|
92a42d901f
|
Move most implementation into Directory
|
2025-04-15 10:26:22 -07:00 |
|
topjohnwu
|
084d89fcce
|
Create Utf8CStrBuffer type
|
2025-04-15 10:26:22 -07:00 |
|
topjohnwu
|
55b036c071
|
Introduce BorrowedDirectory
|
2025-04-15 10:26:22 -07:00 |
|
topjohnwu
|
30e79310ab
|
Make pointers NonNull after error check
|
2025-04-15 00:18:48 -07:00 |
|
topjohnwu
|
f063fa5054
|
Cleanup xwrap implementation
|
2025-04-15 00:18:48 -07:00 |
|
topjohnwu
|
7bd901273c
|
Provide richer error messages
Make sure most syscall/libc calls results are mapped to OsResult
that can produce more detailed error messages.
|
2025-04-15 00:18:48 -07:00 |
|
topjohnwu
|
cb08504fe5
|
Update cargo dependencies
|
2025-04-11 14:48:16 -07:00 |
|
topjohnwu
|
c0a1fb77be
|
Code cleanup
|
2025-04-11 14:48:01 -07:00 |
|
LoveSy
|
4864c1112a
|
no pty for -c by default, and add -i to force pty
|
2025-04-11 13:21:10 -07:00 |
|
LoveSy
|
9ddeab034b
|
Fix wrong tty pump
See #1463
|
2025-04-11 13:21:10 -07:00 |
|
LoveSy
|
c4847ed288
|
Move pts to rust, and avoid using thread
|
2025-04-11 13:21:10 -07:00 |
|
topjohnwu
|
b8f1523fb2
|
Minor code reorg
[skip ci]
|
2025-04-08 17:20:22 -07:00 |
|
topjohnwu
|
9c7d359093
|
Optimize and format imports
[skip ci]
|
2025-04-08 09:57:09 -07:00 |
|
topjohnwu
|
eb54bc1fd7
|
Cleanup unused code
|
2025-04-08 02:33:52 -07:00 |
|
topjohnwu
|
d4a0286e13
|
Migrate magiskinit selinux.cpp to Rust
|
2025-04-08 02:33:52 -07:00 |
|
topjohnwu
|
1523ed9f78
|
Always go through rustup proxies
|
2025-04-01 10:01:35 -07:00 |
|
topjohnwu
|
2aba7247a9
|
Skip stub APK install on emulator
Reduce test flakiness
|
2025-03-26 13:15:12 -07:00 |
|
vvb2060
|
c2ece62e4c
|
native: delete global 16k option
NDK 28 enable 16 KiB page size compatibility option by default, delete the global option to restore 4k alignment for 32-bit arch.
|
2025-03-26 13:15:12 -07:00 |
|
topjohnwu
|
50af14f2a3
|
Move all MagiskInit entrypoints into init.rs
|
2025-03-24 17:26:03 -07:00 |
|
topjohnwu
|
e0a356b319
|
Introduce mount helper methods
|
2025-03-24 17:26:03 -07:00 |
|
topjohnwu
|
c09a792958
|
Reorganize magiskinit code
|
2025-03-24 17:26:03 -07:00 |
|