X-Git-Url: http://git.onelab.eu/?p=procprotect.git;a=blobdiff_plain;f=procprotect.c;fp=procprotect.c;h=9fdaab3f606117f45dca0f7a244886fe1ba84d18;hp=2672ef817da335d933e03f907530a421538c4e9c;hb=bc1e99f9399432d94750f7b5dc65d0a1d5eddbae;hpb=c48fc2de287117f7d339fe085dd582c8f301f51f diff --git a/procprotect.c b/procprotect.c index 2672ef8..9fdaab3 100644 --- a/procprotect.c +++ b/procprotect.c @@ -345,6 +345,7 @@ static int __init procprotect_init(void) proc_entry = create_proc_entry("procprotect", 0644, NULL); proc_entry->write_proc = procfile_write; + add_entry("/proc/sysrq-trigger"); return ret; }