unit-tests: remove unnecesary field from struct bbunit_listelem
[oweals/busybox.git] / Config.in
index b83beb52dfc14c7eaa945f2f9d166aa277653969..07b4bf36b18426d7e7841c618a2b1d1f236e6494 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -264,6 +264,19 @@ config PAM
          Use PAM in some busybox applets (currently login and httpd) instead
          of direct access to password database.
 
+config FEATURE_USE_SENDFILE
+       bool "Use sendfile system call"
+       default y
+       select PLATFORM_LINUX
+       help
+         When enabled, busybox will use the kernel sendfile() function
+         instead of read/write loops to copy data between file descriptors
+         (for example, cp command does this a lot).
+         If sendfile() doesn't work, copying code falls back to read/write
+         loop. sendfile() was originally implemented for faster I/O
+         from files to sockets, but since Linux 2.6.33 it was extended
+         to work for many more file types.
+
 config LONG_OPTS
        bool "Support for --long-options"
        default y