Skip to content

Instantly share code, notes, and snippets.

View ZeWaren's full-sized avatar

Erwan Martin ZeWaren

View GitHub Profile
@ZeWaren
ZeWaren / mysql_fifo_test.c
Created August 5, 2015 06:53
FreeBSD kernel module that unlock an unlinked fifo's locked threads
#include <sys/types.h>
#include <sys/module.h>
#include <sys/errno.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/types.h>
#include <sys/kthread.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/namei.h>