Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
@@ -16,4 +16,6 @@ SRCS= \
|
||||
|
||||
WARNS?= 4
|
||||
|
||||
CFLAGS+= -fno-builtin
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
@@ -2,8 +2,14 @@
|
||||
#include <errno.h>
|
||||
#include <minix/mthread.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <machine/param.h>
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <uvm/uvm_param.h>
|
||||
|
||||
#include "global.h"
|
||||
#include "proto.h"
|
||||
|
||||
@@ -15,9 +21,6 @@ static void mthread_thread_stop(mthread_thread_t thread);
|
||||
static void mthread_trampoline(void);
|
||||
|
||||
static int initialized = 0;
|
||||
#ifndef PGSHIFT
|
||||
# define PGSHIFT 12 /* XXX: temporarily for ACK */
|
||||
#endif
|
||||
#define MTHREAD_GUARDSIZE (1 << PGSHIFT) /* 1 page */
|
||||
|
||||
static struct __mthread_attr default_attr = { MTHREAD_STACK_MIN,
|
||||
|
||||
Reference in New Issue
Block a user