An open API service indexing awesome lists of open source software.

https://github.com/msantos/libnoexec

Prevent dynamically linked executables from calling exec(3)
https://github.com/msantos/libnoexec

exec ldpreload seccomp

Last synced: about 2 months ago
JSON representation

Prevent dynamically linked executables from calling exec(3)

Awesome Lists containing this project

README

        

# libnoexec

libnoexec: disable exec(3) for dynamically linked executables

# DESCRIPTION

libnoexec prevents dynamically linked executables from calling exec(3).

# EXAMPLES

```
$ LD_PRELOAD=libnoexec.so sh -c "ls"
sh: 1: ls: Permission denied

# echo is a shell builtin
$ LD_PRELOAD=libnoexec.so sh -c "echo test"
test
```

# ENVIRONMENT VARIABLES

None.