Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios

Interface References

Single-page view · as markdown

Formats and Constants

Peios / Reference / Interface References

Use the reference owned by the interface you are implementing. Shared data structures are specified in Peios Core Data Structures (PCDS). Kernel system calls and object layouts are documented beside the kernel's exported headers. A service's protocol belongs to that service's contract.

Shared structures #

StructureReference
Security identifier (SID), including its binary representation and well-known valuesPCDS SIDs
Globally unique identifier (GUID)PCDS GUIDs
Locally unique identifier (LUID)PCDS LUIDs
Self-relative security descriptor and its control flagsSD Structure
Access control list (ACL) header and entriesACL Format
Access mask and generic-right interpretationAccess Masks
Access control entry (ACE) types and bodiesACE Types
Inheritance and propagation flagsInheritance
Claims, resource attributes, and conditional expressionsSecurity Descriptors

PCDS describes the representation. The kernel's descriptor and ACE semantics and MS-DTYP compatibility notes explain implementation behavior. A representable ACE type does not by itself establish that the evaluator acts on that type.

Kernel interfaces #

InterfaceReference
Token creation, sessions, query classes, group attributes, and impersonation levelsToken and Session ABI
Access checks, descriptors, central policies, and security-information flagsAccess-Check and Descriptor ABI
File rights, create dispositions, and mount templatesFile and Mount ABI
Process rights, process security blocks, and mitigationsProcess and PSB ABI
Registry rights and key securityKey and Security ABI
Registry watch recordsWatch ABI
Event-ring records and constantsKMES ABI

The generated tables retain exact exported spellings, field widths, and limits. Consult their semantic companion pages for behavior that a compiler cannot measure. The naming map connects specification names to header names; do not invent a constant by changing its prefix.

Object-specific access bits are not interchangeable. A file, token, process, registry key, and service can assign different meanings to the same bit. Use the object's generic mapping and aggregate masks rather than copying a mask from another interface.

Privileges and service rights #

The kernel's privilege catalog describes what privileges enforce. Assignment and restriction remain separate questions: authd policy supplies grants, while peinit privilege restriction removes unrequested privileges using the names supported by that build.

Service-control rights belong to Peinit's constants and service access model. Do not substitute a Windows service-access table for Peinit's values.

Decode the actual format #

There is no universal length-prefix convention across these interfaces. Token input has a fixed header and structured variable sections. Session input uses fields of different widths. Central access policy input has its own version and rule structure; its ACL payloads are ACLs, while an applies-to expression uses conditional-expression bytecode.

Choose a decoder for the documented version, validate lengths and counts, and use its stated limits. A stale count of fields or query classes in a secondary summary is not a format contract. Prefer the supported SDK encoder when it provides the required operation.

Events and packages #

The Peios System-to-Kernel Protocols define shared kernel protocol contracts. Use the emitting component's evman catalog for individual event payloads; a name and a binary envelope do not define every event field.

Package and repository contracts are in Peios System-to-Userspace Protocols. Match the documented package format to the tool consuming it; a package format transition does not make an older container readable by a newer tool automatically.

Peios Learn — documentation for Peios software.

Built with Trail.