libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

usr.bin.extract (828B)


      1 # Last Modified: Wed Nov 11 2026
      2 #include <tunables/global>
      3 
      4 /usr/bin/extract {
      5   #include <abstractions/base>
      6 
      7   /usr/bin/extract mr,
      8 
      9   # libextractor and the libraries of its plugins are covered by
     10   # abstractions/base; extract lists the plugin directory and runs each
     11   # plugin in libextractor-helper, which switches itself to the
     12   # libextractor profile and is killed once it is no longer needed
     13   /usr/lib/libextractor/ r,
     14   /usr/lib/@{multiarch}/libextractor/ r,
     15   /usr/lib/libextractor/libextractor-helper ix,
     16   /usr/lib/@{multiarch}/libextractor/libextractor-helper ix,
     17   change_profile -> libextractor,
     18   signal (send) set=(kill) peer=libextractor,
     19 
     20   /dev/shm/LE-* rw,
     21   @{PROC}/@{pid}/maps r,
     22 
     23   deny @{HOME}/.* r,
     24   deny @{HOME}/.*/** r,
     25   #files where extract can be used
     26   owner @{HOME}/** r,
     27   /media/** r,
     28 }