Skip to content

Instantly share code, notes, and snippets.

View jacobsa's full-sized avatar

Aaron Jacobs jacobsa

  • Google
  • Sydney, Australia
View GitHub Profile
@jacobsa
jacobsa / daemon-0.6.4-ignore-strlcpy-strlcat.patch
Created September 2, 2015 11:33
Daemon strlcpy strlcat patch
diff -Naur daemon-0.6.4.old/daemon.c daemon-0.6.4/daemon.c
--- daemon-0.6.4.old/daemon.c 2010-06-12 06:37:00.000000000 -0700
+++ daemon-0.6.4/daemon.c 2014-03-15 08:25:15.000000000 -0700
@@ -651,6 +651,8 @@
#define _NETBSD_SOURCE /* For CEOF, chroot() on NetBSD-5.0.2 */
#endif
+#include <config.h>
+
#include <slack/std.h>
@jacobsa
jacobsa / centos-7.txt
Last active August 29, 2015 14:18
Forensics for jacobsa/fuse#8
[jacobsa@centos-7 fuse]$ uname -a
Linux centos-7 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[jacobsa@centos-7 fuse]$ go test -v ./samples/flushfs --ogletest.run Mmap
=== RUN TestFlushFS
[----------] Running tests from NoErrorsTest
[ RUN ] NoErrorsTest.Mmap_NoMsync_MunmapBeforeClose
2015/04/01 23:22:05 Resource busy error while unmounting; trying again
2015/04/01 23:22:05 Resource busy error while unmounting; trying again
2015/04/01 23:22:05 Resource busy error while unmounting; trying again
2015/04/01 23:22:05 Resource busy error while unmounting; trying again