Commit Graph

362 Commits

Author SHA1 Message Date
dependabot[bot] b2dbaa9bc8 build(deps): bump the crates group across 1 directory with 6 updates (#1984) 2024-08-19 00:14:28 +08:00
LoveSy fd09ccfc29 Drop some legacy codes (#1981) 2024-08-15 17:04:02 +08:00
LoveSy bbc31bdbca Use tempfile (#1980) 2024-08-15 16:28:05 +08:00
dependabot[bot] 2dac1c701c build(deps): bump the crates group across 1 directory with 22 updates (#1979) 2024-08-15 15:19:27 +08:00
dependabot[bot] 46f21e84e8 build(deps): bump the crates group across 1 directory with 12 updates (#1936) 2024-08-05 10:22:35 +08:00
LoveSy 3398bd580a Set zip features correctly (#1916) 2024-07-26 18:14:57 +08:00
LoveSy f722062775 Fix clippy 2024-07-26 13:24:55 +08:00
LoveSy f800751772 Use customize java-properties to get rid of regex dep 2024-07-26 13:22:27 +08:00
LoveSy f378b827b2 Remove regex dependency from android_logger 2024-07-26 13:12:36 +08:00
チセ a49adaa847 ksud: Replace dependencies regex to regex-lite 2024-07-26 13:12:36 +08:00
チセ 0911af0686 ksud(feat): Parse KMI from boot or kernel 2024-07-26 13:12:36 +08:00
dependabot[bot] 543da3589a build(deps): bump the crates group in /userspace/ksud with 7 updates (#1908) 2024-07-24 20:15:35 +08:00
dependabot[bot] 084182d7fb build(deps): bump syn from 2.0.71 to 2.0.72 in /userspace/ksud in the crates group (#1902) 2024-07-22 20:46:45 +08:00
LoveSy 62297a74a6 Upgrade rustix (#1900) 2024-07-22 07:43:59 +08:00
dependabot[bot] 109e92293c build(deps): bump the crates group in /userspace/ksud with 3 updates (#1898) 2024-07-21 22:47:47 +08:00
dependabot[bot] 35f97d85ad build(deps): bump the crates group in /userspace/ksud with 40 updates (#1894) 2024-07-19 23:54:31 +08:00
LoveSy 35d025cc18 Upgrade zip (#1891) 2024-07-19 22:50:50 +08:00
Wang Han 4a1ebe490e Allow skipping commented policy (#1870) 2024-07-10 11:38:12 +08:00
dependabot[bot] b056eacc5e build(deps): bump rust-embed from 8.4.0 to 8.5.0 in /userspace/ksud (#1869) 2024-07-09 22:09:34 +08:00
dependabot[bot] ad2d51ad5f build(deps): bump clap from 4.5.8 to 4.5.9 in /userspace/ksud (#1868) 2024-07-09 22:08:14 +08:00
LoveSy f80a946b0d ksud: upgrade zip (#1859) 2024-07-06 14:34:25 +08:00
dependabot[bot] 16d5742b12 build(deps): bump clap from 4.5.7 to 4.5.8 in /userspace/ksud (#1850) 2024-07-06 13:32:48 +08:00
dependabot[bot] a89a334cca build(deps): bump android_logger from 0.13.3 to 0.14.1 in /userspace/ksud (#1830)
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs)
from 0.13.3 to 0.14.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/rust-mobile/android_logger-rs/commits/0.14.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=android_logger&package-manager=cargo&previous-version=0.13.3&new-version=0.14.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-29 10:55:37 +08:00
dependabot[bot] 5e4c9a60d1 build(deps): bump log from 0.4.21 to 0.4.22 in /userspace/ksud (#1843)
Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/log/blob/master/CHANGELOG.md">log's
changelog</a>.</em></p>
<blockquote>
<h2>[0.4.22] - 2024-06-27</h2>
<h2>What's Changed</h2>
<ul>
<li>Add some clarifications to the library docs by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/620">rust-lang/log#620</a></li>
<li>Add links to <code>colog</code> crate by <a
href="https://github.com/chrivers"><code>@​chrivers</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/621">rust-lang/log#621</a></li>
<li>adding line_number test + updating some testing infrastructure by <a
href="https://github.com/DIvkov575"><code>@​DIvkov575</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/619">rust-lang/log#619</a></li>
<li>Clarify the actual set of functions that can race in _racy variants
by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/623">rust-lang/log#623</a></li>
<li>Replace deprecated std::sync::atomic::spin_loop_hint() by <a
href="https://github.com/Catamantaloedis"><code>@​Catamantaloedis</code></a>
in <a
href="https://redirect.github.com/rust-lang/log/pull/625">rust-lang/log#625</a></li>
<li>Check usage of max_level features by <a
href="https://github.com/Thomasdezeeuw"><code>@​Thomasdezeeuw</code></a>
in <a
href="https://redirect.github.com/rust-lang/log/pull/627">rust-lang/log#627</a></li>
<li>Remove unneeded import by <a
href="https://github.com/Thomasdezeeuw"><code>@​Thomasdezeeuw</code></a>
in <a
href="https://redirect.github.com/rust-lang/log/pull/628">rust-lang/log#628</a></li>
<li>Loosen orderings for logger initialization in <a
href="https://redirect.github.com/rust-lang/log/pull/632">rust-lang/log#632</a>.
Originally by <a
href="https://github.com/pwoolcoc"><code>@​pwoolcoc</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/599">rust-lang/log#599</a></li>
<li>Use Location::caller() for file and line info in <a
href="https://redirect.github.com/rust-lang/log/pull/633">rust-lang/log#633</a>.
Originally by <a
href="https://github.com/Cassy343"><code>@​Cassy343</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/520">rust-lang/log#520</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/chrivers"><code>@​chrivers</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/log/pull/621">rust-lang/log#621</a></li>
<li><a href="https://github.com/DIvkov575"><code>@​DIvkov575</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/log/pull/619">rust-lang/log#619</a></li>
<li><a
href="https://github.com/Catamantaloedis"><code>@​Catamantaloedis</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-lang/log/pull/625">rust-lang/log#625</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/log/compare/0.4.21...0.4.22">https://github.com/rust-lang/log/compare/0.4.21...0.4.22</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/log/commit/d5ba2cfee9b3b4ca1fcad911b7f59dc79eeee022"><code>d5ba2cf</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/634">#634</a>
from rust-lang/cargo/0.4.22</li>
<li><a
href="https://github.com/rust-lang/log/commit/d1a8306aadb88d56b74c73cdce4ef0153fb549cb"><code>d1a8306</code></a>
prepare for 0.4.22 release</li>
<li><a
href="https://github.com/rust-lang/log/commit/46894ef229483bbabd30a806c474417fc034559c"><code>46894ef</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/633">#633</a>
from rust-lang/feat/panic-info</li>
<li><a
href="https://github.com/rust-lang/log/commit/e0d389c9cadd91363f2fec52bd30f9585168a89f"><code>e0d389c</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/632">#632</a>
from rust-lang/feat/loosen-atomics</li>
<li><a
href="https://github.com/rust-lang/log/commit/c9e5e13e9b02ec80e784c6fe4deacdc8f3194fca"><code>c9e5e13</code></a>
use Location::caller() for file and line info</li>
<li><a
href="https://github.com/rust-lang/log/commit/507b672660288f0223edb6353d34f8733fa0a2f4"><code>507b672</code></a>
loosen orderings for logger initialization</li>
<li><a
href="https://github.com/rust-lang/log/commit/c879b011a8ac662545adf9484d9a668ebcf9b814"><code>c879b01</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/628">#628</a>
from Thomasdezeeuw/fix-warnings</li>
<li><a
href="https://github.com/rust-lang/log/commit/405fdb4d9f847c93c0133469ea808f09320714ba"><code>405fdb4</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/627">#627</a>
from Thomasdezeeuw/check-features</li>
<li><a
href="https://github.com/rust-lang/log/commit/1307ade1122549badf2b8fdd10c11e519eaa029a"><code>1307ade</code></a>
Remove unneeded import</li>
<li><a
href="https://github.com/rust-lang/log/commit/710560ecb7035a6baf1fd9d97d7f09d0cc075006"><code>710560e</code></a>
Don't use --all-features in CI</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/log/compare/0.4.21...0.4.22">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=log&package-manager=cargo&previous-version=0.4.21&new-version=0.4.22)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-29 10:54:57 +08:00
Wang Han ce776bc5e4 Update resetprop (#1842)
Sync with A15 branch to add property override support.
2024-06-29 10:54:32 +08:00
dependabot[bot] e7a04d0e7c build(deps): bump zip from 2.1.2 to 2.1.3 in /userspace/ksud (#1810)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.1.2 to 2.1.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.3</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Some date/time filters were previously unreliable (i.e. later-pass
filters had no earliest-pass or latest-fail, and vice-versa)</li>
<li>Decode Zip-Info UTF8 name and comment fields (<a
href="https://redirect.github.com/zip-rs/zip2/pull/159">#159</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Return extended timestamp fields copied rather than borrowed (<a
href="https://redirect.github.com/zip-rs/zip2/pull/183">#183</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix a new Clippy warning</li>
<li>Fix a bug and inline <code>deserialize</code> for safety</li>
<li>Add check for wrong-length blocks, and incorporate fixed-size
requirement into the trait name</li>
<li>Fix a fuzz failure by using checked_sub</li>
<li>Add feature gate for new unit test</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v2.1.2...v2.1.3">2.1.3</a>
- 2024-06-04</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Some date/time filters were previously unreliable (i.e. later-pass
filters had no earliest-pass or latest-fail, and vice-versa)</li>
<li>Decode Zip-Info UTF8 name and comment fields (<a
href="https://redirect.github.com/zip-rs/zip2/pull/159">#159</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Return extended timestamp fields copied rather than borrowed (<a
href="https://redirect.github.com/zip-rs/zip2/pull/183">#183</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix a new Clippy warning</li>
<li>Fix a bug and inline <code>deserialize</code> for safety</li>
<li>Add check for wrong-length blocks, and incorporate fixed-size
requirement into the trait name</li>
<li>Fix a fuzz failure by using checked_sub</li>
<li>Add feature gate for new unit test</li>
</ul>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.1">2.1.1</a>
- 2024-05-28</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Derive <code>Debug</code> for <code>ZipWriter</code></li>
<li>lower default version to 4.5 and use the version-needed-to-extract
where feasible.</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>use a MIN_VERSION constant</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Bug fixes for debug implementation</li>
<li>Bug fixes for debug implementation</li>
<li>Update unit tests</li>
<li>Remove unused import</li>
</ul>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0">2.1.0</a>
- 2024-05-25</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Support mutual conversion between <code>DateTime</code> and MS-DOS
pair</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Another tweak to ensure <code>version_needed</code> is applied</li>
<li>Tweaks to make <code>version_needed</code> and
<code>version_made_by</code> work with recently-merged changes</li>
</ul>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.3.1...v2.0.0">2.0.0</a>
- 2024-05-24</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add <code>fmt::Display</code> for <code>DateTime</code></li>
<li>Implement more traits for <code>DateTime</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/b5eb25d52fb457bcfe1bd535a5b5cda91825ae32"><code>b5eb25d</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/188">#188</a> from
zip-rs/release-plz-2024-06-04T17-06-20Z</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/cb076226f05159fa867d3a33a8a432b89894da54"><code>cb07622</code></a>
chore: release</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/5c77e93616df49e3b82905c1d81fd01449c62541"><code>5c77e93</code></a>
ci(fuzz): Update fuzz_write seed corpus</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/0fef68b68f357b43d208ad640d434a9e18d7be31"><code>0fef68b</code></a>
ci(fuzz): Update fuzz_read seed corpus</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/fce5e0a2d32526ef7c6dc87be37b5287c7eb4b46"><code>fce5e0a</code></a>
test: Add regression tests for <a
href="https://redirect.github.com/zip-rs/zip2/issues/159">#159</a></li>
<li><a
href="https://github.com/zip-rs/zip2/commit/e052842d78b505287f7bf6e56c8c927e3717754c"><code>e052842</code></a>
style: cargo fmt --all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/b4970dd80f98c623e38b280c514bff6604acade3"><code>b4970dd</code></a>
test: Delete a unit test that's no longer needed</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/362a1123b574c152df07593d22a4d994e1c20786"><code>362a112</code></a>
ci(fuzz): Limit Zopfli buffer size to fix OOMEs</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/b7bec1c2dd42470de4f0aedcb1131d72ad8f1d72"><code>b7bec1c</code></a>
fix: Some date/time filters were previously unreliable (i.e. later-pass
filte...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/cb50ca121350457c5fba1f0a7c3b3e907c7d2b2d"><code>cb50ca1</code></a>
test: Bug fix? Explicitly type int that may become as large as 3
&lt;&lt; 29</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v2.1.2...v2.1.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=2.1.2&new-version=2.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:05:50 +08:00
dependabot[bot] e75f65409f build(deps): bump regex from 1.10.4 to 1.10.5 in /userspace/ksud (#1815)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.10.5 (2024-06-09)</h1>
<p>This is a new patch release with some minor fixes.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/1203">#1203</a>](<a
href="https://redirect.github.com/rust-lang/regex/pull/1203">rust-lang/regex#1203</a>):
Escape invalid UTF-8 when in the <code>Debug</code> impl of
<code>regex::bytes::Match</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/0718fc5acbe91b84322ef1bd2c32e189e4668254"><code>0718fc5</code></a>
1.10.5</li>
<li><a
href="https://github.com/rust-lang/regex/commit/377463bd8200c038e7997a550aa708e0c686d90f"><code>377463b</code></a>
changelog: 1.10.4 and 1.10.5</li>
<li><a
href="https://github.com/rust-lang/regex/commit/68c4f0b7b7f500e0ab3fbdd42c14f837c4ed1be4"><code>68c4f0b</code></a>
regex-automata-0.4.7</li>
<li><a
href="https://github.com/rust-lang/regex/commit/4757b5f01a7b9b6c8d89bd63b3d1500f7e0efa9e"><code>4757b5f</code></a>
regex-syntax-0.8.4</li>
<li><a
href="https://github.com/rust-lang/regex/commit/1430b65baeebeb67b3335e26a71f251cce9964ef"><code>1430b65</code></a>
changelog: 1.10.4</li>
<li><a
href="https://github.com/rust-lang/regex/commit/1f9f9ccd393fc5342aff6db5e3d47915e87a2554"><code>1f9f9cc</code></a>
bytes: escape invalid UTF-8 bytes in debug output for Match</li>
<li><a
href="https://github.com/rust-lang/regex/commit/ab4c8d1f210a2e1011a4408476b2c708e64dcede"><code>ab4c8d1</code></a>
doc: fix duplicate phrasing typo</li>
<li><a
href="https://github.com/rust-lang/regex/commit/ddeb85eaa3bdf79d6306cc92a9d8bd89d839b5cd"><code>ddeb85e</code></a>
cli/deps: update memmap2 to 0.9</li>
<li><a
href="https://github.com/rust-lang/regex/commit/023f1c9ac117cd5ef2e45119b61b94f85d109667"><code>023f1c9</code></a>
lite: fix attribute warning about rustfmt</li>
<li><a
href="https://github.com/rust-lang/regex/commit/9c139f4fa5c64a89075749cd5e57148c8eea8c22"><code>9c139f4</code></a>
syntax: simplify <code>Hir::dot</code> constructors</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.10.4...1.10.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.10.4&new-version=1.10.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:05:23 +08:00
dependabot[bot] 2ce8c2df07 build(deps): bump clap from 4.5.4 to 4.5.7 in /userspace/ksud (#1817)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.5.7</h2>
<h2>[4.5.7] - 2024-06-10</h2>
<h3>Fixes</h3>
<ul>
<li>Clean up error message when too few arguments for
<code>num_args</code></li>
</ul>
<h2>v4.5.6</h2>
<h2>[4.5.6] - 2024-06-06</h2>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.5.7] - 2024-06-10</h2>
<h3>Fixes</h3>
<ul>
<li>Clean up error message when too few arguments for
<code>num_args</code></li>
</ul>
<h2>[4.5.6] - 2024-06-06</h2>
<h2>[4.5.5] - 2024-06-06</h2>
<h3>Fixes</h3>
<ul>
<li>Allow <code>exclusive</code> to override
<code>required_unless_present</code>,
<code>required_unless_present_any</code>,
<code>required_unless_present_all</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/clap-rs/clap/commit/6c6839a454c2cbfc3007e6a2b2a55dd64685771e"><code>6c6839a</code></a>
chore: Release</li>
<li><a
href="https://github.com/clap-rs/clap/commit/e79ff0d42be524502cc9a59b6e1d4c669cb4c760"><code>e79ff0d</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/clap-rs/clap/commit/be2e5ca91e34c60333cc7c7e7daeaf457972c815"><code>be2e5ca</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5527">#5527</a>
from epage/min</li>
<li><a
href="https://github.com/clap-rs/clap/commit/cf5c95862ecea004df7a8f44b234a959ea8ea36f"><code>cf5c958</code></a>
fix(parser): Report correct num_args on too-few</li>
<li><a
href="https://github.com/clap-rs/clap/commit/e0c9619c2796c9b7d784d4b8465b51c60756e05c"><code>e0c9619</code></a>
test(parser): Snapshot num_args errors</li>
<li><a
href="https://github.com/clap-rs/clap/commit/2f645d3e81c783a4e76ad17f1ccf283a58b75660"><code>2f645d3</code></a>
chore: Release</li>
<li><a
href="https://github.com/clap-rs/clap/commit/6e1e0368f9456eb85f232b4c72ccdf18b039947a"><code>6e1e036</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/clap-rs/clap/commit/7e1bbf82afd8dfd56926cbcdc687348086f9ade6"><code>7e1bbf8</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5523">#5523</a>
from ben--/zsh-colon</li>
<li><a
href="https://github.com/clap-rs/clap/commit/8e3c273b611b5579699d4ddd0eada278f490798b"><code>8e3c273</code></a>
fix(zsh): Separate options from _arguments options</li>
<li>See full diff in <a
href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.4...v4.5.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=4.5.4&new-version=4.5.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:05:07 +08:00
dependabot[bot] 9fdbaaa89f build(deps): bump zip-extensions from 0.6.2 to 0.7.0 in /userspace/ksud (#1798)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps
[zip-extensions](https://github.com/matzefriedrich/zip-extensions-rs)
from 0.6.2 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/matzefriedrich/zip-extensions-rs/releases">zip-extensions's
releases</a>.</em></p>
<blockquote>
<h2>v0.7.0</h2>
<h2>Changes</h2>
<ul>
<li>The <code>create_from_directory_with_options</code> method now
supports per-item file options. This introduces a breaking change:
instead of passing <code>FileOptions</code> directly, an <code>Fn</code>
must be specified that will be called for each file and must return a
<code>FileOptions</code> value.</li>
<li>Upgraded the zip dependency to version 0.6.6.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/matzefriedrich/zip-extensions-rs/blob/master/CHANGELOG.md">zip-extensions's
changelog</a>.</em></p>
<blockquote>
<h2>[0.7.0] - 2024-06-01</h2>
<h3>Changed</h3>
<ul>
<li>[PR <a
href="https://redirect.github.com/matzefriedrich/zip-extensions-rs/issues/13">#13</a>]
Adds support for per-item file options by the
<code>create_from_directory_with_options</code> method. This introduces
a breaking change; instead of passing a <code>FileOptions</code>
directly an <code>Fn</code> must be specified that is called for each
file, and must return a <code>FileOptions</code> value.</li>
<li>Upgraded the zip dependency to version 0.6.6.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/matzefriedrich/zip-extensions-rs/commit/b5858a69e58a1092e9abdeba6883bbfee5518368"><code>b5858a6</code></a>
Adds support for per-item FileOptions (<a
href="https://redirect.github.com/matzefriedrich/zip-extensions-rs/issues/14">#14</a>)</li>
<li>See full diff in <a
href="https://github.com/matzefriedrich/zip-extensions-rs/compare/v0.6.2...v0.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip-extensions&package-manager=cargo&previous-version=0.6.2&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 01:15:34 +08:00
dependabot[bot] 2a576470f5 build(deps): bump zip from 2.1.0 to 2.1.2 in /userspace/ksud (#1799)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.1.0 to 2.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.2</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Derive <code>Debug</code> for <code>ZipWriter</code></li>
<li>lower default version to 4.5 and use the version-needed-to-extract
where feasible.</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>use a MIN_VERSION constant</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Bug fixes for debug implementation</li>
<li>Bug fixes for debug implementation</li>
<li>Update unit tests</li>
<li>Remove unused import</li>
</ul>
<h2>v2.1.1</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Derive <code>Debug</code> for <code>ZipWriter</code></li>
<li>lower default version to 4.5 and use the version-needed-to-extract
where feasible.</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>use a MIN_VERSION constant</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Bug fixes for debug implementation</li>
<li>Bug fixes for debug implementation</li>
<li>Update unit tests</li>
<li>Remove unused import</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.1">2.1.1</a>
- 2024-05-28</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Derive <code>Debug</code> for <code>ZipWriter</code></li>
<li>lower default version to 4.5 and use the version-needed-to-extract
where feasible.</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>use a MIN_VERSION constant</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Bug fixes for debug implementation</li>
<li>Bug fixes for debug implementation</li>
<li>Update unit tests</li>
<li>Remove unused import</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/999d41d438b9a68f4b0c3994e95261eddebb29ad"><code>999d41d</code></a>
feat: Update dependencies</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/c74a8116806d6e6d0bef1504b138ed9216a6dbb4"><code>c74a811</code></a>
ci(fuzz): Update fuzz_read corpus to increase coverage</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/6d29c8cc19b5f485df60bba85e9dc7e7c6aaa1e8"><code>6d29c8c</code></a>
ci(fuzz): Update fuzz_read corpus to increase coverage</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/9e0966130f34c9a79307a004b13742e23034486f"><code>9e09661</code></a>
ci(fuzz): Update fuzz_write corpus to increase coverage</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/ae45a26c969f6e1de5d6a9043bb18e7abd0e8053"><code>ae45a26</code></a>
ci(fuzz): Increase max_len to 70,000 to let it include overlength
comments</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/212dbe757a8e84a51a0ff725c1a26e91cb6811f8"><code>212dbe7</code></a>
ci(fuzz): Update fuzz_read corpus to increase coverage</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/6539545524845874fa9eeff4201b917f9f9ea01d"><code>6539545</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/109">#109</a> from
afranchuk/configure-archive-offset</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/17c2d868a3f24bc5b7c88c55f158220ab2fa1f0e"><code>17c2d86</code></a>
Merge branch 'master' into configure-archive-offset</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/74c238042e2c8eff4b846cd8e7aa6be0b3bfb157"><code>74c2380</code></a>
ci(fuzz): Remove len_control override from fuzz_read</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/a65d182d98af542a1533145e7f9b3c5d68dbc5e2"><code>a65d182</code></a>
Merge branch 'master' into configure-archive-offset</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=2.1.0&new-version=2.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 01:15:17 +08:00
weishu f381e32434 ksud: remove modules dir when uninstall. close #1736 2024-05-28 11:28:28 +08:00
dependabot[bot] 9343376bb3 build(deps): bump zip from 2.0.0 to 2.1.0 in /userspace/ksud (#1775)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.0.0 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.0</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Support mutual conversion between <code>DateTime</code> and MS-DOS
pair</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Another tweak to ensure <code>version_needed</code> is applied</li>
<li>Tweaks to make <code>version_needed</code> and
<code>version_made_by</code> work with recently-merged changes</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0">2.1.0</a>
- 2024-05-25</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Support mutual conversion between <code>DateTime</code> and MS-DOS
pair</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
<li>version-needed-to-extract was incorrect in central header, and
version-made-by could be lower than that (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Another tweak to ensure <code>version_needed</code> is applied</li>
<li>Tweaks to make <code>version_needed</code> and
<code>version_made_by</code> work with recently-merged changes</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/6d4e460556bbeed91d9f5b7535031b1454998794"><code>6d4e460</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/154">#154</a> from
zip-rs/release-plz-2024-05-25T05-11-15Z</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/78aca55db55858ddfc008447fad92f2f23a7abb8"><code>78aca55</code></a>
chore: release</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/699d10da7109d9546c359ebed5959f4a257eee2d"><code>699d10d</code></a>
style: cargo fmt --all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/e6b2290f70390e5df56d62d5efad4fa179268eb0"><code>e6b2290</code></a>
chore: Another tweak to ensure <code>version_needed</code> is
applied</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/92012b979526f6810904836cd242dab1d57fbe44"><code>92012b9</code></a>
chore: Tweaks to make <code>version_needed</code> and
<code>version_made_by</code> work with recent...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/cda4712153b629cbcdbeda87418c7a7319d27eb9"><code>cda4712</code></a>
fix: version-needed-to-extract was incorrect in central header, and
version-m...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/b057d0dca2c6a5aae25b540a47c2f33c3399528e"><code>b057d0d</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/93">#93</a> from
cosmicexplorer/bulk-parsing</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/a28b16e69cc006c02cd8e38d869d5958bcc948b5"><code>a28b16e</code></a>
Apply suggestions from code review</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/df70f6a320a7a536616dcb50d650f2bdaedffdf7"><code>df70f6a</code></a>
Fix unmatched bracket due to bad merge</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/6b19c877e2fd4059b6b4b94c9a6a009bb61b83f1"><code>6b19c87</code></a>
Merge branch 'master' into bulk-parsing</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=2.0.0&new-version=2.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 10:30:44 +08:00
HDTianRu 0674841b94 ksud: Skip patch init_boot.img on kmi android12-xxx devices (#1744)
有一些设备(如ace2v),带了initboot,但ramdisk却在boot里,导致无法使用ota安装与直接安装,所以添加了个开关
因为本人开发环境有点简陋(mt管理器),而且对项目代码不太熟,合并前最好review一下(
2024-05-25 11:09:06 +08:00
Caner Karaca dc233700aa Update Dependencies and Migrate to Kotlin 2 (#1765)
Corrections/edits and reviews always welcomed.

Migrate to Kotlin 2
Updated dependencies
Refreshed lock files
2024-05-25 11:07:27 +08:00
チセ 9c2e48bb3e ksud: turn off auto-detect bootdevice when OS is not android (#1746) 2024-05-21 09:18:28 +08:00
Wang Han 4871e11a55 Update resetprop (#1742)
With topjohnwu/Magisk@941a363 included.
2024-05-19 15:24:59 +08:00
dependabot[bot] fa7f5959b2 build(deps): bump zip from 1.2.3 to 1.3.0 in /userspace/ksud (#1738)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.2.3 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v1.3.0</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add <code>is_symlink</code> method</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Extract symlinks into symlinks on Unix and Windows, and fix a bug
that affected making directories writable on MacOS</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Eliminate deprecation warning when <code>--all-features</code>
implicitly enables the deprecated feature</li>
<li>Check if archive contains a symlink's target, without borrowing both
at the same time</li>
<li>Eliminate a clone that's no longer necessary</li>
<li>is_dir only needs to look at the filename</li>
<li>Remove unnecessary #[cfg] attributes</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix borrow-of-moved-value</li>
<li>Box<!-- raw HTML omitted --> doesn't directly convert to PathBuf, so
convert back to String first</li>
<li>partial revert - only &amp;str has chars(), but Box<!-- raw HTML
omitted --> should auto-deref</li>
<li>contains_key needs a <code>Box&lt;str&gt;</code>, so generify
<code>is_dir</code> to accept one</li>
<li>Add missing <code>ZipFileData::is_dir()</code> method</li>
<li>Fix another Windows-specific error</li>
<li>More bug fixes for Windows-specific symlink code</li>
<li>More bug fixes for Windows-specific symlink code</li>
<li>Bug fix: variable name change</li>
<li>Bug fix: need both internal and output path to determine whether to
symlink_dir</li>
<li>Another bug fix</li>
<li>Fix another error-type conversion error</li>
<li>Fix error-type conversion on Windows</li>
<li>Fix conditionally-unused import</li>
<li>Fix continued issues, and factor out the Vec<!-- raw HTML omitted
-->-to-OsString conversion (cc: <a
href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li>
<li>Fix CI failure involving conversion to OsString for symlinks (see my
comments on <a
href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li>
<li>Move path join into platform-independent code</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.2.3...v1.3.0">1.3.0</a>
- 2024-05-17</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add <code>is_symlink</code> method</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Extract symlinks into symlinks on Unix and Windows, and fix a bug
that affected making directories writable on MacOS</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Eliminate deprecation warning when <code>--all-features</code>
implicitly enables the deprecated feature</li>
<li>Check if archive contains a symlink's target, without borrowing both
at the same time</li>
<li>Eliminate a clone that's no longer necessary</li>
<li>is_dir only needs to look at the filename</li>
<li>Remove unnecessary #[cfg] attributes</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix borrow-of-moved-value</li>
<li>Box<!-- raw HTML omitted --> doesn't directly convert to PathBuf, so
convert back to String first</li>
<li>partial revert - only &amp;str has chars(), but Box<!-- raw HTML
omitted --> should auto-deref</li>
<li>contains_key needs a <code>Box&lt;str&gt;</code>, so generify
<code>is_dir</code> to accept one</li>
<li>Add missing <code>ZipFileData::is_dir()</code> method</li>
<li>Fix another Windows-specific error</li>
<li>More bug fixes for Windows-specific symlink code</li>
<li>More bug fixes for Windows-specific symlink code</li>
<li>Bug fix: variable name change</li>
<li>Bug fix: need both internal and output path to determine whether to
symlink_dir</li>
<li>Another bug fix</li>
<li>Fix another error-type conversion error</li>
<li>Fix error-type conversion on Windows</li>
<li>Fix conditionally-unused import</li>
<li>Fix continued issues, and factor out the Vec<!-- raw HTML omitted
-->-to-OsString conversion (cc: <a
href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li>
<li>Fix CI failure involving conversion to OsString for symlinks (see my
comments on <a
href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li>
<li>Move path join into platform-independent code</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/102e31113daa5e9553db14c985b1db3f519174a8"><code>102e311</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/131">#131</a> from
zip-rs/release-plz-2024-05-15T23-52-34Z</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/461fb58a0257689204ed6b314b4c3d48239b8fc0"><code>461fb58</code></a>
chore: release</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/a8b2855910da393a147b634dffe3127e39360897"><code>a8b2855</code></a>
ci: Auto-merge PRs from within repo even if I'm the triggering
actor</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/6fa4486089eff50d3dc6fdf77fe73d55c8087475"><code>6fa4486</code></a>
Enable attestation of release builds</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/3e81fddb78e2faa1f7a6caacfc03ef1879092feb"><code>3e81fdd</code></a>
style: cargo fmt --all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/1cb0e1b3b7812182f4ac44750ee37353386ef48c"><code>1cb0e1b</code></a>
refactor: Eliminate deprecation warning when <code>--all-features</code>
implicitly enab...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/fbf111ef9714a91edf4fed8d80c0b63748b80d63"><code>fbf111e</code></a>
style: cargo fmt --all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/3e06f6433afdc485fbbf4e46f79070ade5996e63"><code>3e06f64</code></a>
chore: Fix borrow-of-moved-value</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/633a6733e6ebb19de9745d6679935c2b168821d0"><code>633a673</code></a>
refactor: Check if archive contains a symlink's target, without
borrowing bot...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/17fee7938a33aebaab84f21f12a7551c2576bb48"><code>17fee79</code></a>
refactor: Eliminate a clone that's no longer necessary</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v1.2.3...v1.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=1.2.3&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-18 10:26:41 +08:00
dependabot[bot] 64ddf47783 build(deps): bump zip from 1.2.1 to 1.2.3 in /userspace/ksud (#1728)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.2.1 to 1.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.3</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Remove a window when an extracted directory might be unexpectedly
listable and/or <code>cd</code>able by non-owners</li>
<li>Extract directory contents on Unix even if the directory doesn't
have write permission (<a
href="https://redirect.github.com/zip-rs/zip-old/issues/423">zip-rs/zip-old#423</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>More conditionally-unused imports</li>
</ul>
<h2>v1.2.2</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Failed to clear &quot;writing_raw&quot; before finishing a symlink,
leading to dropped extra fields</li>
</ul>
<h3><!-- raw HTML omitted --> Performance</h3>
<ul>
<li>Use boxed slice for archive comment, since it can't be
concatenated</li>
<li>Optimize for the fact that false signatures can't overlap with real
ones</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.2.2...v1.2.3">1.2.3</a>
- 2024-05-10</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Remove a window when an extracted directory might be unexpectedly
listable and/or <code>cd</code>able by non-owners</li>
<li>Extract directory contents on Unix even if the directory doesn't
have write permission (<a
href="https://redirect.github.com/zip-rs/zip-old/issues/423">zip-rs/zip-old#423</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>More conditionally-unused imports</li>
</ul>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.2.1...v1.2.2">1.2.2</a>
- 2024-05-09</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Failed to clear &quot;writing_raw&quot; before finishing a symlink,
leading to dropped extra fields</li>
</ul>
<h3><!-- raw HTML omitted --> Performance</h3>
<ul>
<li>Use boxed slice for archive comment, since it can't be
concatenated</li>
<li>Optimize for the fact that false signatures can't overlap with real
ones</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/adb40b83d2b7efd9dc4bd2ea06fda14637dcdde4"><code>adb40b8</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/118">#118</a> from
zip-rs/release-plz-2024-05-10T23-54-42Z</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/3d7852a337c3f0359612d04c7751c70a0ef12c9e"><code>3d7852a</code></a>
chore: release</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/a385aaf854687020f23e03dbe0d1035b49c949a4"><code>a385aaf</code></a>
doc: Important correction: consuming package has to <em>target</em>
Unix, e.g. this ...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/4a5d28ed30894c9d379529dea8f593e74ea2d358"><code>4a5d28e</code></a>
doc: Important correction: contents might not have been extracted at
all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/ba4c6936d542731150dbf90e76967d8bde252ad1"><code>ba4c693</code></a>
doc: Important clarification: &quot;any user&quot; -&gt; &quot;any
non-root user&quot;</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/c28614a0b224ff715537d0faf548ceecaf85bc06"><code>c28614a</code></a>
doc: Document the guarantee provided by
137672cb29a264412211cc20b78f540308a221d3</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/137672cb29a264412211cc20b78f540308a221d3"><code>137672c</code></a>
fix: Remove a window when an extracted directory might be unexpectedly
listab...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/c0691ec1e547796de361d3c0c376b77236c9308c"><code>c0691ec</code></a>
Improve copyright warning</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/123fb7b8071bd50e1937d2d39e0746b7ddec486f"><code>123fb7b</code></a>
doc: Improve copyright warning</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/2198653882f90328f7b76bcbad74e33bbe6216ae"><code>2198653</code></a>
Add issue templates</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v1.2.1...v1.2.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=1.2.1&new-version=1.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 10:33:37 +08:00
dependabot[bot] d3a5054f68 build(deps): bump rust-embed from 8.3.0 to 8.4.0 in /userspace/ksud (#1729)
Bumps [rust-embed](https://github.com/pyros2097/rust-embed) from 8.3.0
to 8.4.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyrossh/rust-embed/blob/master/changelog.md">rust-embed's
changelog</a>.</em></p>
<blockquote>
<h2>[8.4.0] - 2024-05-11</h2>
<ul>
<li>Re-export RustEmbed as Embed <a
href="https://redirect.github.com/pyrossh/rust-embed/pull/245/files">#245</a>.
Thanks to <a href="https://github.com/pyrossh">pyrossh</a></li>
<li>Do not build glob matchers repeatedly when include-exclude feature
is enabled <a
href="https://redirect.github.com/pyrossh/rust-embed/pull/244/files">#244</a>.
Thanks to <a href="https://github.com/osiewicz">osiewicz</a></li>
<li>Add <code>metadata_only</code> attribute <a
href="https://redirect.github.com/pyrossh/rust-embed/pull/241/files">#241</a>.
Thanks to <a href="https://github.com/ddfisher">ddfisher</a></li>
<li>Replace <code>expect</code> with a safer alternative that returns
<code>None</code> instead <a
href="https://redirect.github.com/pyrossh/rust-embed/pull/240/files">#240</a>.
Thanks to <a href="https://github.com/costinsin">costinsin</a></li>
<li>Eliminate unnecessary <code>to_path</code> call <a
href="https://redirect.github.com/pyrossh/rust-embed/pull/239/files">#239</a>.
Thanks to <a href="https://github.com/smoelius">smoelius</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/pyros2097/rust-embed/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust-embed&package-manager=cargo&previous-version=8.3.0&new-version=8.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 10:33:21 +08:00
powellnorma 71cb86c2e9 ksud: refine get_tmp_path (#1713)
Fixes #1710

What do you think?

* It first uses `TEMP_DIR` (`/debug_ramdisk`) if it exists + is is
empty.
* Otherwise it tries to create a random directory in `/dev`.
* If that fails, it goes through a list of directories (including
`TEMP_DIR_LEGACY`), and chooses the first one that is empty.
* If no empty directory it chooses the first one that exists

---------

Co-authored-by: user <user@localhost>
2024-05-16 10:30:20 +08:00
weishu a3df721b84 Revert "su: allocate new pty (#1693)"
This reverts commit 935dc18faa.
2024-05-08 21:18:55 +08:00
dependabot[bot] 21573bbd5b build(deps): bump zip from 1.1.4 to 1.2.1 in /userspace/ksud (#1708)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.1.4 to 1.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.1</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Prevent panic when trying to read a file with an unsupported
compression method</li>
<li>Prevent panic after reading an invalid LZMA file</li>
<li>Make <code>Stored</code> the default compression method if
<code>Deflated</code> isn't available, so that zip files are readable by
as much software as possible</li>
<li>version_needed was wrong when e.g. cfg(bzip2) but current file
wasn't bzip2 (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
<li>file paths shouldn't start with slashes (<a
href="https://redirect.github.com/zip-rs/zip2/pull/102">#102</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Overhaul <code>impl Arbitrary for FileOptions</code></li>
<li>Remove unused <code>atomic</code> module</li>
</ul>
<h2>v1.2.0</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add method <code>decompressed_size()</code> so non-recursive ZIP
bombs can be detected</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Make <code>ZipWriter::finish()</code> consume the
<code>ZipWriter</code></li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Use panic! rather than abort to ensure the fuzz harness can process
the failure</li>
<li>Update fuzz_write to use replace_with</li>
<li>Remove a drop that can no longer be explicit</li>
<li>Add <code>#![allow(unexpected_cfgs)]</code> in nightly</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.2.0...v1.2.1">1.2.1</a>
- 2024-05-06</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Prevent panic when trying to read a file with an unsupported
compression method</li>
<li>Prevent panic after reading an invalid LZMA file</li>
<li>Make <code>Stored</code> the default compression method if
<code>Deflated</code> isn't available, so that zip files are readable by
as much software as possible</li>
<li>version_needed was wrong when e.g. cfg(bzip2) but current file
wasn't bzip2 (<a
href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li>
<li>file paths shouldn't start with slashes (<a
href="https://redirect.github.com/zip-rs/zip2/pull/102">#102</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Overhaul <code>impl Arbitrary for FileOptions</code></li>
<li>Remove unused <code>atomic</code> module</li>
</ul>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.1.4...v1.2.0">1.2.0</a>
- 2024-05-06</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add method <code>decompressed_size()</code> so non-recursive ZIP
bombs can be detected</li>
</ul>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Make <code>ZipWriter::finish()</code> consume the
<code>ZipWriter</code></li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Use panic! rather than abort to ensure the fuzz harness can process
the failure</li>
<li>Update fuzz_write to use replace_with</li>
<li>Remove a drop that can no longer be explicit</li>
<li>Add <code>#![allow(unexpected_cfgs)]</code> in nightly</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/b725303cce4fda36737da2c93d2228581bfd7632"><code>b725303</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/103">#103</a> from
zip-rs/release-plz-2024-05-06T17-54-03Z</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/a1f239980ebf4e78e36f2e45a1e00705c77adb73"><code>a1f2399</code></a>
chore: release</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/f7ab2ae506f7c6be05a8f9362731397ddd2f2d1d"><code>f7ab2ae</code></a>
fix: Prevent panic when trying to read a file with an unsupported
compression...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/7f46b77da208648e311a0739a253365b4930c6b1"><code>7f46b77</code></a>
ci: Upload leak reports if fuzz fails</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/d13031cc14738d2c4c0d75e43b039a0e06dcdf15"><code>d13031c</code></a>
fix: Prevent panic after reading an invalid LZMA file</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/8868a11d23976ea5d8d6e1a34e854164b2723d7a"><code>8868a11</code></a>
test(fuzz): Fix a fuzz-read bug when finishing LZMA</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/b277298d7fdddb68e7e2a9f287b49a40e7db35e1"><code>b277298</code></a>
test(fuzz): Fix: need to accept FileNotFound from abort</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/162c9b7281736fb96a17e8cad3b3bf0758384ca7"><code>162c9b7</code></a>
test(fuzz): Fix bugs that were breaking the fuzz test</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/447f9c6e4f84801a859c78d3408b5b3e0738b0a5"><code>447f9c6</code></a>
refactor: Overhaul <code>impl Arbitrary for FileOptions</code></li>
<li><a
href="https://github.com/zip-rs/zip2/commit/845c3ec91f1beff559af8b5da19b5fc3fa332abc"><code>845c3ec</code></a>
refactor: Remove unused <code>atomic</code> module</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v1.1.4...v1.2.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=1.1.4&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 11:10:42 +08:00
weishu fe526cb029 ksud: Fix compiler error 2024-05-08 11:09:27 +08:00
dependabot[bot] 239989719d build(deps): bump zip from 1.1.3 to 1.1.4 in /userspace/ksud (#1701)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.1.3 to 1.1.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/releases">zip's
releases</a>.</em></p>
<blockquote>
<h2>v1.1.4</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Rare bug where find_and_parse would give up prematurely on detecting
a false end-of-CDR header</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/zip-rs/zip2/compare/v1.1.3...v1.1.4">1.1.4</a>
- 2024-05-04</h2>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li>Build was failing with bzip2 enabled</li>
<li>use is_dir in more places where Windows paths might be handled
incorrectly</li>
</ul>
<h3><!-- raw HTML omitted --> Performance</h3>
<ul>
<li>Quick filter for paths that contain &quot;/../&quot; or
&quot;/./&quot; or start with &quot;./&quot; or &quot;../&quot;</li>
<li>Fast handling for separator-free paths</li>
<li>Speed up logic if main separator isn't '/'</li>
<li>Drop <code>normalized_components</code> slightly sooner when not
using it</li>
<li>Speed up <code>path_to_string</code> in cases where the path is
already in the proper format</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Refactor: can short-circuit handling of paths that start with
MAIN_SEPARATOR, no matter what MAIN_SEPARATOR is</li>
<li>Bug fix: non-canonical path detection when MAIN_SEPARATOR is not
slash or occurs twice in a row</li>
<li>Bug fix: must recreate if . or .. is a path element</li>
<li>Bug fix</li>
</ul>
<h3><!-- raw HTML omitted -->◀️ Revert</h3>
<ul>
<li><a href="https://redirect.github.com/zip-rs/zip2/pull/58">#58</a>
(partial): <code>bzip2-rs</code> can't replace <code>bzip2</code>
because it's decompress-only</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/zip-rs/zip2/commit/a9482ea8ca3d49bed824a38433160af1aae6aa44"><code>a9482ea</code></a>
Bump version to trigger new release PR</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/52af9ffd238443b47a2a36a5909d64ca04ff8eac"><code>52af9ff</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/96">#96</a> from
zip-rs/oldpr452</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/3ccaa3cc857ae01f0c0f93b6c4862a0add8b5674"><code>3ccaa3c</code></a>
style: cargo fmt --all &amp; <code>#![allow(dead_code)]</code></li>
<li><a
href="https://github.com/zip-rs/zip2/commit/de95acc543d0f77ea13e860c5713941e2490c16c"><code>de95acc</code></a>
style: allow conditionally-unused variables in write_dir.rs</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/c4906cfd596edc54ec3a5b0d8686927c5e179adc"><code>c4906cf</code></a>
Merge remote-tracking branch 'allilo/add_compression_algo_arg' into
oldpr452</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/629707c0604542c5c2fc7e5f484611981b791f23"><code>629707c</code></a>
Merge pull request <a
href="https://redirect.github.com/zip-rs/zip2/issues/95">#95</a> from
zip-rs/speedup_path_to_string</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/1852e96192927e5cdc873eade213a69e08739c1f"><code>1852e96</code></a>
Prelim changes to write_dir</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/1b2c42b199dcc69a4d4a43004f6030a6e8db02c1"><code>1b2c42b</code></a>
style: cargo fmt --all</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/74e76a94cabefcf506ccc8314be752c64b21e51d"><code>74e76a9</code></a>
chore: Refactor: can short-circuit handling of paths that start with
MAIN_SEP...</li>
<li><a
href="https://github.com/zip-rs/zip2/commit/2adbbccb82ba60f90dd1302f0f6594213ca9abf0"><code>2adbbcc</code></a>
perf: Quick filter for paths that contain &quot;/../&quot; or
&quot;/./&quot; or start with &quot;./&quot; ...</li>
<li>Additional commits viewable in <a
href="https://github.com/zip-rs/zip2/compare/v1.1.3...v1.1.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=zip&package-manager=cargo&previous-version=1.1.3&new-version=1.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 19:03:34 +08:00
5ec1cff 935dc18faa su: allocate new pty (#1693) 2024-05-07 19:02:59 +08:00
weishu d623b9fe09 ksud: bump zip dependency to 1.x 2024-05-02 12:04:28 +08:00
fsxitutu 839fc0534e Add magiskboot to kernelsu working directory (#1684)
Add the magiskboot binary to the /data/adb/ksu/bin directory so that
scripts/programs can call magiskboot to patch the boot/init_boot image.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-01 09:48:59 +08:00
Wang Han 045bc7f6fb Update resetprop (#1671)
With https://github.com/topjohnwu/system_properties/pull/3 included.
2024-04-26 22:46:18 +08:00
weishu c8dd0b070c ksud: Fix compiler error 2024-04-24 21:36:38 +08:00
weishu 063d5c8025 ksud: use sha1 library to calc hash 2024-04-24 12:51:11 +08:00