Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 1.22 KB

TODO.md

File metadata and controls

30 lines (29 loc) · 1.22 KB

TODO

  • Fix chroot detection
    • Check for "/" permission
    • Check for "/proc/1/root/" permission
    • Check for overlayfs
    • Compare "/" with "/proc/PID/root" (device and inode #)
  • Fix live device checking "/run/initramfs/livedev"
  • Rename wlog import to just log, use log2 for log
  • Fix state tracking
    • Implement data structure for storing State
      • Place scanned files into data structure
      • Merge multiple structures
      • Diff structures
      • Search for files by prefix
      • Filter files within the structure
      • Convert map to a list of strings
    • Run for files with a newer mtime
      • Log mtime for examined files
    • Run for triggers with a newer mtime
      • Log mtime for triggers (re-run if the trigger modified)
  • Add binary output on failure
  • Make sure that triggers without a replaces don't execute multiple times
  • Add Dependency System
    • Modify the TOML format
    • Build a dependency graph
    • Breadth-first traversal of the dependency graph
    • Check for circular deps
    • Missing dependencies should warn, but not fail
  • Multiple Removals