@@ -77,10 +77,15 @@ 5. Differing "index.html" handling (CFLAGS, -DFILED_DONT_REDIRECT_DIRECTORIES=1) Normally "filed" redirects users who request a directory to the index.html file in that directory so that no memory allocations are required; This option lets the server generate the new path. + 6. Enable seccomp (CFLAGS, -DFILED_DO_SECCOMP=1) + Linux supports limiting the system calls that a process can make. + This is called seccomp (SECure COMPuting). Currently not all + platforms have been tested with this so it is disabled by default. + 6. MIME Types (MIMETYPES) For single-file convenience "filed" compiles the mapping of file extensions (the string in the filename following its last dot (".")) into the executable. This mapping comes from a file in the format of type1 type1_extension1 type1_extension2...