1852 Commits

Author SHA1 Message Date
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="102e31113d"><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="461fb58a02"><code>461fb58</code></a>
chore: release</li>
<li><a
href="a8b2855910"><code>a8b2855</code></a>
ci: Auto-merge PRs from within repo even if I'm the triggering
actor</li>
<li><a
href="6fa4486089"><code>6fa4486</code></a>
Enable attestation of release builds</li>
<li><a
href="3e81fddb78"><code>3e81fdd</code></a>
style: cargo fmt --all</li>
<li><a
href="1cb0e1b3b7"><code>1cb0e1b</code></a>
refactor: Eliminate deprecation warning when <code>--all-features</code>
implicitly enab...</li>
<li><a
href="fbf111ef97"><code>fbf111e</code></a>
style: cargo fmt --all</li>
<li><a
href="3e06f6433a"><code>3e06f64</code></a>
chore: Fix borrow-of-moved-value</li>
<li><a
href="633a6733e6"><code>633a673</code></a>
refactor: Check if archive contains a symlink's target, without
borrowing bot...</li>
<li><a
href="17fee7938a"><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
hosizoraru
3969f79de3
ci: a12-5.10, a13-5.10, a13-5.15, a14-5.15, a14-6.1 patch level 2024-05 (#1737)
[android12-5.10-2024-05](https://android.googlesource.com/kernel/common/+/refs/heads/android12-5.10-2024-05)
已发布,观察
[makefile](https://android.googlesource.com/kernel/common/+/refs/heads/android12-5.10-2024-05/Makefile)
为 5.10.209


[android13-5.10-2024-05](https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.10-2024-05)
已发布,观察
[makefile](https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.10-2024-05/Makefile)
为 5.10.209


[android13-5.15-2024-05](https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.15-2024-05)
已发布,观察
[makefile](https://android.googlesource.com/kernel/common/+/refs/heads/android13-5.15-2024-05/Makefile)
为 5.15.148


[android14-5.15-2024-05](https://android.googlesource.com/kernel/common/+/refs/heads/android14-5.15-2024-05)
已发布,观察
[makefile](https://android.googlesource.com/kernel/common/+/refs/heads/android14-5.15-2024-05/Makefile)
为 5.15.148


[android14-6.1-2024-05](https://android.googlesource.com/kernel/common/+/refs/heads/android14-6.1-2024-05)
已发布,观察
[makefile](https://android.googlesource.com/kernel/common/+/refs/heads/android14-6.1-2024-05/Makefile)
为 6.1.75
2024-05-17 17:28:48 +08:00
weishu
31653b11f1 kernel: replace devpts kprobe 2024-05-16 17:16:00 +08:00
Alex
d36e365921
Refactor checkNewVersion function to use LatestVersionInfo data class (#1733)
- Updated the checkNewVersion function to return a LatestVersionInfo
data class instead of a Triple.
- Defined default null value for LatestVersionInfo in case of failure.
- Improved readability and maintainability by replacing the Triple with
a data class.
- Included version code, download URL, and changelog in the
LatestVersionInfo data class.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-16 15:35:14 +08:00
weishu
0576495b4b kernel: Allow to use in Private Space 2024-05-16 12:03:58 +08:00
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="cd696d3f8f"><code>cd696d3</code></a>
Version 1.8.1</li>
<li><a
href="c1ba5af8c5"><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="2430d9a799"><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="f22b229a09"><code>f22b229</code></a>
fix the link to <code>Thread.uncaughtExceptionHandler</code></li>
<li><a
href="515308dc3d"><code>515308d</code></a>
fix: get rid of horizontal scrolling by splitting the comment and show
more c...</li>
<li><a
href="f8d1821f13"><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="20707d35ac"><code>20707d3</code></a>
fix: remove <code>sampleStart</code> and <code>sampleEnd</code> comments
from example in coroutine-...</li>
<li><a
href="01485343b4"><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="74774df13a"><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="d106ac7c36"><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="adb40b83d2"><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="3d7852a337"><code>3d7852a</code></a>
chore: release</li>
<li><a
href="a385aaf854"><code>a385aaf</code></a>
doc: Important correction: consuming package has to <em>target</em>
Unix, e.g. this ...</li>
<li><a
href="4a5d28ed30"><code>4a5d28e</code></a>
doc: Important correction: contents might not have been extracted at
all</li>
<li><a
href="ba4c6936d5"><code>ba4c693</code></a>
doc: Important clarification: &quot;any user&quot; -&gt; &quot;any
non-root user&quot;</li>
<li><a
href="c28614a0b2"><code>c28614a</code></a>
doc: Document the guarantee provided by
137672cb29a264412211cc20b78f540308a221d3</li>
<li><a
href="137672cb29"><code>137672c</code></a>
fix: Remove a window when an extracted directory might be unexpectedly
listab...</li>
<li><a
href="c0691ec1e5"><code>c0691ec</code></a>
Improve copyright warning</li>
<li><a
href="123fb7b807"><code>123fb7b</code></a>
doc: Improve copyright warning</li>
<li><a
href="2198653882"><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 935dc18faace4dfdda79d3f00bf1ed2632a94628.
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="b725303cce"><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="a1f239980e"><code>a1f2399</code></a>
chore: release</li>
<li><a
href="f7ab2ae506"><code>f7ab2ae</code></a>
fix: Prevent panic when trying to read a file with an unsupported
compression...</li>
<li><a
href="7f46b77da2"><code>7f46b77</code></a>
ci: Upload leak reports if fuzz fails</li>
<li><a
href="d13031cc14"><code>d13031c</code></a>
fix: Prevent panic after reading an invalid LZMA file</li>
<li><a
href="8868a11d23"><code>8868a11</code></a>
test(fuzz): Fix a fuzz-read bug when finishing LZMA</li>
<li><a
href="b277298d7f"><code>b277298</code></a>
test(fuzz): Fix: need to accept FileNotFound from abort</li>
<li><a
href="162c9b7281"><code>162c9b7</code></a>
test(fuzz): Fix bugs that were breaking the fuzz test</li>
<li><a
href="447f9c6e4f"><code>447f9c6</code></a>
refactor: Overhaul <code>impl Arbitrary for FileOptions</code></li>
<li><a
href="845c3ec91f"><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="a9482ea8ca"><code>a9482ea</code></a>
Bump version to trigger new release PR</li>
<li><a
href="52af9ffd23"><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="3ccaa3cc85"><code>3ccaa3c</code></a>
style: cargo fmt --all &amp; <code>#![allow(dead_code)]</code></li>
<li><a
href="de95acc543"><code>de95acc</code></a>
style: allow conditionally-unused variables in write_dir.rs</li>
<li><a
href="c4906cfd59"><code>c4906cf</code></a>
Merge remote-tracking branch 'allilo/add_compression_algo_arg' into
oldpr452</li>
<li><a
href="629707c060"><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="1852e96192"><code>1852e96</code></a>
Prelim changes to write_dir</li>
<li><a
href="1b2c42b199"><code>1b2c42b</code></a>
style: cargo fmt --all</li>
<li><a
href="74e76a94ca"><code>74e76a9</code></a>
chore: Refactor: can short-circuit handling of paths that start with
MAIN_SEP...</li>
<li><a
href="2adbbccb82"><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="4253a57f17">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="3724693a25">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="064e82f585">064e82f</a>),
closes <a
href="6df53d85a2 (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="da7adefa84">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="b92c25f53d">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="5cef52a5c2">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="f12c81efca">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="1ff407676f">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="15df5c1b26">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="e51ca61ca0">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="cde7f05787">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="b93f264647">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="65109a70f1">65109a7</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="574c3e63bb"><code>574c3e6</code></a>
release: v3.4.25</li>
<li><a
href="8ee69e7eaf"><code>8ee69e7</code></a>
ci: use single thread for e2e tests on ci</li>
<li><a
href="064e82f585"><code>064e82f</code></a>
fix(runtime-core): use normal object as internal prototype for attrs and
slots</li>
<li><a
href="4253a57f17"><code>4253a57</code></a>
fix(defineModel): align prod mode runtime type generation with
defineProps</li>
<li><a
href="3724693a25"><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="958286e3f0"><code>958286e</code></a>
release: v3.4.24</li>
<li><a
href="b92c25f53d"><code>b92c25f</code></a>
fix(compiler-core): properly parse await expressions in edge cases</li>
<li><a
href="173ec65cd4"><code>173ec65</code></a>
test: revert to threads</li>
<li><a
href="f12c81efca"><code>f12c81e</code></a>
fix(compiler-ssr): fix hydration mismatch for conditional slot in
transition</li>
<li><a
href="c8e87a1c90"><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