Commit Graph

1647 Commits

Author SHA1 Message Date
dependabot[bot] 2e94e07d70 build(deps): bump lifecycle from 2.7.0 to 2.8.0 in /manager (#1735)
Bumps `lifecycle` from 2.7.0 to 2.8.0.
Updates `androidx.lifecycle:lifecycle-runtime-ktx` from 2.7.0 to 2.8.0

Updates `androidx.lifecycle:lifecycle-runtime-compose` from 2.7.0 to
2.8.0

Updates `androidx.lifecycle:lifecycle-viewmodel-compose` from 2.7.0 to
2.8.0


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:34:20 +08:00
dependabot[bot] 99e2707be4 build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.8.0 to 1.8.1 in /manager (#1722)
Bumps
[org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines)
from 1.8.0 to 1.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-core's
releases</a>.</em></p>
<blockquote>
<h2>1.8.1</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Introduce a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small tweaks and documentation fixes.</li>
</ul>
<h2>1.8.1-Beta</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Attempt a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li>Small tweaks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-core's
changelog</a>.</em></p>
<blockquote>
<h2>Version 1.8.1</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Introduce a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small tweaks and documentation fixes.</li>
</ul>
<h3>Changelog relative to version 1.8.1-Beta</h3>
<ul>
<li><code>Flow.timeout</code> throws the exception with which the
channel was closed (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4071">#4071</a>).</li>
<li>Small documentation fixes.</li>
</ul>
<h2>Version 1.8.1-Beta</h2>
<ul>
<li>Remove the <code>@ExperimentalTime</code> annotation from usages of
<code>TimeSource</code> (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4046">#4046</a>).
Thanks, <a
href="https://github.com/hfhbd"><code>@​hfhbd</code></a>!</li>
<li>Attempt a workaround for an Android bug that caused an occasional
<code>NullPointerException</code> when setting the
<code>StateFlow</code> value on old Android devices (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3820">#3820</a>).</li>
<li>No longer use <code>kotlin.random.Random</code> as part of
<code>Dispatchers.Default</code> and <code>Dispatchers.IO</code>
initialization (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4051">#4051</a>).</li>
<li>Small tweaks.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/cd696d3f8f4afdbc735915c2bded974616331b55"><code>cd696d3</code></a>
Version 1.8.1</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/c1ba5af8c5d10a3d2f923f89b98f6ab1b394e24d"><code>c1ba5af</code></a>
Fix the ticker channel example giving wrong results on the website (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4109">#4109</a>)</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/2430d9a799de6fdbe0ce89e5e61e1d8d4cfdfb1e"><code>2430d9a</code></a>
Fix broken API reference links to the Project Reactor Javadoc (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4111">#4111</a>)</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/f22b229a09fb0a1959c3eb26fccc24bd7cb3fafb"><code>f22b229</code></a>
fix the link to <code>Thread.uncaughtExceptionHandler</code></li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/515308dc3d5fe0624f235cb9fd84358e7e59b7a1"><code>515308d</code></a>
fix: get rid of horizontal scrolling by splitting the comment and show
more c...</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/f8d1821f137cad86561723e8a1a0bf8a3a81fda1"><code>f8d1821</code></a>
Fix typo in coroutine-context-and-dispatchers.md (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3941">#3941</a>)</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/20707d35acb124fdadbd96eafef4edb8294c2e46"><code>20707d3</code></a>
fix: remove <code>sampleStart</code> and <code>sampleEnd</code> comments
from example in coroutine-...</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/01485343b4fab3692d0806b4c3706b23c6b04f1d"><code>0148534</code></a>
chore: fix identation in example loadContributorsBlocking() (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4085">#4085</a>)</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/74774df13a8dd30980a96add574c19b2f2edbfca"><code>74774df</code></a>
Docs: reference to The Hitchhiker's Guide to the Galaxy (<a
href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4082">#4082</a>)</li>
<li><a
href="https://github.com/Kotlin/kotlinx.coroutines/commit/d106ac7c362c54fdeffacc6af0b161ed107babaa"><code>d106ac7</code></a>
Docs: avoid scrolling sample code; fix test description; add () to
functions ...</li>
<li>Additional commits viewable in <a
href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.8.0...1.8.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.kotlinx:kotlinx-coroutines-core&package-manager=gradle&previous-version=1.8.0&new-version=1.8.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-16 10:33:59 +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
weishu 123b66e84b kernel: fix devpts permission. close #1727 2024-05-16 10:32:48 +08:00
igor d76004c6f1 website: update translations (#1717) 2024-05-16 10:30:48 +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
Hadad D fb6ce7ee62 json: added KSU support in Android 14 for the Xiaomi Redmi 7 and Xiao… (#1732)
…mi Redmi Y3.

makes ksu user happy.
2024-05-16 10:28:55 +08:00
weishu 7af4f338e5 kernel: Fix compile error on 4.4. close #1720 2024-05-10 15:01:05 +08:00
weishu 109442f8c4 docs: Add devpts description for non gki v0.9.4 2024-05-09 12:05:10 +08:00
dependabot[bot] a943528d82 build(deps): bump agp from 8.3.2 to 8.4.0 in /manager (#1688)
Bumps `agp` from 8.3.2 to 8.4.0.
Updates `com.android.application` from 8.3.2 to 8.4.0

Updates `com.android.library` from 8.3.2 to 8.4.0


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-09 10:04:21 +08:00
weishu a3df721b84 Revert "su: allocate new pty (#1693)"
This reverts commit 935dc18faa.
2024-05-08 21:18:55 +08:00
weishu 98757bcdb3 kernel: transition devpts in kernel 2024-05-08 21:15:49 +08:00
Weblate (bot) e0267a22f8 Translations update from Hosted Weblate (#1662)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for
[KernelSU/Manager](https://hosted.weblate.org/projects/kernelsu/manager/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/kernelsu/manager/horizontal-auto.svg)

---------

Co-authored-by: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Co-authored-by: Ričards L <ricards.lacis18@gmail.com>
Co-authored-by: Pierre GRASSER <pierre.grasser@proton.me>
Co-authored-by: yuztass <inkognito0901@gmail.com>
Co-authored-by: AndroPlus <hosigumayuugi@gmail.com>
Co-authored-by: dabao1955 <dabao1955@163.com>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
2024-05-08 16:02:12 +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] 57b96da9db build(deps): bump androidx.compose:compose-bom from 2024.04.01 to 2024.05.00 in /manager (#1691)
Bumps androidx.compose:compose-bom from 2024.04.01 to 2024.05.00.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.compose:compose-bom&package-manager=gradle&previous-version=2024.04.01&new-version=2024.05.00)](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:04:16 +08:00
dependabot[bot] 0134b27ca7 build(deps): bump androidx.webkit:webkit from 1.10.0 to 1.11.0 in /manager (#1692)
Bumps androidx.webkit:webkit from 1.10.0 to 1.11.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.webkit:webkit&package-manager=gradle&previous-version=1.10.0&new-version=1.11.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-07 19:03:58 +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
김도훈 2f8323e0a3 docs: Add translation in README_KR (#1703) 2024-05-07 19:03:16 +08:00
5ec1cff 935dc18faa su: allocate new pty (#1693) 2024-05-07 19:02:59 +08:00
Light_summer f2816653d9 manager: Make SwitchItem can be click like preference (#1697)
Use `AutoMirrored` icon
Drop some deprecated methods
Remove unused imports
Add bottom padding for AppProfileTemplateScreen to avoid display content
behind fab
2024-05-04 20:41:05 +08:00
Flame 8ee274f7d8 device: remove POCO F3/Redmi K40/Mi 11X (alioth) (#1694)
I do patches now,
https://codeberg.org/vyrine/android_vendor_extra/src/branch/main/patches/kernel_xiaomi_sm8250/0001-Implement-KernelSU.patch
2024-05-04 16:07:34 +08:00
Ruchit Marathe 32e0b57b46 [add device] Galaxy A52 and A72 (#1696)
* Update links for a52sxq and m52xq since BlackMesa123 stepped down and
i took over for those devices as well

Change-Id: I9b35fdce65da74fa757d5b77a3819c3174e12160

Signed-off-by: Ruchit <risenid@duck.com>
2024-05-04 16:07:09 +08:00
weishu d623b9fe09 ksud: bump zip dependency to 1.x 2024-05-02 12:04:28 +08:00
lyc8503 66ae50eb49 Add chopin kernel (#1687) 2024-05-01 10:27:12 +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
dependabot[bot] e9b6fcfa22 build(deps): bump androidx.activity:activity-compose from 1.8.2 to 1.9.0 in /manager (#1645)
Bumps androidx.activity:activity-compose from 1.8.2 to 1.9.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.activity:activity-compose&package-manager=gradle&previous-version=1.8.2&new-version=1.9.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-04-30 12:58:31 +08:00
weishu 646b6f71f4 kernel: close fd early 2024-04-29 15:53:12 +08:00
weishu efbc07fde3 kernel: use library import 2024-04-27 09:55:24 +08:00
dependabot[bot] 0be7846f9d build(deps-dev): bump vue from 3.4.23 to 3.4.25 in /website (#1660)
Bumps [vue](https://github.com/vuejs/core) from 3.4.23 to 3.4.25.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vuejs/core/releases">vue's
releases</a>.</em></p>
<blockquote>
<h2>v3.4.25</h2>
<p>Please refer to <a
href="https://github.com/vuejs/core/blob/main/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v3.4.24</h2>
<p>Please refer to <a
href="https://github.com/vuejs/core/blob/main/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vuejs/core/blob/main/CHANGELOG.md">vue's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/vuejs/core/compare/v3.4.24...v3.4.25">3.4.25</a>
(2024-04-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>defineModel:</strong> align prod mode runtime type
generation with defineProps (<a
href="https://github.com/vuejs/core/commit/4253a57f1703a7f1ac701d77e0a235689203461d">4253a57</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10769">#10769</a></li>
<li><strong>runtime-core:</strong> properly get keepAlive child (<a
href="https://redirect.github.com/vuejs/core/issues/10772">#10772</a>)
(<a
href="https://github.com/vuejs/core/commit/3724693a25c3f2dd13d70a8a1af760b03a4fb783">3724693</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10771">#10771</a></li>
<li><strong>runtime-core:</strong> use normal object as internal
prototype for attrs and slots (<a
href="https://github.com/vuejs/core/commit/064e82f5855f30fe0b77fe9b5e4dd22700fd634d">064e82f</a>),
closes <a
href="https://github.com//github.com/vuejs/core/commit/6df53d85a207986128159d88565e6e7045db2add/issues/r141304923">/github.com/vuejs/core/commit/6df53d85a207986128159d88565e6e7045db2add#r141304923</a></li>
</ul>
<h2><a
href="https://github.com/vuejs/core/compare/v3.4.23...v3.4.24">3.4.24</a>
(2024-04-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler-core:</strong> handle template ref bound via v-bind
object on v-for (<a
href="https://redirect.github.com/vuejs/core/issues/10706">#10706</a>)
(<a
href="https://github.com/vuejs/core/commit/da7adefa844265eecc9c336abfc727bc05b4f16e">da7adef</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10696">#10696</a></li>
<li><strong>compiler-core:</strong> properly parse await expressions in
edge cases (<a
href="https://github.com/vuejs/core/commit/b92c25f53dff0fc1687f57ca4033d0ac25218940">b92c25f</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10754">#10754</a></li>
<li><strong>compiler-sfc:</strong> handle readonly operator and
ReadonlyArray/Map/Set types (<a
href="https://github.com/vuejs/core/commit/5cef52a5c23ba8ba3239e6def03b8ff008d3cc72">5cef52a</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10726">#10726</a></li>
<li><strong>compiler-ssr:</strong> fix hydration mismatch for
conditional slot in transition (<a
href="https://github.com/vuejs/core/commit/f12c81efca3fcf9a7ce478af2261ad6ab9b0bfd7">f12c81e</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10743">#10743</a></li>
<li><strong>compiler-ssr:</strong> fix v-html SSR for nullish values (<a
href="https://github.com/vuejs/core/commit/1ff407676f9495883b459779a9b0370d7588b51f">1ff4076</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10725">#10725</a></li>
<li><strong>deps:</strong> update compiler (<a
href="https://redirect.github.com/vuejs/core/issues/10760">#10760</a>)
(<a
href="https://github.com/vuejs/core/commit/15df5c1b261b9b471eb811fd47ab7b3cfc41cf83">15df5c1</a>)</li>
<li><strong>runtime-core:</strong> fix edge case of KeepAlive inside
Transition with slot children (<a
href="https://redirect.github.com/vuejs/core/issues/10719">#10719</a>)
(<a
href="https://github.com/vuejs/core/commit/e51ca61ca060b2772e967d169548fc2f58fce6d1">e51ca61</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10708">#10708</a></li>
<li><strong>runtime-core:</strong> further fix slots _ctx check (<a
href="https://github.com/vuejs/core/commit/cde7f05787d16dbb93d9419ef5331adf992816fd">cde7f05</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/10724">#10724</a></li>
<li><strong>runtime-core:</strong> props should be readonly via direct
template access (<a
href="https://github.com/vuejs/core/commit/b93f26464785de227b88c51a88328ae80e80d804">b93f264</a>),
closes <a
href="https://redirect.github.com/vuejs/core/issues/8216">#8216</a> <a
href="https://redirect.github.com/vuejs/core/issues/10736">#10736</a></li>
<li><strong>transition:</strong> transition is breaking/flickering when
enter is canceled (<a
href="https://redirect.github.com/vuejs/core/issues/10688">#10688</a>)
(<a
href="https://github.com/vuejs/core/commit/65109a70f187473edae8cf4df11af3c33345e6f6">65109a7</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vuejs/core/commit/574c3e63bbb764c82fd7228eac979bb3e7fa731d"><code>574c3e6</code></a>
release: v3.4.25</li>
<li><a
href="https://github.com/vuejs/core/commit/8ee69e7eaf37d7171d80d7c93f6ce729d1fa698c"><code>8ee69e7</code></a>
ci: use single thread for e2e tests on ci</li>
<li><a
href="https://github.com/vuejs/core/commit/064e82f5855f30fe0b77fe9b5e4dd22700fd634d"><code>064e82f</code></a>
fix(runtime-core): use normal object as internal prototype for attrs and
slots</li>
<li><a
href="https://github.com/vuejs/core/commit/4253a57f1703a7f1ac701d77e0a235689203461d"><code>4253a57</code></a>
fix(defineModel): align prod mode runtime type generation with
defineProps</li>
<li><a
href="https://github.com/vuejs/core/commit/3724693a25c3f2dd13d70a8a1af760b03a4fb783"><code>3724693</code></a>
fix(runtime-core): properly get keepAlive child (<a
href="https://redirect.github.com/vuejs/core/issues/10772">#10772</a>)</li>
<li><a
href="https://github.com/vuejs/core/commit/958286e3f050dc707ad1af293e91bfb190bdb191"><code>958286e</code></a>
release: v3.4.24</li>
<li><a
href="https://github.com/vuejs/core/commit/b92c25f53dff0fc1687f57ca4033d0ac25218940"><code>b92c25f</code></a>
fix(compiler-core): properly parse await expressions in edge cases</li>
<li><a
href="https://github.com/vuejs/core/commit/173ec65cd46f22cb1e91914923fcf75a75cd340d"><code>173ec65</code></a>
test: revert to threads</li>
<li><a
href="https://github.com/vuejs/core/commit/f12c81efca3fcf9a7ce478af2261ad6ab9b0bfd7"><code>f12c81e</code></a>
fix(compiler-ssr): fix hydration mismatch for conditional slot in
transition</li>
<li><a
href="https://github.com/vuejs/core/commit/c8e87a1c903fe1bd10c3013890bd0855f9e3a6ba"><code>c8e87a1</code></a>
test: use pool: vmThreads</li>
<li>Additional commits viewable in <a
href="https://github.com/vuejs/core/compare/v3.4.23...v3.4.25">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vue&package-manager=npm_and_yarn&previous-version=3.4.23&new-version=3.4.25)](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-04-27 09:33:46 +08:00
Howard Wu 51bc01afde Fix ksubot session file ext dup (#1672) 2024-04-27 00:10:54 +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 f982683825 kernel: refactor PR_REAL_REGS 2024-04-26 13:25:29 +08:00
weishu 2e1bb8e303 kernel: fix setup script. close #1625, close #1647 2024-04-26 13:12:57 +08:00
buildbot fcc3d2d3d4 kernel: no need to hook 2024-04-26 12:10:58 +08:00
buildbot dedd54d890 kernel: use syscall hook for all version, remove code next version if works well 2024-04-26 11:42:24 +08:00
Another Guy 2027ac325f Hook syscalls and stable symbols (#1657)
1. Replace `do_execveat_common` with `sys_execve` and `sys_execveat`
2. Replace `input_handle_event` with `input_event` and
`input_inject_event`

Tested on android12-5.10-2024-04, android13-5.15-2024-04.
android14-6.1-2024-04
2024-04-26 11:27:48 +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
weishu ac4c6f7895 manager: Fix select kmi not working 2024-04-24 00:29:43 +08:00
weishu 472a94b6f2 ksud: Fix name typo 2024-04-23 23:33:13 +08:00
weishu 8ba008fb9f ksud: Fix backup not working 2024-04-23 23:24:45 +08:00
weishu 825b14635f ksud: move backup directory to /data/adb/ksu v0.9.3 2024-04-23 16:38:54 +08:00
weishu 52c7f0e2bf manager: extract flashWithIO 2024-04-23 15:51:04 +08:00
weishu 05eb280d79 manager: hide "uninstall temporary" temporarily. 2024-04-23 15:38:18 +08:00
weishu 97dd3d9ec2 manager: Add UI for uninstall permanently 2024-04-23 15:37:42 +08:00
weishu 3aac979caa ksud: skip removing module if no modules exist, also add uninstall mangaer, reboot 2024-04-23 15:32:15 +08:00
weishu 0697db618e ksud: Add uninstall 2024-04-22 20:41:53 +08:00
igor 4922d89823 website: update translation (#1653) 2024-04-22 13:31:24 +08:00