[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT NGINX v2 06/10] Modify auto-generated files
We modify auto-generated files to match the functionality provided by Unikraft. We also add defines for select usage (we don't have epoll yet) and the sub module (a module used to modify a response which we use to provide proxy functionality). We remove the second NGX_HTTP_X_FORWARDED_FOR define. Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx> --- include/ngx_auto_config.h | 57 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/include/ngx_auto_config.h b/include/ngx_auto_config.h index 401899b..a3cee30 100644 --- a/include/ngx_auto_config.h +++ b/include/ngx_auto_config.h @@ -26,7 +26,7 @@ #ifndef NGX_HAVE_EPOLL -#define NGX_HAVE_EPOLL 1 +#define NGX_HAVE_EPOLL 0 #endif @@ -36,17 +36,17 @@ #ifndef NGX_HAVE_EPOLLRDHUP -#define NGX_HAVE_EPOLLRDHUP 1 +#define NGX_HAVE_EPOLLRDHUP 0 #endif #ifndef NGX_HAVE_EPOLLEXCLUSIVE -#define NGX_HAVE_EPOLLEXCLUSIVE 1 +#define NGX_HAVE_EPOLLEXCLUSIVE 0 #endif #ifndef NGX_HAVE_O_PATH -#define NGX_HAVE_O_PATH 1 +#define NGX_HAVE_O_PATH 0 #endif @@ -71,7 +71,7 @@ #ifndef NGX_HAVE_CAPABILITIES -#define NGX_HAVE_CAPABILITIES 1 +#define NGX_HAVE_CAPABILITIES 0 #endif @@ -94,17 +94,17 @@ #ifndef NGX_HAVE_POSIX_FADVISE -#define NGX_HAVE_POSIX_FADVISE 1 +#define NGX_HAVE_POSIX_FADVISE 0 #endif #ifndef NGX_HAVE_O_DIRECT -#define NGX_HAVE_O_DIRECT 1 +#define NGX_HAVE_O_DIRECT 0 #endif #ifndef NGX_HAVE_ALIGNED_DIRECTIO -#define NGX_HAVE_ALIGNED_DIRECTIO 1 +#define NGX_HAVE_ALIGNED_DIRECTIO 0 #endif @@ -129,7 +129,7 @@ #ifndef NGX_HAVE_SCHED_SETAFFINITY -#define NGX_HAVE_SCHED_SETAFFINITY 1 +#define NGX_HAVE_SCHED_SETAFFINITY 0 #endif @@ -144,17 +144,17 @@ #ifndef NGX_HAVE_IP_BIND_ADDRESS_NO_PORT -#define NGX_HAVE_IP_BIND_ADDRESS_NO_PORT 1 +#define NGX_HAVE_IP_BIND_ADDRESS_NO_PORT 0 #endif #ifndef NGX_HAVE_IP_PKTINFO -#define NGX_HAVE_IP_PKTINFO 1 +#define NGX_HAVE_IP_PKTINFO 0 #endif #ifndef NGX_HAVE_IPV6_RECVPKTINFO -#define NGX_HAVE_IPV6_RECVPKTINFO 1 +#define NGX_HAVE_IPV6_RECVPKTINFO 0 #endif @@ -169,22 +169,22 @@ #ifndef NGX_HAVE_TCP_FASTOPEN -#define NGX_HAVE_TCP_FASTOPEN 1 +#define NGX_HAVE_TCP_FASTOPEN 0 #endif #ifndef NGX_HAVE_TCP_INFO -#define NGX_HAVE_TCP_INFO 1 +#define NGX_HAVE_TCP_INFO 0 #endif #ifndef NGX_HAVE_ACCEPT4 -#define NGX_HAVE_ACCEPT4 1 +#define NGX_HAVE_ACCEPT4 0 #endif #ifndef NGX_HAVE_EVENTFD -#define NGX_HAVE_EVENTFD 1 +#define NGX_HAVE_EVENTFD 0 #endif @@ -194,7 +194,7 @@ #ifndef NGX_HAVE_UNIX_DOMAIN -#define NGX_HAVE_UNIX_DOMAIN 1 +#define NGX_HAVE_UNIX_DOMAIN 0 #endif @@ -249,7 +249,7 @@ #ifndef NGX_HAVE_INET6 -#define NGX_HAVE_INET6 1 +#define NGX_HAVE_INET6 0 #endif @@ -269,7 +269,7 @@ #ifndef NGX_SYS_NERR -#define NGX_SYS_NERR 135 +#define NGX_SYS_NERR 12 // was 135, Unikraft does not have all the error codes #endif @@ -279,7 +279,7 @@ #ifndef NGX_HAVE_CLOCK_MONOTONIC -#define NGX_HAVE_CLOCK_MONOTONIC 1 +#define NGX_HAVE_CLOCK_MONOTONIC 0 #endif @@ -319,7 +319,7 @@ #ifndef NGX_HAVE_FIONBIO -#define NGX_HAVE_FIONBIO 1 +#define NGX_HAVE_FIONBIO 1 // ioctl(FIONBIO) #endif @@ -353,13 +353,13 @@ #endif -#ifndef NGX_HTTP_SSI -#define NGX_HTTP_SSI 1 +#ifndef NGX_HAVE_SELECT +#define NGX_HAVE_SELECT 1 #endif -#ifndef NGX_HTTP_X_FORWARDED_FOR -#define NGX_HTTP_X_FORWARDED_FOR 1 +#ifndef NGX_HTTP_SSI +#define NGX_HTTP_SSI 1 #endif @@ -444,16 +444,15 @@ #ifndef NGX_SMP -#define NGX_SMP 1 +#define NGX_SMP 0 #endif #ifndef NGX_USER -#define NGX_USER "nobody" +#define NGX_USER "root" #endif #ifndef NGX_GROUP -#define NGX_GROUP "nogroup" +#define NGX_GROUP "root" #endif - -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |