Commit Graph

7268 Commits

Author SHA1 Message Date
topjohnwu 4f4b1ff885 Add sepolicy.rule patching tests 2025-05-13 14:08:54 -07:00
topjohnwu 97901979dd Test replace functionality 2025-05-13 14:08:54 -07:00
topjohnwu 287316842c Fix Android M sepolicy reading 2025-05-13 12:28:10 -07:00
topjohnwu 608786e8f3 Print verbose logs in avd_test.sh and cuttlefish.sh 2025-05-11 02:18:36 -07:00
topjohnwu 9684a35cab Use rust::String::c_str to ensure nil termination 2025-05-09 16:02:46 -07:00
Radoš Milićev e3e4202954 Update translation of core strings 2025-05-09 11:06:03 -07:00
Radoš Milićev 23c2054d46 Translate stub strings 2025-05-09 11:06:03 -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
vvb2060 cf12087e21 app: disable multiArch 2025-05-08 21:02:26 -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 d499819ba0 app: ignore androidx meta prop file 2025-05-02 16:40:37 -07:00
vvb2060 86da917174 core: fix mkdirs 2025-05-02 16:39:46 -07:00
ZGX089 30bd7d6555 feat: Improve Arabic translation (stub)
Fixed typos, Grammatical errors and changed/fixed other strings.
2025-05-01 13:47:46 -07:00
ZGX089 e5a12f0f5f feat: Improve Arabic translation
Fix Grammatical errors, typos, and changed/fixed other strings.
2025-05-01 13:47:46 -07:00
topjohnwu c85a8434c6 Update dependencies 2025-04-29 16:22:45 -07:00
topjohnwu 427a1ca4e5 Release new canary build
[skip ci]
canary-28104
2025-04-29 11:54:17 -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 ddf5474917 apt-get update before install to fix ci 2025-04-28 11:16: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 c1e061603b Specify ADB_SERIAL for emulator 2025-04-13 21:43:11 -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