12 stable releases

3.1.3 Feb 12, 2024
3.1.2 Feb 6, 2024
3.1.1 Jan 30, 2024
3.0.7 Dec 17, 2023

#202 in Unix APIs

Download history 99/week @ 2023-12-02 133/week @ 2023-12-09 106/week @ 2023-12-16 32/week @ 2023-12-23 24/week @ 2023-12-30 11/week @ 2024-01-06 1/week @ 2024-01-13 27/week @ 2024-01-20 56/week @ 2024-01-27 27/week @ 2024-02-03 93/week @ 2024-02-10 835/week @ 2024-02-17

1,015 downloads per month

LGPL-3.0-or-later

295KB
6K SLoC

Perl 2K SLoC // 0.0% comments Go 1.5K SLoC // 0.3% comments Python 1K SLoC // 0.5% comments Ruby 835 SLoC // 0.4% comments Rust 508 SLoC // 0.0% comments Emacs Lisp 442 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.

Attention

This library is a work in progress, and the API is not stable.

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

Author

Ali Polatel alip@chesswob.org

Dependencies