Landlocked.Native 0.1.0

dotnet add package Landlocked.Native --version 0.1.0
                    
NuGet\Install-Package Landlocked.Native -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Landlocked.Native" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Landlocked.Native" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Landlocked.Native" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Landlocked.Native --version 0.1.0
                    
#r "nuget: Landlocked.Native, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Landlocked.Native@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Landlocked.Native&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Landlocked.Native&version=0.1.0
                    
Install as a Cake Tool

Landlocked.Native

Direct .NET bindings for the Linux Landlock userspace ABI on x86-64 and ARM64.

The exported syscall numbers are specific to those supported architectures. This package is for callers that need syscall-level control. Methods expose kernel-shaped arguments and return values, do not own file descriptors, and do not coordinate Landlock domains across CLR threads. Read errno with Marshal.GetLastPInvokeError() immediately after a failing call.

Most applications should use Landlocked; use Landlocked.LowLevel when kernel concepts are desirable but safe resource ownership and explicit C# results are still required.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Landlocked.Native:

Package Downloads
Landlocked.LowLevel

Resource-safe, idiomatic .NET access to Linux Landlock rulesets.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 59 8/15/2026