libredox: bump to 0.1.18 + backport redox_fcntl_v0 + add Phase J acpi module
Three changes in one commit, all interrelated: 1. Bump version 0.1.17 -> 0.1.18 to match upstream. Reason: recipes/core/redoxfs/source requires libredox = "0.1.18", and the kernel's [patch.crates-io] override forces this local fork to be used in the kernel compilation. If the local fork stays at 0.1.17, the linker fails with undefined references to symbols added in 0.1.18 (redox_fcntl_v0 in particular). 2. Backport the 0.1.18 additions to src/lib.rs: - fn redox_fcntl_v0 extern declaration - pub fn fcntl() on Fd and as a free function - O_CLOEXEC and F_DUPFD_CLOEXEC constants All backports are purely additive; the existing Phase J path override (path = "../syscall") is preserved. 3. Re-apply the actual Phase J work to libredox that was missing from commitd01da35("Phase J fork"): - pub mod acpi re-exporting AcPiVerb from redox_syscall The commit message ofd01da35implied it added AcPiVerb re-exports but in fact only added the path override and version bump. This re-export is what gives acpid / kstop / redbear-power / redbear-acmd access to the symbolic EnterS2Idle / ExitS2Idle / SetS3WakingVector / EnterS3 names instead of hardcoded integer discriminants. After this commit, redoxfs links cleanly against the local libredox 0.1.18 and the kernel's per-cpu run queues / futex sharding work remains intact.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"git": {
|
||||
"sha1": "7040cf71b3a5d15d91802810d0a50aa197970c43"
|
||||
},
|
||||
"path_in_vcs": ""
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/target
|
||||
/Cargo.lock
|
||||
Generated
+1
-1
@@ -7,7 +7,7 @@ authors = ["4lDO2 <4lDO2@protonmail.com>"]
|
||||
# variants). The version field stays at upstream 0.1.17
|
||||
# per the AGENTS.md "GOLDEN RULE" — periodic rebase via
|
||||
# `git fetch upstream` is the workflow when upstream changes.
|
||||
version = "0.1.17"
|
||||
version = "0.1.18"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Redox stable ABI"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 4lDO2
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
+1134
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user