#ptrace #cli #syscalls #deletion #path #protect #trap

app nrm

Use ptrace to trap unlink* syscall and do path validation to protect your files from sad unexpected unrecoverable deletion

1 unstable release

0.1.0 Mar 26, 2022

#6 in #trap

Apache-2.0

12KB
240 lines

nrm

Use ptrace to trap unlink* syscall and do path validation to protect your files from sad unexpected unrecoverable deletion

Usage

Run nrm -h to view help of nrm part. Any args after -- or started from the first non---prefixed arg are considered child commands and re-executed.

Currently no deletions are allowed

License

Copyright (c) 2022 myl7

SPDX-License-Identifier: Apache-2.0

Dependencies

~4–14MB
~149K SLoC