15 stable releases

new 3.2.0 Apr 28, 2024
3.1.5 Mar 10, 2024
3.1.4 Feb 29, 2024
3.1.1 Jan 30, 2024
3.0.7 Dec 17, 2023

#408 in Unix APIs

Download history 2/week @ 2024-01-21 2/week @ 2024-01-28 1/week @ 2024-02-04 19/week @ 2024-02-11 1425/week @ 2024-02-18 3451/week @ 2024-02-25 3222/week @ 2024-03-03 3493/week @ 2024-03-10 3306/week @ 2024-03-17 3235/week @ 2024-03-24 3239/week @ 2024-03-31 3055/week @ 2024-04-07 3088/week @ 2024-04-14 2442/week @ 2024-04-21

12,275 downloads per month

LGPL-3.0-or-later

335KB
7K SLoC

Perl 2K SLoC // 0.0% comments Go 2K SLoC // 0.2% comments Python 1K SLoC // 0.5% comments Ruby 1K SLoC // 0.4% comments Rust 601 SLoC // 0.0% comments Emacs Lisp 506 SLoC // 0.0% 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