An attempt to create a freebsd software write blocker as a kernel module.
C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
COPYING
Makefile
README.md
wblocker_kmod.c

README.md

FreeBSD Write Blocker

An attempt to create a freebsd software write blocker as a kernel module.

Background

How to use

Compile the kmod: make

Load the kmod: sudo kldload ./wblocker_kmod.ko

Useful Recourses

  1. Linux write blocker (https://github.com/msuhanov/Linux-write-blocker)
  2. man(8) mdconfig
  3. man(8) mount
  4. man(4) ugen
  5. man(4) umass
  6. man(4) da
  7. man(5) devd.conf
  8. man(8) devd
  9. Chapter 7 "The Design and Implementation of the FreeBSD Operating System"(2014)

TODO List

  1. Core Implementation
  2. Add logging in general and particularly of 'write' events