Skip to content

Commit 54a275f

Browse files
chore(spdx): add Copyright (c) headers to Rust files (batch 2/7) (#96)
STATS: processed=70 already_has=0 added_copyright=67 inserted_block=3 missing=0 Files: .rs. Mechanical SPDX-FileCopyrightText sweep using slash comment style. Batch 2/7 of the M1 foreign-WIP closure. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ddd695c commit 54a275f

70 files changed

Lines changed: 73 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ffi/rust/src/audit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! MAA-Compliant Audit Logging
34
//!
45
//! This module provides audit logging for the MAA (Mutually Assured Accountability)

ffi/rust/src/errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Error types matching Coq POSIX error definitions
34
//!
45
//! These error types correspond exactly to the POSIX errors modeled in:

ffi/rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Valence Shell FFI Layer
34
//!
45
//! This crate provides the FFI (Foreign Function Interface) layer that bridges

ffi/rust/src/operations.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Filesystem Operations Module
34
//!
45
//! This module provides additional filesystem operations and utilities

ffi/rust/src/preconditions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Runtime Precondition Checking
34
//!
45
//! This module mirrors the precondition definitions from the Coq proofs.

ffi/rust/src/rmo.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! RMO (Remove-Match-Obliterate) Secure Deletion
34
//!
45
//! This module implements secure file deletion for GDPR "right to be forgotten"

ffi/rust/src/sandbox.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Path Sandboxing and Security
34
//!
45
//! This module ensures all filesystem operations are confined to a sandbox root.

ffi/rust/src/verification.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! End-to-End Verification Module
34
//!
45
//! This module provides runtime verification that the FFI layer

impl/elixir/native/vsh_nif/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Rust NIF for Valence Shell secure erase operations
34
//!
45
//! Exposes hardware-based secure erase functions to Elixir

impl/rust-cli/benches/operation_benchmarks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Benchmarks for core filesystem operations
34
//!
45
//! Measures the performance of mkdir, rmdir, touch, rm, and operation sequences.

0 commit comments

Comments
 (0)