리눅스 단일 파일 게시 후보를 추가합니다
- 작성자
- 시로사키 하나
- 작성 시각
- 커밋
10dc446c90d3527437298cff270b26d2e196a748- 부모
- 23b8d1c
변경된 파일 10개
+1,145-0| @@ -0,0 +1,16 @@ | ||
| 1 | 추가: # This file is automatically @generated by Cargo. | |
| 2 | 추가: # It is not intended for manual editing. | |
| 3 | 추가: version = 4 | |
| 4 | 추가: | |
| 5 | 추가: [[package]] | |
| 6 | 추가: name = "libc" | |
| 7 | 추가: version = "0.2.191" | |
| 8 | 추가: source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 9 | 추가: checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" | |
| 10 | 추가: | |
| 11 | 추가: [[package]] | |
| 12 | 추가: name = "zipelo-file-publication" | |
| 13 | 추가: version = "0.1.0" | |
| 14 | 추가: dependencies = [ | |
| 15 | 추가: "libc", | |
| 16 | 추가: ] |
| @@ -0,0 +1,18 @@ | ||
| 1 | 추가: [package] | |
| 2 | 추가: name = "zipelo-file-publication" | |
| 3 | 추가: version = "0.1.0" | |
| 4 | 추가: edition = "2024" | |
| 5 | 추가: rust-version = "1.99" | |
| 6 | 추가: license = "MIT" | |
| 7 | 추가: publish = false | |
| 8 | 추가: autotests = false | |
| 9 | 추가: autoexamples = false | |
| 10 | 추가: autobenches = false | |
| 11 | 추가: | |
| 12 | 추가: [lib] | |
| 13 | 추가: doctest = false | |
| 14 | 추가: | |
| 15 | 추가: [target.'cfg(target_os = "linux")'.dependencies] | |
| 16 | 추가: libc = { version = "=0.2.191", default-features = false, features = ["std"] } | |
| 17 | 추가: | |
| 18 | 추가: [workspace] |
| @@ -0,0 +1,21 @@ | ||
| 1 | 추가: MIT License | |
| 2 | 추가: | |
| 3 | 추가: Copyright (c) 2026 Team-LJY contributors | |
| 4 | 추가: | |
| 5 | 추가: Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | 추가: of this software and associated documentation files (the "Software"), to deal | |
| 7 | 추가: in the Software without restriction, including without limitation the rights | |
| 8 | 추가: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | 추가: copies of the Software, and to permit persons to whom the Software is | |
| 10 | 추가: furnished to do so, subject to the following conditions: | |
| 11 | 추가: | |
| 12 | 추가: The above copyright notice and this permission notice shall be included in all | |
| 13 | 추가: copies or substantial portions of the Software. | |
| 14 | 추가: | |
| 15 | 추가: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | 추가: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | 추가: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | 추가: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | 추가: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | 추가: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | 추가: SOFTWARE. |
| @@ -0,0 +1,9 @@ | ||
| 1 | 추가: b38bcde0e0c7286f53254ecbc357a55a0b18e803fd7294dec1025fcb34eb6092 Cargo.lock | |
| 2 | 추가: e6d911fb2c215dcab367116b0eac2544a3e37abe0d69ba6f0323c0d0308b329d Cargo.toml | |
| 3 | 추가: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 LICENSE | |
| 4 | 추가: 83bd16a9177040f87f726c5ff9c0e14e7e3fc0096c743abe0d7b1b97ab1fc425 THIRD-PARTY-NOTICES.txt | |
| 5 | 추가: fc091b378311e5a5898f770b4a91317ada5d2daebbb3cfb795e1026736334161 contract.json | |
| 6 | 추가: 75757b6b770ea09d7b345ca3beaf3d75fdbbe7c792d00d3aec7465b9968ce4f5 dependencies.json | |
| 7 | 추가: 8304a9c37e8d0a2e21f6657483c58d28c23ba4a4c2ed9ae7e43d389d0f3c2bc3 src/lib.rs | |
| 8 | 추가: 75225159189cb2418b24c5e35c4db804dfe2f0171bf957f59578ae284f046d0c src/linux.rs | |
| 9 | 추가: 75ed00e7059990abe5c3ba7bc0aae87801e3ffa915824c900d09ed31a61f8159 static-validation.json |
| @@ -0,0 +1,208 @@ | ||
| 1 | 추가: libc 0.2.191 - MIT OR Apache-2.0 | |
| 2 | 추가: | |
| 3 | 추가: LICENSE-APACHE | |
| 4 | 추가: Apache License | |
| 5 | 추가: Version 2.0, January 2004 | |
| 6 | 추가: http://www.apache.org/licenses/ | |
| 7 | 추가: | |
| 8 | 추가: TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 9 | 추가: | |
| 10 | 추가: 1. Definitions. | |
| 11 | 추가: | |
| 12 | 추가: "License" shall mean the terms and conditions for use, reproduction, | |
| 13 | 추가: and distribution as defined by Sections 1 through 9 of this document. | |
| 14 | 추가: | |
| 15 | 추가: "Licensor" shall mean the copyright owner or entity authorized by | |
| 16 | 추가: the copyright owner that is granting the License. | |
| 17 | 추가: | |
| 18 | 추가: "Legal Entity" shall mean the union of the acting entity and all | |
| 19 | 추가: other entities that control, are controlled by, or are under common | |
| 20 | 추가: control with that entity. For the purposes of this definition, | |
| 21 | 추가: "control" means (i) the power, direct or indirect, to cause the | |
| 22 | 추가: direction or management of such entity, whether by contract or | |
| 23 | 추가: otherwise, or (ii) ownership of fifty percent (50%) or more of the | |
| 24 | 추가: outstanding shares, or (iii) beneficial ownership of such entity. | |
| 25 | 추가: | |
| 26 | 추가: "You" (or "Your") shall mean an individual or Legal Entity | |
| 27 | 추가: exercising permissions granted by this License. | |
| 28 | 추가: | |
| 29 | 추가: "Source" form shall mean the preferred form for making modifications, | |
| 30 | 추가: including but not limited to software source code, documentation | |
| 31 | 추가: source, and configuration files. | |
| 32 | 추가: | |
| 33 | 추가: "Object" form shall mean any form resulting from mechanical | |
| 34 | 추가: transformation or translation of a Source form, including but | |
| 35 | 추가: not limited to compiled object code, generated documentation, | |
| 36 | 추가: and conversions to other media types. | |
| 37 | 추가: | |
| 38 | 추가: "Work" shall mean the work of authorship, whether in Source or | |
| 39 | 추가: Object form, made available under the License, as indicated by a | |
| 40 | 추가: copyright notice that is included in or attached to the work | |
| 41 | 추가: (an example is provided in the Appendix below). | |
| 42 | 추가: | |
| 43 | 추가: "Derivative Works" shall mean any work, whether in Source or Object | |
| 44 | 추가: form, that is based on (or derived from) the Work and for which the | |
| 45 | 추가: editorial revisions, annotations, elaborations, or other modifications | |
| 46 | 추가: represent, as a whole, an original work of authorship. For the purposes | |
| 47 | 추가: of this License, Derivative Works shall not include works that remain | |
| 48 | 추가: separable from, or merely link (or bind by name) to the interfaces of, | |
| 49 | 추가: the Work and Derivative Works thereof. | |
| 50 | 추가: | |
| 51 | 추가: "Contribution" shall mean any work of authorship, including | |
| 52 | 추가: the original version of the Work and any modifications or additions | |
| 53 | 추가: to that Work or Derivative Works thereof, that is intentionally | |
| 54 | 추가: submitted to Licensor for inclusion in the Work by the copyright owner | |
| 55 | 추가: or by an individual or Legal Entity authorized to submit on behalf of | |
| 56 | 추가: the copyright owner. For the purposes of this definition, "submitted" | |
| 57 | 추가: means any form of electronic, verbal, or written communication sent | |
| 58 | 추가: to the Licensor or its representatives, including but not limited to | |
| 59 | 추가: communication on electronic mailing lists, source code control systems, | |
| 60 | 추가: and issue tracking systems that are managed by, or on behalf of, the | |
| 61 | 추가: Licensor for the purpose of discussing and improving the Work, but | |
| 62 | 추가: excluding communication that is conspicuously marked or otherwise | |
| 63 | 추가: designated in writing by the copyright owner as "Not a Contribution." | |
| 64 | 추가: | |
| 65 | 추가: "Contributor" shall mean Licensor and any individual or Legal Entity | |
| 66 | 추가: on behalf of whom a Contribution has been received by Licensor and | |
| 67 | 추가: subsequently incorporated within the Work. | |
| 68 | 추가: | |
| 69 | 추가: 2. Grant of Copyright License. Subject to the terms and conditions of | |
| 70 | 추가: this License, each Contributor hereby grants to You a perpetual, | |
| 71 | 추가: worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 72 | 추가: copyright license to reproduce, prepare Derivative Works of, | |
| 73 | 추가: publicly display, publicly perform, sublicense, and distribute the | |
| 74 | 추가: Work and such Derivative Works in Source or Object form. | |
| 75 | 추가: | |
| 76 | 추가: 3. Grant of Patent License. Subject to the terms and conditions of | |
| 77 | 추가: this License, each Contributor hereby grants to You a perpetual, | |
| 78 | 추가: worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 79 | 추가: (except as stated in this section) patent license to make, have made, | |
| 80 | 추가: use, offer to sell, sell, import, and otherwise transfer the Work, | |
| 81 | 추가: where such license applies only to those patent claims licensable | |
| 82 | 추가: by such Contributor that are necessarily infringed by their | |
| 83 | 추가: Contribution(s) alone or by combination of their Contribution(s) | |
| 84 | 추가: with the Work to which such Contribution(s) was submitted. If You | |
| 85 | 추가: institute patent litigation against any entity (including a | |
| 86 | 추가: cross-claim or counterclaim in a lawsuit) alleging that the Work | |
| 87 | 추가: or a Contribution incorporated within the Work constitutes direct | |
| 88 | 추가: or contributory patent infringement, then any patent licenses | |
| 89 | 추가: granted to You under this License for that Work shall terminate | |
| 90 | 추가: as of the date such litigation is filed. | |
| 91 | 추가: | |
| 92 | 추가: 4. Redistribution. You may reproduce and distribute copies of the | |
| 93 | 추가: Work or Derivative Works thereof in any medium, with or without | |
| 94 | 추가: modifications, and in Source or Object form, provided that You | |
| 95 | 추가: meet the following conditions: | |
| 96 | 추가: | |
| 97 | 추가: (a) You must give any other recipients of the Work or | |
| 98 | 추가: Derivative Works a copy of this License; and | |
| 99 | 추가: | |
| 100 | 추가: (b) You must cause any modified files to carry prominent notices | |
| 101 | 추가: stating that You changed the files; and | |
| 102 | 추가: | |
| 103 | 추가: (c) You must retain, in the Source form of any Derivative Works | |
| 104 | 추가: that You distribute, all copyright, patent, trademark, and | |
| 105 | 추가: attribution notices from the Source form of the Work, | |
| 106 | 추가: excluding those notices that do not pertain to any part of | |
| 107 | 추가: the Derivative Works; and | |
| 108 | 추가: | |
| 109 | 추가: (d) If the Work includes a "NOTICE" text file as part of its | |
| 110 | 추가: distribution, then any Derivative Works that You distribute must | |
| 111 | 추가: include a readable copy of the attribution notices contained | |
| 112 | 추가: within such NOTICE file, excluding those notices that do not | |
| 113 | 추가: pertain to any part of the Derivative Works, in at least one | |
| 114 | 추가: of the following places: within a NOTICE text file distributed | |
| 115 | 추가: as part of the Derivative Works; within the Source form or | |
| 116 | 추가: documentation, if provided along with the Derivative Works; or, | |
| 117 | 추가: within a display generated by the Derivative Works, if and | |
| 118 | 추가: wherever such third-party notices normally appear. The contents | |
| 119 | 추가: of the NOTICE file are for informational purposes only and | |
| 120 | 추가: do not modify the License. You may add Your own attribution | |
| 121 | 추가: notices within Derivative Works that You distribute, alongside | |
| 122 | 추가: or as an addendum to the NOTICE text from the Work, provided | |
| 123 | 추가: that such additional attribution notices cannot be construed | |
| 124 | 추가: as modifying the License. | |
| 125 | 추가: | |
| 126 | 추가: You may add Your own copyright statement to Your modifications and | |
| 127 | 추가: may provide additional or different license terms and conditions | |
| 128 | 추가: for use, reproduction, or distribution of Your modifications, or | |
| 129 | 추가: for any such Derivative Works as a whole, provided Your use, | |
| 130 | 추가: reproduction, and distribution of the Work otherwise complies with | |
| 131 | 추가: the conditions stated in this License. | |
| 132 | 추가: | |
| 133 | 추가: 5. Submission of Contributions. Unless You explicitly state otherwise, | |
| 134 | 추가: any Contribution intentionally submitted for inclusion in the Work | |
| 135 | 추가: by You to the Licensor shall be under the terms and conditions of | |
| 136 | 추가: this License, without any additional terms or conditions. | |
| 137 | 추가: Notwithstanding the above, nothing herein shall supersede or modify | |
| 138 | 추가: the terms of any separate license agreement you may have executed | |
| 139 | 추가: with Licensor regarding such Contributions. | |
| 140 | 추가: | |
| 141 | 추가: 6. Trademarks. This License does not grant permission to use the trade | |
| 142 | 추가: names, trademarks, service marks, or product names of the Licensor, | |
| 143 | 추가: except as required for reasonable and customary use in describing the | |
| 144 | 추가: origin of the Work and reproducing the content of the NOTICE file. | |
| 145 | 추가: | |
| 146 | 추가: 7. Disclaimer of Warranty. Unless required by applicable law or | |
| 147 | 추가: agreed to in writing, Licensor provides the Work (and each | |
| 148 | 추가: Contributor provides its Contributions) on an "AS IS" BASIS, | |
| 149 | 추가: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
| 150 | 추가: implied, including, without limitation, any warranties or conditions | |
| 151 | 추가: of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | |
| 152 | 추가: PARTICULAR PURPOSE. You are solely responsible for determining the | |
| 153 | 추가: appropriateness of using or redistributing the Work and assume any | |
| 154 | 추가: risks associated with Your exercise of permissions under this License. | |
| 155 | 추가: | |
| 156 | 추가: 8. Limitation of Liability. In no event and under no legal theory, | |
| 157 | 추가: whether in tort (including negligence), contract, or otherwise, | |
| 158 | 추가: unless required by applicable law (such as deliberate and grossly | |
| 159 | 추가: negligent acts) or agreed to in writing, shall any Contributor be | |
| 160 | 추가: liable to You for damages, including any direct, indirect, special, | |
| 161 | 추가: incidental, or consequential damages of any character arising as a | |
| 162 | 추가: result of this License or out of the use or inability to use the | |
| 163 | 추가: Work (including but not limited to damages for loss of goodwill, | |
| 164 | 추가: work stoppage, computer failure or malfunction, or any and all | |
| 165 | 추가: other commercial damages or losses), even if such Contributor | |
| 166 | 추가: has been advised of the possibility of such damages. | |
| 167 | 추가: | |
| 168 | 추가: 9. Accepting Warranty or Additional Liability. While redistributing | |
| 169 | 추가: the Work or Derivative Works thereof, You may choose to offer, | |
| 170 | 추가: and charge a fee for, acceptance of support, warranty, indemnity, | |
| 171 | 추가: or other liability obligations and/or rights consistent with this | |
| 172 | 추가: License. However, in accepting such obligations, You may act only | |
| 173 | 추가: on Your own behalf and on Your sole responsibility, not on behalf | |
| 174 | 추가: of any other Contributor, and only if You agree to indemnify, | |
| 175 | 추가: defend, and hold each Contributor harmless for any liability | |
| 176 | 추가: incurred by, or claims asserted against, such Contributor by reason | |
| 177 | 추가: of your accepting any such warranty or additional liability. | |
| 178 | 추가: | |
| 179 | 추가: END OF TERMS AND CONDITIONS | |
| 180 | 추가: | |
| 181 | 추가: | |
| 182 | 추가: LICENSE-MIT | |
| 183 | 추가: Copyright (c) The Rust Project Developers | |
| 184 | 추가: | |
| 185 | 추가: Permission is hereby granted, free of charge, to any | |
| 186 | 추가: person obtaining a copy of this software and associated | |
| 187 | 추가: documentation files (the "Software"), to deal in the | |
| 188 | 추가: Software without restriction, including without | |
| 189 | 추가: limitation the rights to use, copy, modify, merge, | |
| 190 | 추가: publish, distribute, sublicense, and/or sell copies of | |
| 191 | 추가: the Software, and to permit persons to whom the Software | |
| 192 | 추가: is furnished to do so, subject to the following | |
| 193 | 추가: conditions: | |
| 194 | 추가: | |
| 195 | 추가: The above copyright notice and this permission notice | |
| 196 | 추가: shall be included in all copies or substantial portions | |
| 197 | 추가: of the Software. | |
| 198 | 추가: | |
| 199 | 추가: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF | |
| 200 | 추가: ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED | |
| 201 | 추가: TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | |
| 202 | 추가: PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT | |
| 203 | 추가: SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
| 204 | 추가: CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | |
| 205 | 추가: OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | |
| 206 | 추가: IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 207 | 추가: DEALINGS IN THE SOFTWARE. | |
| 208 | 추가: |
| @@ -0,0 +1,90 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "schema": 1, | |
| 3 | 추가: "package": "zipelo-file-publication", | |
| 4 | 추가: "status": "source-static-only", | |
| 5 | 추가: "base_head": "23b8d1c615f24f42469138fcc63e7fce7cda4f24", | |
| 6 | 추가: "scope": [ | |
| 7 | 추가: "experiments/rust-file-publication/" | |
| 8 | 추가: ], | |
| 9 | 추가: "tests_owner": "bugfix role; separate root tests path after API review", | |
| 10 | 추가: "api": { | |
| 11 | 추가: "entry": "Publication::new() -> (Publication, Cancellation); Publication::publish(self, Request, checkpoint) -> Report<E>", | |
| 12 | 추가: "input": "Immutable borrowed byte slice, absolute parent Path, single OsStr leaf, bounded Limits. No source-file access and no input validation/worker evidence.", | |
| 13 | 추가: "callbacks": [ | |
| 14 | 추가: "Opening (twice)", | |
| 15 | 추가: "Writing before each write", | |
| 16 | 추가: "Verifying before sync and every read, including EOF probe", | |
| 17 | 추가: "BeforeCommit after byte/metadata checks and procfs setup" | |
| 18 | 추가: ], | |
| 19 | 추가: "output": "Report { outcome, usage, cleanup }. Outcome::Committed requires private FileCommitReceipt obtained only after linkat returns zero. No caller bool, public receipt constructor, Default, or Deserialize.", | |
| 20 | 추가: "receipt": "Parent and file device/inode plus length. Caller retains requested leaf separately. Identities are observations, not permanent identities after inode reuse. No bytes/hash or archive validity claim." | |
| 21 | 추가: }, | |
| 22 | 추가: "limits": { | |
| 23 | 추가: "payload_bytes": 16777216, | |
| 24 | 추가: "scratch_bytes": 65536, | |
| 25 | 추가: "default_duration_seconds": 30, | |
| 26 | 추가: "max_duration_seconds": 300, | |
| 27 | 추가: "max_reserved_read_write_bytes": 134217728, | |
| 28 | 추가: "max_read_write_calls": 131072, | |
| 29 | 추가: "memory": "Borrow input without copying; fixed 64KiB scratch, bounded path allocations (parent<=4095 bytes, leaf<=255), at most 4 File handles. Does not bound caller's existing allocations, callbacks, allocator internals or filesystem/kernel memory.", | |
| 30 | 추가: "accounting": "Reserve full requested read/write length and one attempt before each syscall; never refund on short/zero/error/EOF. Actual transferred bytes separately counted. EOF probe reserves 1 byte. open/metadata/sync/link counters are adapter attempts; metadata is std File::metadata. lseek and close excluded from IO byte/call budgets; close attempts/failures in Cleanup.", | |
| 31 | 추가: "termination": "Cooperative elapsed-time check at checkpoints before commit. No hard deadline for callback, blocking syscall, sync or close. Postcommit sync/close are not interrupted by cancellation or elapsed limit. Per invocation usage; upper job layer must aggregate retries." | |
| 32 | 추가: }, | |
| 33 | 추가: "linux": { | |
| 34 | 추가: "parent": "Reject nonabsolute, empty/repeated/trailing components, dot/dotdot, NUL, oversized paths. Root '/' is lexical-valid but must pass owner/mode and filesystem checks. openat2 O_RDONLY|O_DIRECTORY|O_CLOEXEC|O_NONBLOCK|O_NOCTTY and RESOLVE_NO_SYMLINKS; no fallback.", | |
| 35 | 추가: "trust": "fstat directory, effective UID owner, no group/other write bits. Only an exclusively managed destination directory with trusted same-UID actors is in scope. This is not an ACL, LSM, namespace, root or same-user adversary sandbox. No permission/security setting changes. Ancestors may move; no persistent pathname guarantee.", | |
| 36 | 추가: "filesystem": "fstatfs magic 0xef53 (ext family, not proof specifically ext4) or 0x58465342 (XFS) only. Unknown/network/overlay/tmpfs rejected before temp creation. Actual O_TMPFILE support still required. Source-only: no mounted filesystem support verified.", | |
| 37 | 추가: "temporary": "openat(held_parent, '.', O_TMPFILE|O_RDWR|O_CLOEXEC, 0600), without O_EXCL. fstat regular, nlink=0, euid owner, same st_dev. No named staging file.", | |
| 38 | 추가: "verification": "Bounded raw write with positive short-write accumulation; zero write is WriteZero. fsync_file before lseek and exact chunk readback/EOF check. Native errors including EINTR preserved without raw IO retries. Final fstat checks same identity, regular type, nlink=0 and length. Readback is not archive validation, security isolation or protection from privileged/same-UID fd manipulation.", | |
| 39 | 추가: "procfs": "openat2('/proc', O_PATH|O_DIRECTORY|O_CLOEXEC, RESOLVE_NO_SYMLINKS); fstatfs PROC_SUPER_MAGIC. Open numeric getpid()/fd relative to held proc root using BENEATH|NO_SYMLINKS|NO_XDEV. Keep all fds owned. Actual link source is numeric temp fd relative to proc fd directory with AT_SYMLINK_FOLLOW. Require trusted procfs for this PID namespace. No alternate /proc mount or launcher.", | |
| 40 | 추가: "commit": "linkat(held_proc_fd_directory, numeric_temp_fd, held_parent, leaf, AT_SYMLINK_FOLLOW) exactly once after CAS. Existing leaf of any kind, including symlink/directory, is EEXIST; never truncate, overwrite, merge, rename or delete. No fallback on EXDEV, ENOSYS, unsupported FS/procfs or other error.", | |
| 41 | 추가: "namespace": "Success belongs to held parent object and leaf at link return, not to the original parent pathname. Parent rename/replacement may cause commit into moved original directory; unlinked parent may fail. No postcheck can prove the original pathname persists; no later namespace stability claim." | |
| 42 | 추가: }, | |
| 43 | 추가: "cancellation": { | |
| 44 | 추가: "state": "Per-publication private Arc<AtomicU8>: Pending -> Cancelled by request CAS, or Pending -> Committing by commit CAS, then Finished at Publication drop. SeqCst defines a total decision order.", | |
| 45 | 추가: "before": "A cancellation CAS winning before begin_commit prevents linkat. Stop::Cancelled also stops before link. Callback(E) is returned unchanged, including when callback also requests cancellation. Native IO failures are returned before a later checkpoint and are not overwritten by cancellation.", | |
| 46 | 추가: "after": "Committing wins: requests return TooLate until publication drops; link syscall result preserved, no callbacks after CAS. Success cannot become cancelled and no unlink rollback exists. A late request after returned report is Finished.", | |
| 47 | 추가: "abandon": "Dropping unused Publication marks Finished without completion proof. Panic before commit unwinds RAII but returns no report; panic/abort and forced process death are not verified cleanup. Callback is trusted application code and may block or panic." | |
| 48 | 추가: }, | |
| 49 | 추가: "outcomes": { | |
| 50 | 추가: "NotCommitted": "All pre-link failures, including unsupported platform/filesystem, cancellation, original callback or IO error, and linkat EEXIST. Preserves errno without flattening to archive failure. This is an operation observation, not assertion that no other actor changed destination.", | |
| 51 | 추가: "CommitUncertain": "Any non-EEXIST linkat error is conservatively uncertain, including EXDEV/EINTR/ENOENT. Original io::Error retained, no receipt minted, no automatic retry/unlink. This deliberately overclassifies some definite failures pending later syscall-specific review.", | |
| 52 | 추가: "Committed": "linkat returned zero. Private file-layer receipt exists even if parent fsync or close fails. Not OS worker, archive validation or product Published success.", | |
| 53 | 추가: "durability": "File fsync failure is precommit failure. After link success, parent fsync success is FileAndParentSynced, otherwise ParentSyncFailed(original error). Two successful fsync returns are reported, not a guarantee against faulty storage or arbitrary crash recovery.", | |
| 54 | 추가: "cleanup": "All acquired fds are explicitly close'd once on every normal return. Order temporary, proc fd directory, proc root, parent. Fixed four-slot failures retain resource and original errno separately. Never retry close (including EINTR), never unlink any name. Unlinked O_TMPFILE normally ceases to exist after last reference, but successful close is not physical deletion proof; close failure is not reported as confirmed cleanup. Panic path uses File RAII with unobserved close errors." | |
| 55 | 추가: }, | |
| 56 | 추가: "diagnostics": "No stored full path, file content or raw byte Debug on Request/receipt/Report. Callback E and io::Error may carry caller-controlled data; consumers must redact rather than log raw Debug. No external transmission.", | |
| 57 | 추가: "validation": { | |
| 58 | 추가: "completed": [ | |
| 59 | 추가: "rustfmt syntax/format only", | |
| 60 | 추가: "locked/offline metadata and offline lock generation", | |
| 61 | 추가: "inline structural/static assertions and manifest hashes", | |
| 62 | 추가: "cached libc archive checksum, cached regular file equality and license texts" | |
| 63 | 추가: ], | |
| 64 | 추가: "not_performed": [ | |
| 65 | 추가: "Rust compile or typecheck", | |
| 66 | 추가: "tests/discovery", | |
| 67 | 추가: "publication/filesystem syscalls from candidate", | |
| 68 | 추가: "worker execution", | |
| 69 | 추가: "Windows", | |
| 70 | 추가: "GUI", | |
| 71 | 추가: "CVE/advisory audit" | |
| 72 | 추가: ], | |
| 73 | 추가: "future": "Synthetic files only in fresh task-owned directory on supported filesystem. Regression owner uses root tests/. Distinguish injected errors from real syscalls, parent replacement from persistence, EEXIST preservation, short/zero writes, verification mismatch, sync errors, cancellation/commit CAS order, late cancellation and close failures. Missing supported filesystem is unsupported, not authorization to mount/install/change environment." | |
| 74 | 추가: }, | |
| 75 | 추가: "references": [ | |
| 76 | 추가: "https://man7.org/linux/man-pages/man2/openat2.2.html", | |
| 77 | 추가: "https://man7.org/linux/man-pages/man2/open.2.html", | |
| 78 | 추가: "https://man7.org/linux/man-pages/man2/linkat.2.html", | |
| 79 | 추가: "https://man7.org/linux/man-pages/man2/fsync.2.html", | |
| 80 | 추가: "https://man7.org/linux/man-pages/man2/close.2.html" | |
| 81 | 추가: ], | |
| 82 | 추가: "preservation": [ | |
| 83 | 추가: "PR42/43/44/46 frozen", | |
| 84 | 추가: "C# unchanged", | |
| 85 | 추가: "No worker/execveat EACCES retry or bypass", | |
| 86 | 추가: "No folder publication or product UI", | |
| 87 | 추가: "No main merge", | |
| 88 | 추가: "No old evidence rewritten" | |
| 89 | 추가: ] | |
| 90 | 추가: } |
| @@ -0,0 +1,25 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "direct": [ | |
| 3 | 추가: { | |
| 4 | 추가: "name": "libc", | |
| 5 | 추가: "version": "0.2.191", | |
| 6 | 추가: "license": "MIT OR Apache-2.0", | |
| 7 | 추가: "target": "cfg(target_os = linux)", | |
| 8 | 추가: "features": [ | |
| 9 | 추가: "std" | |
| 10 | 추가: ], | |
| 11 | 추가: "default_features": false, | |
| 12 | 추가: "checksum": "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a", | |
| 13 | 추가: "cached_regular_files_verified": 452, | |
| 14 | 추가: "license_files": [ | |
| 15 | 추가: "LICENSE-APACHE", | |
| 16 | 추가: "LICENSE-MIT" | |
| 17 | 추가: ] | |
| 18 | 추가: } | |
| 19 | 추가: ], | |
| 20 | 추가: "transitive": [], | |
| 21 | 추가: "new_external_crate_versions": false, | |
| 22 | 추가: "reuse": "Existing rust-file-snapshot and rust-live-supervisor libc version; no snapshot dependency", | |
| 23 | 추가: "network_restore": false, | |
| 24 | 추가: "advisory_audit": "not performed; no vulnerability-free claim" | |
| 25 | 추가: } |
| @@ -0,0 +1,361 @@ | ||
| 1 | 추가: #![deny(unsafe_op_in_unsafe_fn)] | |
| 2 | 추가: | |
| 3 | 추가: //! 파일 계층의 단일 이름 게시만 담당함. | |
| 4 | 추가: //! 원래 경로 유지, 압축 검증, OS worker 실행과 원자적 입력 snapshot을 증명하지 않음. | |
| 5 | 추가: | |
| 6 | 추가: use std::{ | |
| 7 | 추가: ffi::OsStr, | |
| 8 | 추가: io, | |
| 9 | 추가: path::Path, | |
| 10 | 추가: sync::{ | |
| 11 | 추가: Arc, | |
| 12 | 추가: atomic::{AtomicU8, Ordering}, | |
| 13 | 추가: }, | |
| 14 | 추가: time::{Duration, Instant}, | |
| 15 | 추가: }; | |
| 16 | 추가: | |
| 17 | 추가: #[cfg(target_os = "linux")] | |
| 18 | 추가: mod linux; | |
| 19 | 추가: | |
| 20 | 추가: pub const MAX_BYTES: u64 = 16 * 1024 * 1024; | |
| 21 | 추가: pub const MAX_IO_BYTES: u64 = 128 * 1024 * 1024; | |
| 22 | 추가: pub const MAX_IO_CALLS: u64 = 131_072; | |
| 23 | 추가: pub const CHUNK_BYTES: usize = 65_536; | |
| 24 | 추가: const PENDING: u8 = 0; | |
| 25 | 추가: const CANCELLED: u8 = 1; | |
| 26 | 추가: const COMMITTING: u8 = 2; | |
| 27 | 추가: const FINISHED: u8 = 3; | |
| 28 | 추가: | |
| 29 | 추가: #[derive(Clone, Copy, Debug)] | |
| 30 | 추가: pub struct Limits { | |
| 31 | 추가: pub max_bytes: u64, | |
| 32 | 추가: pub max_io_bytes: u64, | |
| 33 | 추가: pub max_io_calls: u64, | |
| 34 | 추가: pub max_duration: Duration, | |
| 35 | 추가: } | |
| 36 | 추가: | |
| 37 | 추가: impl Default for Limits { | |
| 38 | 추가: fn default() -> Self { | |
| 39 | 추가: Self { | |
| 40 | 추가: max_bytes: MAX_BYTES, | |
| 41 | 추가: max_io_bytes: MAX_IO_BYTES, | |
| 42 | 추가: max_io_calls: MAX_IO_CALLS, | |
| 43 | 추가: max_duration: Duration::from_secs(30), | |
| 44 | 추가: } | |
| 45 | 추가: } | |
| 46 | 추가: } | |
| 47 | 추가: | |
| 48 | 추가: pub struct Request<'a> { | |
| 49 | 추가: pub parent: &'a Path, | |
| 50 | 추가: pub leaf: &'a OsStr, | |
| 51 | 추가: pub bytes: &'a [u8], | |
| 52 | 추가: pub limits: Limits, | |
| 53 | 추가: } | |
| 54 | 추가: | |
| 55 | 추가: #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] | |
| 56 | 추가: pub struct Usage { | |
| 57 | 추가: pub open_calls: u64, | |
| 58 | 추가: pub metadata_calls: u64, | |
| 59 | 추가: pub sync_calls: u64, | |
| 60 | 추가: pub link_calls: u64, | |
| 61 | 추가: pub read_calls: u64, | |
| 62 | 추가: pub write_calls: u64, | |
| 63 | 추가: pub reserved_io_bytes: u64, | |
| 64 | 추가: pub actual_read_bytes: u64, | |
| 65 | 추가: pub actual_written_bytes: u64, | |
| 66 | 추가: } | |
| 67 | 추가: | |
| 68 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 69 | 추가: pub enum Stage { | |
| 70 | 추가: Opening, | |
| 71 | 추가: Writing, | |
| 72 | 추가: Verifying, | |
| 73 | 추가: BeforeCommit, | |
| 74 | 추가: } | |
| 75 | 추가: | |
| 76 | 추가: #[derive(Clone, Copy, Debug)] | |
| 77 | 추가: pub struct Checkpoint { | |
| 78 | 추가: pub stage: Stage, | |
| 79 | 추가: pub offset: u64, | |
| 80 | 추가: pub length: u64, | |
| 81 | 추가: pub usage: Usage, | |
| 82 | 추가: } | |
| 83 | 추가: | |
| 84 | 추가: #[derive(Debug)] | |
| 85 | 추가: pub enum Stop<E> { | |
| 86 | 추가: Cancelled, | |
| 87 | 추가: Callback(E), | |
| 88 | 추가: } | |
| 89 | 추가: | |
| 90 | 추가: #[derive(Debug)] | |
| 91 | 추가: pub enum Error<E> { | |
| 92 | 추가: InvalidLimits, | |
| 93 | 추가: InvalidPath, | |
| 94 | 추가: LimitExceeded, | |
| 95 | 추가: DeadlineExceeded, | |
| 96 | 추가: Cancelled, | |
| 97 | 추가: Callback(E), | |
| 98 | 추가: UnsupportedPlatform, | |
| 99 | 추가: UnsupportedFilesystem, | |
| 100 | 추가: UntrustedParent, | |
| 101 | 추가: InvalidTemporaryFile, | |
| 102 | 추가: VerificationMismatch, | |
| 103 | 추가: Io { | |
| 104 | 추가: operation: &'static str, | |
| 105 | 추가: source: io::Error, | |
| 106 | 추가: }, | |
| 107 | 추가: } | |
| 108 | 추가: | |
| 109 | 추가: // 재사용이나 초기화 API를 제공하지 않는 작업별 취소 핸들임. | |
| 110 | 추가: #[derive(Clone)] | |
| 111 | 추가: pub struct Cancellation { | |
| 112 | 추가: state: Arc<AtomicU8>, | |
| 113 | 추가: } | |
| 114 | 추가: | |
| 115 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 116 | 추가: pub enum CancelDecision { | |
| 117 | 추가: Requested, | |
| 118 | 추가: AlreadyRequested, | |
| 119 | 추가: TooLate, | |
| 120 | 추가: Finished, | |
| 121 | 추가: } | |
| 122 | 추가: | |
| 123 | 추가: impl Cancellation { | |
| 124 | 추가: pub fn request(&self) -> CancelDecision { | |
| 125 | 추가: match self | |
| 126 | 추가: .state | |
| 127 | 추가: .compare_exchange(PENDING, CANCELLED, Ordering::SeqCst, Ordering::SeqCst) | |
| 128 | 추가: { | |
| 129 | 추가: Ok(_) => CancelDecision::Requested, | |
| 130 | 추가: Err(CANCELLED) => CancelDecision::AlreadyRequested, | |
| 131 | 추가: Err(COMMITTING) => CancelDecision::TooLate, | |
| 132 | 추가: Err(_) => CancelDecision::Finished, | |
| 133 | 추가: } | |
| 134 | 추가: } | |
| 135 | 추가: } | |
| 136 | 추가: | |
| 137 | 추가: pub struct Publication { | |
| 138 | 추가: state: Arc<AtomicU8>, | |
| 139 | 추가: } | |
| 140 | 추가: | |
| 141 | 추가: impl Publication { | |
| 142 | 추가: pub fn new() -> (Self, Cancellation) { | |
| 143 | 추가: let state = Arc::new(AtomicU8::new(PENDING)); | |
| 144 | 추가: ( | |
| 145 | 추가: Self { | |
| 146 | 추가: state: state.clone(), | |
| 147 | 추가: }, | |
| 148 | 추가: Cancellation { state }, | |
| 149 | 추가: ) | |
| 150 | 추가: } | |
| 151 | 추가: | |
| 152 | 추가: // 반환 receipt는 파일 이름 생성만 증명하며 내용의 업무상 유효성을 증명하지 않음. | |
| 153 | 추가: pub fn publish<E>( | |
| 154 | 추가: self, | |
| 155 | 추가: request: Request<'_>, | |
| 156 | 추가: mut checkpoint: impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 157 | 추가: ) -> Report<E> { | |
| 158 | 추가: let mut run = Run { | |
| 159 | 추가: limits: request.limits, | |
| 160 | 추가: usage: Usage::default(), | |
| 161 | 추가: started: Instant::now(), | |
| 162 | 추가: state: &self.state, | |
| 163 | 추가: length: request.bytes.len() as u64, | |
| 164 | 추가: }; | |
| 165 | 추가: if let Err(error) = run.validate() { | |
| 166 | 추가: return Report { | |
| 167 | 추가: outcome: Outcome::NotCommitted(error), | |
| 168 | 추가: usage: run.usage, | |
| 169 | 추가: cleanup: Cleanup::empty(), | |
| 170 | 추가: }; | |
| 171 | 추가: } | |
| 172 | 추가: #[cfg(target_os = "linux")] | |
| 173 | 추가: { | |
| 174 | 추가: linux::publish(request, &mut run, &mut checkpoint) | |
| 175 | 추가: } | |
| 176 | 추가: #[cfg(not(target_os = "linux"))] | |
| 177 | 추가: { | |
| 178 | 추가: let _ = &mut checkpoint; | |
| 179 | 추가: Report { | |
| 180 | 추가: outcome: Outcome::NotCommitted(Error::UnsupportedPlatform), | |
| 181 | 추가: usage: run.usage, | |
| 182 | 추가: cleanup: Cleanup::empty(), | |
| 183 | 추가: } | |
| 184 | 추가: } | |
| 185 | 추가: } | |
| 186 | 추가: } | |
| 187 | 추가: | |
| 188 | 추가: impl Drop for Publication { | |
| 189 | 추가: fn drop(&mut self) { | |
| 190 | 추가: self.state.store(FINISHED, Ordering::SeqCst); | |
| 191 | 추가: } | |
| 192 | 추가: } | |
| 193 | 추가: | |
| 194 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 195 | 추가: pub struct Identity { | |
| 196 | 추가: device: u64, | |
| 197 | 추가: inode: u64, | |
| 198 | 추가: } | |
| 199 | 추가: | |
| 200 | 추가: impl Identity { | |
| 201 | 추가: pub fn device(&self) -> u64 { | |
| 202 | 추가: self.device | |
| 203 | 추가: } | |
| 204 | 추가: pub fn inode(&self) -> u64 { | |
| 205 | 추가: self.inode | |
| 206 | 추가: } | |
| 207 | 추가: } | |
| 208 | 추가: | |
| 209 | 추가: // 외부 생성자와 역직렬화를 제공하지 않음. | |
| 210 | 추가: pub struct FileCommitReceipt { | |
| 211 | 추가: parent: Identity, | |
| 212 | 추가: file: Identity, | |
| 213 | 추가: length: u64, | |
| 214 | 추가: } | |
| 215 | 추가: | |
| 216 | 추가: impl FileCommitReceipt { | |
| 217 | 추가: pub fn parent_identity(&self) -> Identity { | |
| 218 | 추가: self.parent | |
| 219 | 추가: } | |
| 220 | 추가: pub fn file_identity(&self) -> Identity { | |
| 221 | 추가: self.file | |
| 222 | 추가: } | |
| 223 | 추가: pub fn length(&self) -> u64 { | |
| 224 | 추가: self.length | |
| 225 | 추가: } | |
| 226 | 추가: } | |
| 227 | 추가: | |
| 228 | 추가: #[derive(Debug)] | |
| 229 | 추가: pub enum Durability { | |
| 230 | 추가: FileAndParentSynced, | |
| 231 | 추가: ParentSyncFailed(io::Error), | |
| 232 | 추가: } | |
| 233 | 추가: | |
| 234 | 추가: pub enum Outcome<E> { | |
| 235 | 추가: NotCommitted(Error<E>), | |
| 236 | 추가: // 링크 호출 실패의 원격 또는 파일시스템 부작용을 추측하지 않음. | |
| 237 | 추가: CommitUncertain { | |
| 238 | 추가: source: io::Error, | |
| 239 | 추가: }, | |
| 240 | 추가: Committed { | |
| 241 | 추가: receipt: FileCommitReceipt, | |
| 242 | 추가: durability: Durability, | |
| 243 | 추가: }, | |
| 244 | 추가: } | |
| 245 | 추가: | |
| 246 | 추가: #[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
| 247 | 추가: pub enum Resource { | |
| 248 | 추가: TemporaryFile, | |
| 249 | 추가: ProcFdDirectory, | |
| 250 | 추가: ProcRoot, | |
| 251 | 추가: ParentDirectory, | |
| 252 | 추가: } | |
| 253 | 추가: | |
| 254 | 추가: #[derive(Debug)] | |
| 255 | 추가: pub struct CloseFailure { | |
| 256 | 추가: pub resource: Resource, | |
| 257 | 추가: pub source: io::Error, | |
| 258 | 추가: } | |
| 259 | 추가: | |
| 260 | 추가: #[derive(Debug)] | |
| 261 | 추가: pub struct Cleanup { | |
| 262 | 추가: pub attempted: u8, | |
| 263 | 추가: pub failures: [Option<CloseFailure>; 4], | |
| 264 | 추가: } | |
| 265 | 추가: | |
| 266 | 추가: impl Cleanup { | |
| 267 | 추가: fn empty() -> Self { | |
| 268 | 추가: Self { | |
| 269 | 추가: attempted: 0, | |
| 270 | 추가: failures: [None, None, None, None], | |
| 271 | 추가: } | |
| 272 | 추가: } | |
| 273 | 추가: | |
| 274 | 추가: // 성공한 close 호출만 뜻하며 물리 삭제나 저장 내구성 증거가 아님. | |
| 275 | 추가: pub fn all_close_calls_succeeded(&self) -> bool { | |
| 276 | 추가: self.failures.iter().all(Option::is_none) | |
| 277 | 추가: } | |
| 278 | 추가: } | |
| 279 | 추가: | |
| 280 | 추가: pub struct Report<E> { | |
| 281 | 추가: pub outcome: Outcome<E>, | |
| 282 | 추가: pub usage: Usage, | |
| 283 | 추가: pub cleanup: Cleanup, | |
| 284 | 추가: } | |
| 285 | 추가: | |
| 286 | 추가: struct Run<'a> { | |
| 287 | 추가: limits: Limits, | |
| 288 | 추가: usage: Usage, | |
| 289 | 추가: started: Instant, | |
| 290 | 추가: state: &'a AtomicU8, | |
| 291 | 추가: length: u64, | |
| 292 | 추가: } | |
| 293 | 추가: | |
| 294 | 추가: impl Run<'_> { | |
| 295 | 추가: fn validate<E>(&self) -> Result<(), Error<E>> { | |
| 296 | 추가: if self.limits.max_bytes > MAX_BYTES | |
| 297 | 추가: || self.limits.max_io_bytes > MAX_IO_BYTES | |
| 298 | 추가: || self.limits.max_io_calls > MAX_IO_CALLS | |
| 299 | 추가: || self.limits.max_duration.is_zero() | |
| 300 | 추가: || self.limits.max_duration > Duration::from_secs(300) | |
| 301 | 추가: { | |
| 302 | 추가: return Err(Error::InvalidLimits); | |
| 303 | 추가: } | |
| 304 | 추가: if self.length > self.limits.max_bytes { | |
| 305 | 추가: return Err(Error::LimitExceeded); | |
| 306 | 추가: } | |
| 307 | 추가: Ok(()) | |
| 308 | 추가: } | |
| 309 | 추가: | |
| 310 | 추가: fn check<E>( | |
| 311 | 추가: &self, | |
| 312 | 추가: stage: Stage, | |
| 313 | 추가: offset: usize, | |
| 314 | 추가: callback: &mut impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 315 | 추가: ) -> Result<(), Error<E>> { | |
| 316 | 추가: match callback(Checkpoint { | |
| 317 | 추가: stage, | |
| 318 | 추가: offset: offset as u64, | |
| 319 | 추가: length: self.length, | |
| 320 | 추가: usage: self.usage, | |
| 321 | 추가: }) { | |
| 322 | 추가: Err(Stop::Callback(error)) => return Err(Error::Callback(error)), | |
| 323 | 추가: Err(Stop::Cancelled) => return Err(Error::Cancelled), | |
| 324 | 추가: Ok(()) => {} | |
| 325 | 추가: } | |
| 326 | 추가: if self.state.load(Ordering::SeqCst) == CANCELLED { | |
| 327 | 추가: return Err(Error::Cancelled); | |
| 328 | 추가: } | |
| 329 | 추가: if self.started.elapsed() >= self.limits.max_duration { | |
| 330 | 추가: return Err(Error::DeadlineExceeded); | |
| 331 | 추가: } | |
| 332 | 추가: Ok(()) | |
| 333 | 추가: } | |
| 334 | 추가: | |
| 335 | 추가: fn reserve<E>(&mut self, count: usize, write: bool) -> Result<(), Error<E>> { | |
| 336 | 추가: let total = self | |
| 337 | 추가: .usage | |
| 338 | 추가: .reserved_io_bytes | |
| 339 | 추가: .checked_add(count as u64) | |
| 340 | 추가: .ok_or(Error::LimitExceeded)?; | |
| 341 | 추가: if total > self.limits.max_io_bytes | |
| 342 | 추가: || self.usage.read_calls + self.usage.write_calls >= self.limits.max_io_calls | |
| 343 | 추가: { | |
| 344 | 추가: return Err(Error::LimitExceeded); | |
| 345 | 추가: } | |
| 346 | 추가: self.usage.reserved_io_bytes = total; | |
| 347 | 추가: if write { | |
| 348 | 추가: self.usage.write_calls += 1; | |
| 349 | 추가: } else { | |
| 350 | 추가: self.usage.read_calls += 1; | |
| 351 | 추가: } | |
| 352 | 추가: Ok(()) | |
| 353 | 추가: } | |
| 354 | 추가: | |
| 355 | 추가: fn begin_commit<E>(&self) -> Result<(), Error<E>> { | |
| 356 | 추가: self.state | |
| 357 | 추가: .compare_exchange(PENDING, COMMITTING, Ordering::SeqCst, Ordering::SeqCst) | |
| 358 | 추가: .map(|_| ()) | |
| 359 | 추가: .map_err(|_| Error::Cancelled) | |
| 360 | 추가: } | |
| 361 | 추가: } |
| @@ -0,0 +1,343 @@ | ||
| 1 | 추가: use super::*; | |
| 2 | 추가: use std::{ | |
| 3 | 추가: ffi::{CStr, CString}, | |
| 4 | 추가: fs::{File, Metadata}, | |
| 5 | 추가: mem::MaybeUninit, | |
| 6 | 추가: os::{ | |
| 7 | 추가: fd::{AsRawFd, FromRawFd, IntoRawFd, RawFd}, | |
| 8 | 추가: unix::{ffi::OsStrExt, fs::MetadataExt}, | |
| 9 | 추가: }, | |
| 10 | 추가: }; | |
| 11 | 추가: | |
| 12 | 추가: const NO_SYMLINKS: u64 = 0x04; | |
| 13 | 추가: const BENEATH: u64 = 0x08; | |
| 14 | 추가: const NO_XDEV: u64 = 0x01; | |
| 15 | 추가: | |
| 16 | 추가: #[repr(C)] | |
| 17 | 추가: struct OpenHow { | |
| 18 | 추가: flags: u64, | |
| 19 | 추가: mode: u64, | |
| 20 | 추가: resolve: u64, | |
| 21 | 추가: } | |
| 22 | 추가: | |
| 23 | 추가: #[derive(Default)] | |
| 24 | 추가: struct Handles { | |
| 25 | 추가: parent: Option<File>, | |
| 26 | 추가: temp: Option<File>, | |
| 27 | 추가: proc_root: Option<File>, | |
| 28 | 추가: proc_fds: Option<File>, | |
| 29 | 추가: } | |
| 30 | 추가: | |
| 31 | 추가: impl Handles { | |
| 32 | 추가: fn close_all(&mut self) -> Cleanup { | |
| 33 | 추가: let mut cleanup = Cleanup::empty(); | |
| 34 | 추가: for (resource, file) in [ | |
| 35 | 추가: (Resource::TemporaryFile, self.temp.take()), | |
| 36 | 추가: (Resource::ProcFdDirectory, self.proc_fds.take()), | |
| 37 | 추가: (Resource::ProcRoot, self.proc_root.take()), | |
| 38 | 추가: (Resource::ParentDirectory, self.parent.take()), | |
| 39 | 추가: ] { | |
| 40 | 추가: if let Some(file) = file { | |
| 41 | 추가: let fd = file.into_raw_fd(); | |
| 42 | 추가: let index = cleanup.attempted as usize; | |
| 43 | 추가: cleanup.attempted += 1; | |
| 44 | 추가: // 소유 fd를 한 번만 닫으며 Linux close 오류를 재시도하지 않음. | |
| 45 | 추가: if unsafe { libc::close(fd) } != 0 { | |
| 46 | 추가: cleanup.failures[index] = Some(CloseFailure { | |
| 47 | 추가: resource, | |
| 48 | 추가: source: io::Error::last_os_error(), | |
| 49 | 추가: }); | |
| 50 | 추가: } | |
| 51 | 추가: } | |
| 52 | 추가: } | |
| 53 | 추가: cleanup | |
| 54 | 추가: } | |
| 55 | 추가: } | |
| 56 | 추가: | |
| 57 | 추가: pub(super) fn publish<E>( | |
| 58 | 추가: request: Request<'_>, | |
| 59 | 추가: run: &mut Run<'_>, | |
| 60 | 추가: callback: &mut impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 61 | 추가: ) -> Report<E> { | |
| 62 | 추가: let mut handles = Handles::default(); | |
| 63 | 추가: let outcome = match perform(request, run, callback, &mut handles) { | |
| 64 | 추가: Ok(outcome) => outcome, | |
| 65 | 추가: Err(error) => Outcome::NotCommitted(error), | |
| 66 | 추가: }; | |
| 67 | 추가: let cleanup = handles.close_all(); | |
| 68 | 추가: Report { | |
| 69 | 추가: outcome, | |
| 70 | 추가: usage: run.usage, | |
| 71 | 추가: cleanup, | |
| 72 | 추가: } | |
| 73 | 추가: } | |
| 74 | 추가: | |
| 75 | 추가: fn io_error<E>(operation: &'static str, source: io::Error) -> Error<E> { | |
| 76 | 추가: Error::Io { operation, source } | |
| 77 | 추가: } | |
| 78 | 추가: | |
| 79 | 추가: fn opened<E>(fd: libc::c_long, operation: &'static str) -> Result<File, Error<E>> { | |
| 80 | 추가: if fd < 0 { | |
| 81 | 추가: return Err(io_error(operation, io::Error::last_os_error())); | |
| 82 | 추가: } | |
| 83 | 추가: // 성공한 open 계열 호출의 새 fd 소유권을 정확히 한 번 인수함. | |
| 84 | 추가: Ok(unsafe { File::from_raw_fd(fd as RawFd) }) | |
| 85 | 추가: } | |
| 86 | 추가: | |
| 87 | 추가: fn open2<E>( | |
| 88 | 추가: dir: RawFd, | |
| 89 | 추가: path: &CStr, | |
| 90 | 추가: flags: i32, | |
| 91 | 추가: resolve: u64, | |
| 92 | 추가: run: &mut Run<'_>, | |
| 93 | 추가: ) -> Result<File, Error<E>> { | |
| 94 | 추가: let how = OpenHow { | |
| 95 | 추가: flags: flags as u64, | |
| 96 | 추가: mode: 0, | |
| 97 | 추가: resolve, | |
| 98 | 추가: }; | |
| 99 | 추가: run.usage.open_calls += 1; | |
| 100 | 추가: // NUL 종료 경로와 초기화한 구조체를 호출 동안 유지함. | |
| 101 | 추가: let fd = unsafe { | |
| 102 | 추가: libc::syscall( | |
| 103 | 추가: libc::SYS_openat2, | |
| 104 | 추가: dir, | |
| 105 | 추가: path.as_ptr(), | |
| 106 | 추가: &how as *const OpenHow, | |
| 107 | 추가: std::mem::size_of::<OpenHow>(), | |
| 108 | 추가: ) | |
| 109 | 추가: }; | |
| 110 | 추가: opened(fd, "openat2") | |
| 111 | 추가: } | |
| 112 | 추가: | |
| 113 | 추가: fn metadata<E>(file: &File, run: &mut Run<'_>) -> Result<Metadata, Error<E>> { | |
| 114 | 추가: run.usage.metadata_calls += 1; | |
| 115 | 추가: file.metadata().map_err(|error| io_error("fstat", error)) | |
| 116 | 추가: } | |
| 117 | 추가: | |
| 118 | 추가: fn filesystem<E>(file: &File, run: &mut Run<'_>) -> Result<u64, Error<E>> { | |
| 119 | 추가: let mut value = MaybeUninit::<libc::statfs>::uninit(); | |
| 120 | 추가: run.usage.metadata_calls += 1; | |
| 121 | 추가: // 성공한 fstatfs만 초기화된 구조체로 읽음. | |
| 122 | 추가: if unsafe { libc::fstatfs(file.as_raw_fd(), value.as_mut_ptr()) } != 0 { | |
| 123 | 추가: return Err(io_error("fstatfs", io::Error::last_os_error())); | |
| 124 | 추가: } | |
| 125 | 추가: Ok(unsafe { value.assume_init() }.f_type as u64) | |
| 126 | 추가: } | |
| 127 | 추가: | |
| 128 | 추가: fn identity(value: &Metadata) -> Identity { | |
| 129 | 추가: Identity { | |
| 130 | 추가: device: value.dev(), | |
| 131 | 추가: inode: value.ino(), | |
| 132 | 추가: } | |
| 133 | 추가: } | |
| 134 | 추가: | |
| 135 | 추가: fn paths<E>(request: &Request<'_>) -> Result<(CString, CString), Error<E>> { | |
| 136 | 추가: let parent = request.parent.as_os_str().as_bytes(); | |
| 137 | 추가: let leaf = request.leaf.as_bytes(); | |
| 138 | 추가: if parent.first() != Some(&b'/') | |
| 139 | 추가: || parent.len() > 4095 | |
| 140 | 추가: || (parent != b"/" | |
| 141 | 추가: && parent[1..] | |
| 142 | 추가: .split(|v| *v == b'/') | |
| 143 | 추가: .any(|v| v.is_empty() || v == b"." || v == b"..")) | |
| 144 | 추가: || leaf.is_empty() | |
| 145 | 추가: || leaf.len() > 255 | |
| 146 | 추가: || leaf == b"." | |
| 147 | 추가: || leaf == b".." | |
| 148 | 추가: || leaf.contains(&b'/') | |
| 149 | 추가: { | |
| 150 | 추가: return Err(Error::InvalidPath); | |
| 151 | 추가: } | |
| 152 | 추가: Ok(( | |
| 153 | 추가: CString::new(parent).map_err(|_| Error::InvalidPath)?, | |
| 154 | 추가: CString::new(leaf).map_err(|_| Error::InvalidPath)?, | |
| 155 | 추가: )) | |
| 156 | 추가: } | |
| 157 | 추가: | |
| 158 | 추가: fn perform<E>( | |
| 159 | 추가: request: Request<'_>, | |
| 160 | 추가: run: &mut Run<'_>, | |
| 161 | 추가: callback: &mut impl FnMut(Checkpoint) -> Result<(), Stop<E>>, | |
| 162 | 추가: handles: &mut Handles, | |
| 163 | 추가: ) -> Result<Outcome<E>, Error<E>> { | |
| 164 | 추가: let (parent_path, leaf) = paths(&request)?; | |
| 165 | 추가: run.check(Stage::Opening, 0, callback)?; | |
| 166 | 추가: handles.parent = Some(open2( | |
| 167 | 추가: libc::AT_FDCWD, | |
| 168 | 추가: &parent_path, | |
| 169 | 추가: libc::O_RDONLY | libc::O_DIRECTORY | libc::O_CLOEXEC | libc::O_NONBLOCK | libc::O_NOCTTY, | |
| 170 | 추가: NO_SYMLINKS, | |
| 171 | 추가: run, | |
| 172 | 추가: )?); | |
| 173 | 추가: let parent = handles.parent.as_ref().expect("owned parent"); | |
| 174 | 추가: let parent_meta = metadata(parent, run)?; | |
| 175 | 추가: // 유효 UID를 읽을 뿐 권한이나 신원을 변경하지 않음. | |
| 176 | 추가: let uid = unsafe { libc::geteuid() }; | |
| 177 | 추가: if !parent_meta.is_dir() || parent_meta.uid() != uid || parent_meta.mode() & 0o022 != 0 { | |
| 178 | 추가: return Err(Error::UntrustedParent); | |
| 179 | 추가: } | |
| 180 | 추가: match filesystem(parent, run)? { | |
| 181 | 추가: 0xef53 | 0x58465342 => {} | |
| 182 | 추가: _ => return Err(Error::UnsupportedFilesystem), | |
| 183 | 추가: } | |
| 184 | 추가: run.check(Stage::Opening, 0, callback)?; | |
| 185 | 추가: run.usage.open_calls += 1; | |
| 186 | 추가: // 고정 부모 아래 이름 없는 파일을 만들며 O_EXCL을 사용하지 않음. | |
| 187 | 추가: handles.temp = Some(opened( | |
| 188 | 추가: unsafe { | |
| 189 | 추가: libc::openat( | |
| 190 | 추가: parent.as_raw_fd(), | |
| 191 | 추가: c".".as_ptr(), | |
| 192 | 추가: libc::O_TMPFILE | libc::O_RDWR | libc::O_CLOEXEC, | |
| 193 | 추가: 0o600 as libc::mode_t, | |
| 194 | 추가: ) | |
| 195 | 추가: } as libc::c_long, | |
| 196 | 추가: "openat_tmpfile", | |
| 197 | 추가: )?); | |
| 198 | 추가: let temp = handles.temp.as_mut().expect("owned temporary file"); | |
| 199 | 추가: let initial = metadata(temp, run)?; | |
| 200 | 추가: if !initial.is_file() | |
| 201 | 추가: || initial.nlink() != 0 | |
| 202 | 추가: || initial.uid() != uid | |
| 203 | 추가: || initial.dev() != parent_meta.dev() | |
| 204 | 추가: { | |
| 205 | 추가: return Err(Error::InvalidTemporaryFile); | |
| 206 | 추가: } | |
| 207 | 추가: let mut offset = 0; | |
| 208 | 추가: while offset < request.bytes.len() { | |
| 209 | 추가: run.check(Stage::Writing, offset, callback)?; | |
| 210 | 추가: let end = (offset + CHUNK_BYTES).min(request.bytes.len()); | |
| 211 | 추가: run.reserve(end - offset, true)?; | |
| 212 | 추가: // 읽기 전용 입력 슬라이스의 유효 범위만 커널에 전달함. | |
| 213 | 추가: let result = unsafe { | |
| 214 | 추가: libc::write( | |
| 215 | 추가: temp.as_raw_fd(), | |
| 216 | 추가: request.bytes[offset..end].as_ptr().cast(), | |
| 217 | 추가: end - offset, | |
| 218 | 추가: ) | |
| 219 | 추가: }; | |
| 220 | 추가: if result < 0 { | |
| 221 | 추가: return Err(io_error("write", io::Error::last_os_error())); | |
| 222 | 추가: } | |
| 223 | 추가: let count = result as usize; | |
| 224 | 추가: run.usage.actual_written_bytes += count as u64; | |
| 225 | 추가: if count == 0 { | |
| 226 | 추가: return Err(io_error("write", io::Error::from(io::ErrorKind::WriteZero))); | |
| 227 | 추가: } | |
| 228 | 추가: offset += count; | |
| 229 | 추가: } | |
| 230 | 추가: run.check(Stage::Verifying, 0, callback)?; | |
| 231 | 추가: run.usage.sync_calls += 1; | |
| 232 | 추가: sync(temp).map_err(|error| io_error("fsync_file", error))?; | |
| 233 | 추가: // 소유한 임시 파일의 읽기 위치만 이동함. | |
| 234 | 추가: if unsafe { libc::lseek(temp.as_raw_fd(), 0, libc::SEEK_SET) } < 0 { | |
| 235 | 추가: return Err(io_error("lseek", io::Error::last_os_error())); | |
| 236 | 추가: } | |
| 237 | 추가: let mut scratch = [0_u8; CHUNK_BYTES]; | |
| 238 | 추가: offset = 0; | |
| 239 | 추가: while offset < request.bytes.len() { | |
| 240 | 추가: run.check(Stage::Verifying, offset, callback)?; | |
| 241 | 추가: let count = CHUNK_BYTES.min(request.bytes.len() - offset); | |
| 242 | 추가: run.reserve(count, false)?; | |
| 243 | 추가: let read = | |
| 244 | 추가: read_once(temp, &mut scratch[..count]).map_err(|error| io_error("read", error))?; | |
| 245 | 추가: run.usage.actual_read_bytes += read as u64; | |
| 246 | 추가: if read == 0 || scratch[..read] != request.bytes[offset..offset + read] { | |
| 247 | 추가: return Err(Error::VerificationMismatch); | |
| 248 | 추가: } | |
| 249 | 추가: offset += read; | |
| 250 | 추가: } | |
| 251 | 추가: run.check(Stage::Verifying, offset, callback)?; | |
| 252 | 추가: run.reserve(1, false)?; | |
| 253 | 추가: let extra = read_once(temp, &mut scratch[..1]).map_err(|error| io_error("read_eof", error))?; | |
| 254 | 추가: run.usage.actual_read_bytes += extra as u64; | |
| 255 | 추가: if extra != 0 { | |
| 256 | 추가: return Err(Error::VerificationMismatch); | |
| 257 | 추가: } | |
| 258 | 추가: let final_meta = metadata(temp, run)?; | |
| 259 | 추가: if identity(&final_meta) != identity(&initial) | |
| 260 | 추가: || !final_meta.is_file() | |
| 261 | 추가: || final_meta.nlink() != 0 | |
| 262 | 추가: || final_meta.len() != request.bytes.len() as u64 | |
| 263 | 추가: { | |
| 264 | 추가: return Err(Error::VerificationMismatch); | |
| 265 | 추가: } | |
| 266 | 추가: // procfs 연결 방식은 파일 계층용이며 worker 실행 우회가 아님. | |
| 267 | 추가: handles.proc_root = Some(open2( | |
| 268 | 추가: libc::AT_FDCWD, | |
| 269 | 추가: c"/proc", | |
| 270 | 추가: libc::O_PATH | libc::O_DIRECTORY | libc::O_CLOEXEC, | |
| 271 | 추가: NO_SYMLINKS, | |
| 272 | 추가: run, | |
| 273 | 추가: )?); | |
| 274 | 추가: let proc_root = handles.proc_root.as_ref().expect("owned proc root"); | |
| 275 | 추가: if filesystem(proc_root, run)? != 0x9fa0 { | |
| 276 | 추가: return Err(Error::UnsupportedFilesystem); | |
| 277 | 추가: } | |
| 278 | 추가: // 현재 프로세스의 숫자 경로를 사용해 self 심볼릭 링크를 피함. | |
| 279 | 추가: let pid = unsafe { libc::getpid() }; | |
| 280 | 추가: let proc_path = CString::new(format!("{pid}/fd")).map_err(|_| Error::InvalidPath)?; | |
| 281 | 추가: handles.proc_fds = Some(open2( | |
| 282 | 추가: proc_root.as_raw_fd(), | |
| 283 | 추가: &proc_path, | |
| 284 | 추가: libc::O_PATH | libc::O_DIRECTORY | libc::O_CLOEXEC, | |
| 285 | 추가: BENEATH | NO_SYMLINKS | NO_XDEV, | |
| 286 | 추가: run, | |
| 287 | 추가: )?); | |
| 288 | 추가: let proc_fds = handles.proc_fds.as_ref().expect("owned proc fd directory"); | |
| 289 | 추가: let fd_name = CString::new(temp.as_raw_fd().to_string()).map_err(|_| Error::InvalidPath)?; | |
| 290 | 추가: run.check(Stage::BeforeCommit, offset, callback)?; | |
| 291 | 추가: run.begin_commit()?; | |
| 292 | 추가: run.usage.link_calls += 1; | |
| 293 | 추가: // CAS 이후 callback 없이 소유 fd와 고정 부모 사이의 원자적 링크를 한 번 시도함. | |
| 294 | 추가: let linked = unsafe { | |
| 295 | 추가: libc::linkat( | |
| 296 | 추가: proc_fds.as_raw_fd(), | |
| 297 | 추가: fd_name.as_ptr(), | |
| 298 | 추가: parent.as_raw_fd(), | |
| 299 | 추가: leaf.as_ptr(), | |
| 300 | 추가: libc::AT_SYMLINK_FOLLOW, | |
| 301 | 추가: ) | |
| 302 | 추가: }; | |
| 303 | 추가: if linked != 0 { | |
| 304 | 추가: let source = io::Error::last_os_error(); | |
| 305 | 추가: if source.raw_os_error() == Some(libc::EEXIST) { | |
| 306 | 추가: return Err(io_error("linkat_conflict", source)); | |
| 307 | 추가: } | |
| 308 | 추가: return Ok(Outcome::CommitUncertain { source }); | |
| 309 | 추가: } | |
| 310 | 추가: let receipt = FileCommitReceipt { | |
| 311 | 추가: parent: identity(&parent_meta), | |
| 312 | 추가: file: identity(&initial), | |
| 313 | 추가: length: run.length, | |
| 314 | 추가: }; | |
| 315 | 추가: run.usage.sync_calls += 1; | |
| 316 | 추가: let durability = match sync(parent) { | |
| 317 | 추가: Ok(()) => Durability::FileAndParentSynced, | |
| 318 | 추가: Err(error) => Durability::ParentSyncFailed(error), | |
| 319 | 추가: }; | |
| 320 | 추가: Ok(Outcome::Committed { | |
| 321 | 추가: receipt, | |
| 322 | 추가: durability, | |
| 323 | 추가: }) | |
| 324 | 추가: } | |
| 325 | 추가: | |
| 326 | 추가: fn read_once(file: &File, buffer: &mut [u8]) -> io::Result<usize> { | |
| 327 | 추가: // 독점 대여한 버퍼의 길이 안에서만 읽으며 EINTR도 원형으로 반환함. | |
| 328 | 추가: let result = unsafe { libc::read(file.as_raw_fd(), buffer.as_mut_ptr().cast(), buffer.len()) }; | |
| 329 | 추가: if result < 0 { | |
| 330 | 추가: Err(io::Error::last_os_error()) | |
| 331 | 추가: } else { | |
| 332 | 추가: Ok(result as usize) | |
| 333 | 추가: } | |
| 334 | 추가: } | |
| 335 | 추가: | |
| 336 | 추가: fn sync(file: &File) -> io::Result<()> { | |
| 337 | 추가: // 소유 fd에 한 번만 fsync를 호출함. | |
| 338 | 추가: if unsafe { libc::fsync(file.as_raw_fd()) } == 0 { | |
| 339 | 추가: Ok(()) | |
| 340 | 추가: } else { | |
| 341 | 추가: Err(io::Error::last_os_error()) | |
| 342 | 추가: } | |
| 343 | 추가: } |
| @@ -0,0 +1,54 @@ | ||
| 1 | 추가: { | |
| 2 | 추가: "kind": "author source/static only", | |
| 3 | 추가: "commands": [ | |
| 4 | 추가: { | |
| 5 | 추가: "command": [ | |
| 6 | 추가: "rustfmt", | |
| 7 | 추가: "+1.99.1", | |
| 8 | 추가: "--edition", | |
| 9 | 추가: "2024", | |
| 10 | 추가: "experiments/rust-file-publication/src/lib.rs", | |
| 11 | 추가: "experiments/rust-file-publication/src/linux.rs" | |
| 12 | 추가: ], | |
| 13 | 추가: "exit_code": 0, | |
| 14 | 추가: "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", | |
| 15 | 추가: "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" | |
| 16 | 추가: }, | |
| 17 | 추가: { | |
| 18 | 추가: "command": [ | |
| 19 | 추가: "rustfmt", | |
| 20 | 추가: "+1.99.1", | |
| 21 | 추가: "--edition", | |
| 22 | 추가: "2024", | |
| 23 | 추가: "--check", | |
| 24 | 추가: "experiments/rust-file-publication/src/lib.rs", | |
| 25 | 추가: "experiments/rust-file-publication/src/linux.rs" | |
| 26 | 추가: ], | |
| 27 | 추가: "exit_code": 0, | |
| 28 | 추가: "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", | |
| 29 | 추가: "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" | |
| 30 | 추가: }, | |
| 31 | 추가: { | |
| 32 | 추가: "command": [ | |
| 33 | 추가: "cargo", | |
| 34 | 추가: "+1.99.1", | |
| 35 | 추가: "metadata", | |
| 36 | 추가: "--locked", | |
| 37 | 추가: "--offline", | |
| 38 | 추가: "--format-version", | |
| 39 | 추가: "1", | |
| 40 | 추가: "--manifest-path", | |
| 41 | 추가: "experiments/rust-file-publication/Cargo.toml" | |
| 42 | 추가: ], | |
| 43 | 추가: "exit_code": 0, | |
| 44 | 추가: "stdout_sha256": "22874e27b6910977181b21cc2fba7547531ae3ca782c86bab5dacd7f5017081b", | |
| 45 | 추가: "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" | |
| 46 | 추가: } | |
| 47 | 추가: ], | |
| 48 | 추가: "structural_checks": "passed; syntax/shape assertions, not typecheck or runtime evidence", | |
| 49 | 추가: "rust_compile": false, | |
| 50 | 추가: "publication_executed": false, | |
| 51 | 추가: "regression_execution": false, | |
| 52 | 추가: "dependency_archive_and_source_check": "libc 0.2.191 checksum and 452 cached regular files matched", | |
| 53 | 추가: "limits": "No current advisory audit or filesystem support verification" | |
| 54 | 추가: } |