weishu
9986cfda12
ksud: Fix debug set manager
2024-03-27 18:13:47 +08:00
dependabot[bot]
dba53ee88b
build(deps): bump serde_json from 1.0.114 to 1.0.115 in /userspace/ksud ( #1536 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.114 to
1.0.115.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/serde-rs/json/releases ">serde_json's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.115</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/serde-rs/json/commit/b1ebf3888ed728c66c69581ba8d9c4aa7483f486 "><code>b1ebf38</code></a>
Release 1.0.115</li>
<li><a
href="https://github.com/serde-rs/json/commit/c3dc153e0681f32e9c55152cb11cbfa6a7192a7f "><code>c3dc153</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1119 ">#1119</a>
from titaniumtraveler/pr</li>
<li><a
href="https://github.com/serde-rs/json/commit/218770bb7531b0e491a2883eafc40ade5b1eeaf5 "><code>218770b</code></a>
Explicitly install a Rust toolchain for cargo-outdated job</li>
<li><a
href="https://github.com/serde-rs/json/commit/840da8e89241d46482c40038d3acdb6745ed4f05 "><code>840da8e</code></a>
Fix missing backticks in doc comments</li>
<li><a
href="https://github.com/serde-rs/json/commit/3a3f61b1c9a2dce973179fad1650f709f63bdaa5 "><code>3a3f61b</code></a>
Temporarily disable miri on doctests</li>
<li><a
href="https://github.com/serde-rs/json/commit/4a0be88b5ac6cda971a52df9f027b551fe566347 "><code>4a0be88</code></a>
Format regression tests with rustfmt</li>
<li><a
href="https://github.com/serde-rs/json/commit/d2dbbf7055666b42957dee59b6a4ea57413517ff "><code>d2dbbf7</code></a>
Ignore dead code lint in tests</li>
<li><a
href="https://github.com/serde-rs/json/commit/8e7b37bf7e20d3385cf389c630831c3817ef6c79 "><code>8e7b37b</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1118 ">#1118</a>
from serde-rs/transparent</li>
<li><a
href="https://github.com/serde-rs/json/commit/a25f6c6f2af1ac268175e79ad8d537106dbb3a3a "><code>a25f6c6</code></a>
Remove conditional on repr(transparent)</li>
<li><a
href="https://github.com/serde-rs/json/commit/fedf8341eedd6fc0ad5c5336d1747463c7d85ece "><code>fedf834</code></a>
Ignore non_local_definitions false positive in test</li>
<li>See full diff in <a
href="https://github.com/serde-rs/json/compare/v1.0.114...v1.0.115 ">compare
view</a></li>
</ul>
</details>
<br />
[](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-03-27 09:43:46 +08:00
dependabot[bot]
d9a6d8df73
build(deps): bump clap from 4.5.3 to 4.5.4 in /userspace/ksud ( #1537 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.3 to 4.5.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases ">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.5.4</h2>
<h2>[4.5.4] - 2024-03-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code>
attributes again</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md ">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.5.4] - 2024-03-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code>
attributes again</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/clap-rs/clap/commit/5e4facf76fb38e04edba6cb1ab67d4f2b1ec8550 "><code>5e4facf</code></a>
chore: Release</li>
<li><a
href="https://github.com/clap-rs/clap/commit/8880b0a5da1160892187c4b372881c9a5e2280c2 "><code>8880b0a</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/clap-rs/clap/commit/132b5dded50e3e4341931f4894ccb2746196c741 "><code>132b5dd</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5425 ">#5425</a>
from epage/lit</li>
<li><a
href="https://github.com/clap-rs/clap/commit/df915fefefba42493290c4f7c4ac627807e9ebd4 "><code>df915fe</code></a>
fix(derive): Re-allow expressions for id's</li>
<li><a
href="https://github.com/clap-rs/clap/commit/8eab48fa3c9d6a40128c601b2520d33c7b3e6c2a "><code>8eab48f</code></a>
refactor(derive): Make it easier to work with 'Name'</li>
<li><a
href="https://github.com/clap-rs/clap/commit/be73195ecfe8a082783765f87036ce9ecf1ce7c8 "><code>be73195</code></a>
refactor(derive): Clarify tests</li>
<li><a
href="https://github.com/clap-rs/clap/commit/024089bb602ee6f55ab1fd8494a20eb9b21c6b5e "><code>024089b</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5415 ">#5415</a>
from Pi-Cla/patch-1</li>
<li><a
href="https://github.com/clap-rs/clap/commit/3b35dba1600ff84e6207668d9cba11276fa1c5b5 "><code>3b35dba</code></a>
docs: Add mention of nushell to clap_complete README</li>
<li><a
href="https://github.com/clap-rs/clap/commit/58469d1669fa1e05080263fb38b12fb2d7b78180 "><code>58469d1</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5405 ">#5405</a>
from epage/docs</li>
<li><a
href="https://github.com/clap-rs/clap/commit/655d8295a7f2e8a4c655a11ba578636428a3c9ac "><code>655d829</code></a>
docs(derive): Fix ToC links within tutorial chapters</li>
<li>See full diff in <a
href="https://github.com/clap-rs/clap/compare/v4.5.3...v4.5.4 ">compare
view</a></li>
</ul>
</details>
<br />
[](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-03-27 09:43:26 +08:00
dependabot[bot]
a8342bad38
build(deps): bump which from 6.0.0 to 6.0.1 in /userspace/ksud ( #1525 )
...
Bumps [which](https://github.com/harryfei/which-rs ) from 6.0.0 to 6.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/harryfei/which-rs/releases ">which's
releases</a>.</em></p>
<blockquote>
<h2>6.0.1</h2>
<ul>
<li>Remove dependency on <code>once_cell</code> for Windows users,
replace with <code>std::sync::OnceLock</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md ">which's
changelog</a>.</em></p>
<blockquote>
<h2>6.0.1</h2>
<ul>
<li>Remove dependency on <code>once_cell</code> for Windows users,
replace with <code>std::sync::OnceLock</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/harryfei/which-rs/commit/7c8a898a0d358cf0554887d101be55a21a5128d7 "><code>7c8a898</code></a>
bump patch version</li>
<li><a
href="https://github.com/harryfei/which-rs/commit/e95dca277b618d1ddab325747369dd5d9487b563 "><code>e95dca2</code></a>
remove dependency on once_cell</li>
<li><a
href="https://github.com/harryfei/which-rs/commit/071683c2d5af17f3b0a61f8f706e47a430f08555 "><code>071683c</code></a>
Use winsafe over windows-sys, and reduce dependency on rustix</li>
<li><a
href="https://github.com/harryfei/which-rs/commit/96a8004f453830ec249d4d88f91ba124f4859239 "><code>96a8004</code></a>
Upgrade deps, move to 6.0.0</li>
<li>See full diff in <a
href="https://github.com/harryfei/which-rs/compare/6.0.0...6.0.1 ">compare
view</a></li>
</ul>
</details>
<br />
[](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-03-26 18:11:54 +08:00
dependabot[bot]
100454a3e6
build(deps): bump regex from 1.10.3 to 1.10.4 in /userspace/ksud ( #1526 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.3 to 1.10.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/aa2d8bd8be283471b17b4ab6faeae5b751553572 "><code>aa2d8bd</code></a>
1.10.4</li>
<li><a
href="https://github.com/rust-lang/regex/commit/088d7f3269665a11aabadd89335eb09316e9c785 "><code>088d7f3</code></a>
api: add Cow guarantee to replace API</li>
<li><a
href="https://github.com/rust-lang/regex/commit/a5ae35153a6ec61e64cb297155f7d91c11b629c7 "><code>a5ae351</code></a>
regex-automata-0.4.6</li>
<li><a
href="https://github.com/rust-lang/regex/commit/9cf4a42a9361f42d9aa6afd1245c0e37dc0c8771 "><code>9cf4a42</code></a>
automata: fix bug where reverse NFA lacked an unanchored prefix</li>
<li><a
href="https://github.com/rust-lang/regex/commit/10fe722a3fcfdc17068b21f3262189cc52227bb5 "><code>10fe722</code></a>
style: clean up some recent lint violations</li>
<li><a
href="https://github.com/rust-lang/regex/commit/d7f9347f2a8a7f4e7583c88876411da12a09b572 "><code>d7f9347</code></a>
regex-automata-0.4.5</li>
<li><a
href="https://github.com/rust-lang/regex/commit/07ef7f1550d59a548ee58631cf2bca263e67cb8e "><code>07ef7f1</code></a>
automata: make additional prefileter metadata public</li>
<li>See full diff in <a
href="https://github.com/rust-lang/regex/compare/1.10.3...1.10.4 ">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Co-authored-by: weishu <twsxtd@gmail.com >
2024-03-26 18:11:39 +08:00
weishu
26fed39050
ksud: fmt
2024-03-26 17:17:19 +08:00
weishu
387d63cb6a
ksud: fix supported kmi
2024-03-23 13:59:05 +08:00
weishu
d6af076263
ksud: add boot-info cli
2024-03-23 10:46:16 +08:00
weishu
04df88e8fe
ksud: rename patched boot. close #1511
2024-03-23 10:06:37 +08:00
weishu
0bce8550b6
ksud: try find KMI from installed modules
2024-03-20 21:33:41 +08:00
Caner Karaca
5be6992d75
Add Dependabot, Update Dependencies and Workflows ( #1440 )
...
Build may fail because of some major dependency updates. Needs changes,
changes/fixes welcomed.
Main goal is keeping all things up-to-date.
---------
Co-authored-by: weishu <twsxtd@gmail.com >
2024-03-20 12:52:34 +08:00
weishu
542b18beed
ksud: try parse kmi from gki modules if uname is modified
2024-03-19 10:37:17 +08:00
weishu
7203b8e86f
embed LKM to ksud ( #1472 )
2024-03-18 23:12:46 +08:00
weishu
392a059a12
ksud: ensure post-fs-data.d is created by post ota
2024-03-17 17:25:42 +08:00
weishu
ad1d50a7ce
ksud: Fix magisk detect
2024-03-16 11:13:50 +08:00
weishu
d46b128856
ksud: Fix magisk detect
2024-03-16 09:22:37 +08:00
Ylarod
3f5d6ca54a
Build KernelSU as LKM ( #1254 )
...
Co-authored-by: weishu <twsxtd@gmail.com >
2024-03-15 18:53:24 +08:00
weishu
aeda0341d5
ksud: catch dmesg in bootlog
2024-03-11 14:20:27 +08:00
weishu
02245e2503
ksud: fmt & tidy
2024-03-11 14:01:21 +08:00
weishu
0539c3a57d
ksud: don't patch if it's already patched
2024-03-11 12:48:25 +08:00
weishu
a463d56a7f
ksud: resize image if it is shrinked
2024-03-04 13:50:00 +08:00
weishu
605c598f69
Use fallback method to mount overlayfs when fsopen one failed
...
Co-authored-by: natsumerinchan
2024-03-04 12:26:19 +08:00
weishu
228ac45162
ksud: remove permission mode for symlink
2024-03-01 23:10:03 +08:00
weishu
a4cf472c20
ksud: Copy directory permission mode
2024-03-01 22:46:53 +08:00
weishu
6173eeecf4
ksud: Add more logs
2024-02-29 22:43:48 +08:00
weishu
128b907e7c
ksud: Add some logs
2024-02-29 22:40:42 +08:00
weishu
a78c0bcc48
ksud: fmt
2024-02-29 20:34:50 +08:00
weishu
8e1ba90c63
ksud: correctly copy chr device and keep xattr. close #1397
2024-02-29 19:23:11 +08:00
weishu
46e7960c8f
ksud: Add ksud to manager's su path
2024-02-29 14:04:10 +08:00
weishu
e4b59e143a
ksud: Fix incorrect dir copy
2024-02-25 22:55:24 +08:00
weishu
40d631a20c
ksud: Force creating new module format to avoid many wired issues. close #1384 , close #1381
2024-02-25 22:29:13 +08:00
weishu
961652f7a3
ksud: fix punch hole
2024-02-25 20:21:17 +08:00
weishu
3559a8d315
ksud: remove link manager
2024-02-23 18:08:53 +08:00
weishu
2f0d255557
ksud: support global mnt for debug su
2024-02-23 18:04:00 +08:00
weishu
8e0071ace7
ksud: fix mount view of manager when 'umount modules by default' is enabled
2024-02-22 19:08:37 +08:00
weishu
36a5f61f43
ksud: remove http serve mode
2024-02-22 16:26:14 +08:00
weishu
53fd829a6b
ksud: use bind mount to serve module webui
2024-02-22 16:26:14 +08:00
weishu
9dca0ffdbd
ksud: support self stop server
2024-02-20 19:58:40 +08:00
weishu
102bde759c
ksud: Add support for module webui
2024-02-20 16:39:05 +08:00
weishu
e3de207855
ksud: Add support for module webui
2024-02-20 16:23:40 +08:00
weishu
0131e99360
ksud: don't reclaim when enable/disable modules
2024-02-19 16:36:41 +08:00
weishu
b3c77ed937
ksud: reclaim sparse space when install/uninstall modules. close #1367
2024-02-19 15:29:03 +08:00
weishu
f1e019f87d
ksud: check image before shrink
2024-02-19 12:31:35 +08:00
LoveSy
633e84307b
Add fallback to mount syscall ( #1349 )
2024-02-05 17:36:07 +08:00
weishu
d2567cc460
ksud: Fix dependency
2024-02-02 11:25:54 +08:00
LoveSy
57baf43144
Use as_ref instead of as_slice ( #1336 )
2024-02-02 10:40:36 +08:00
LoveSy
931d7fe604
Use rustix for setgroups ( #1334 )
2024-02-01 23:35:42 +08:00
LoveSy
aec9e0f6b5
Recursive bind mount ( #1332 )
2024-02-01 23:29:19 +08:00
LoveSy
e21be26b06
Use rustix for prctl ( #1333 )
2024-02-01 23:28:56 +08:00
weishu
1a3fe6ab05
ksud: allow to set upperdir and workdir for overlayfs
2024-02-01 18:02:10 +08:00