Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

ChrysoliteAzalea/landlock-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning! This repository will be read-only. It's recommended to use the libtinyLL instead of these functions.

These files contain wrappers for Landlock-related syscalls and functions that populate the Landlock ruleset.

ll_wrapper.c

This is a source code for Landlock-related syscall wrapper. It can be compiled with gcc:

gcc ll_wrapper.c -c -fpic -o ll_wrapper.o

gcc ll_wrapper.o -shared -o libllwrapper.so

add_rule.c

This is a source code for functions that add rules to the Landlock ruleset. It can be compiled with gcc:

gcc add_rule.c -c -fpic -o add_rule.o

gcc add_rule.o -shared -o libaddrule.so

About

Functions that populate the Landlock ruleset. Written as an example.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages