change-chroot-dir.patch 420 B

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