 +rlsd-y := rlsd_lsm.o
 diff -rupN linux-3.14.19-orig/security/rlsd/rlsd_lsm.c linux-3.14.19/security/rlsd/rlsd_lsm.c
 --- linux-3.14.19-orig/security/rlsd/rlsd_lsm.c	1970-01-01 02:00:00.000000000 +0200
-+++ linux-3.14.19/security/rlsd/rlsd_lsm.c	2014-09-25 22:26:44.223829260 +0300
-@@ -0,0 +1,100 @@
++++ linux-3.14.19/security/rlsd/rlsd_lsm.c	2014-09-26 23:33:57.948834709 +0300
+@@ -0,0 +1,150 @@
 +/*
 + * RLSD Linux Security Module
 + *

+	    (0 == strcmp("sysfs", mnt->mnt_sb->s_type->name)) ||
+	    (0 == strcmp("devtmpfs", mnt->mnt_sb->s_type->name)) ||
+	    (0 == strcmp("devpts", mnt->mnt_sb->s_type->name))) {
+		printk(KERN_ALERT "rlsd: denied unmount of %s\n",
+		       mnt->mnt_sb->s_type->name);
+		return -EPERM;
+	}
+
+	return 0;

+#include <linux/sched.h>
+#include <linux/mount.h>
+#include <linux/fs.h>
+#include <linux/ptrace.h>
+#include <linux/prctl.h>
+#include <linux/printk.h>
+#include <linux/string.h>
+
