19 stable releases

3.4.0 Nov 13, 2024
3.3.3 Jul 23, 2024
3.3.0 Jun 26, 2024
3.2.0 Apr 28, 2024
3.0.7 Dec 17, 2023

#846 in Unix APIs

Download history 1693/week @ 2024-08-23 12/week @ 2024-08-30 2813/week @ 2024-09-06 3219/week @ 2024-09-13 2937/week @ 2024-09-20 3461/week @ 2024-09-27 3524/week @ 2024-10-04 3485/week @ 2024-10-11 3473/week @ 2024-10-18 2765/week @ 2024-10-25 2836/week @ 2024-11-01 3527/week @ 2024-11-08 3510/week @ 2024-11-15 3435/week @ 2024-11-22 3550/week @ 2024-11-29 3057/week @ 2024-12-06

14,082 downloads per month

LGPL-3.0

650KB
14K SLoC

Perl 5K SLoC // 0.0% comments Go 3.5K SLoC // 0.2% comments Ruby 1.5K SLoC // 0.3% comments Emacs Lisp 1.5K SLoC // 0.1% comments Rust 1.5K SLoC // 0.0% comments Python 1.5K SLoC // 0.5% comments

libsyd is a comprehensive C library designed for interfacing with the Syd environment. It offers functionalities for managing sandbox states, and facilitating runtime configuration and interaction with the syd sandboxing environment. Read the fine manuals of Syd, libsyd, gosyd, plsyd, pysyd, rbsyd, and syd.el for more information.

To install from source, clone the repository at https://git.sr.ht/~alip/syd, change into the directory lib and run make, make test and doas make install. Rust 1.56.1 or later is required.

Maintained by Ali Polatel. Up-to-date sources can be found at https://git.sr.ht/~alip/syd and bugs/patches can be submitted by email to ~alip/sydbox-devel@lists.sr.ht.


lib.rs:

libsyd - syd API Rust Library

libsyd is a C library written in Rust that implements the syd stat API, providing an interface to the /dev/syd of syd. It allows for runtime configuration and interaction with the syd sandboxing environment.

Overview

The library is designed to interact with the syd sandboxing environment, offering functionalities to check and modify the state of the sandbox lock, and perform system calls to /dev/syd.

For more detailed information and usage instructions, refer to the syd manual, available at syd Manual.

Author

Ali Polatel alip@chesswob.org

Dependencies