From: Enrico Scholz Date: Mon, 17 Nov 2003 23:13:47 +0000 (+0000) Subject: made ctx_t and 'uint32_t' to fix kernel<->user conflicts (-1 in user X-Git-Tag: version_0_24_90~4 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=440d2e2e5b81a29a7b1e8012c3b89943ae389aea;p=util-vserver.git made ctx_t and 'uint32_t' to fix kernel<->user conflicts (-1 in user becomes 0x0000ffff in kernel which would expect 0xffffffff) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@394 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/compat.h b/util-vserver/compat.h index e66ed1b..00e687e 100644 --- a/util-vserver/compat.h +++ b/util-vserver/compat.h @@ -39,7 +39,8 @@ #endif #ifndef HAVE_CTX_T -typedef short int ctx_t; +#include +typedef uint32_t ctx_t; #endif #endif // H_UTIL_VSERVER_COMPAT_H