60-change-chroot-dir.patch 487 B

1234567891011121314151617
  1. From: Christoph Biedl <debian.packages.hhqj@manchmal.in-ulm.de>
  2. Subject: Change PRIVDROP_CHROOT_DIR to a real location
  3. Forwarded: not-needed
  4. diff --git a/softflowd.h b/softflowd.h
  5. index b000214..82a5d9e 100644
  6. --- a/softflowd.h
  7. +++ b/softflowd.h
  8. @@ -36,7 +36,7 @@
  9. #endif
  10. #ifndef PRIVDROP_CHROOT_DIR
  11. -# define PRIVDROP_CHROOT_DIR "/var/empty"
  12. +# define PRIVDROP_CHROOT_DIR "/var/run/softflowd/chroot"
  13. #endif
  14. /*
  15. * Capture length for libpcap: Must fit the link layer header, plus