Commit Graph

105558 Commits

Author SHA1 Message Date
itojun
387ba53bc6 MEXTMALLOC() can fail even if M_WAITOK, if arg is too big for malloc(). 2002-11-25 06:32:37 +00:00
provos
da50ee4397 prevent attempt to use in-kernel fastpath for aliased system calls. 2002-11-25 06:25:09 +00:00
thorpej
b65c7c5437 Avoid strict-alias warnings. 2002-11-25 05:37:00 +00:00
thorpej
7c2e6f52c6 Avoid some "comparison always false" warnings by only compiling
the code in question if ULONG_MAX > 0xffffffff.
2002-11-25 05:25:00 +00:00
thorpej
6439a43f9a Remove redundant (and incorrect) extern decl. 2002-11-25 05:13:41 +00:00
thorpej
43bd3cb89d Avoid strict-alias warnings. 2002-11-25 05:12:06 +00:00
thorpej
2e9c89031c Statements after labels. 2002-11-25 05:11:32 +00:00
thorpej
35a57313da Use tlbrelo and tlbrehi. 2002-11-25 05:10:39 +00:00
thorpej
841722bb50 Add -Wno-sign-compare to CFLAGS. 2002-11-25 03:03:13 +00:00
thorpej
47646b017e Add -mcpu=403 to AFLAGS. 2002-11-25 02:56:20 +00:00
thorpej
54dbc0eab3 Avoid strict-alias warnings. 2002-11-25 02:46:10 +00:00
thorpej
113c35cbf2 Remove an unnecessary token-paste, as pointed out by GCC 3.3. 2002-11-25 02:45:46 +00:00
thorpej
d32a923263 Avoid strict-alias warnings. 2002-11-25 02:31:14 +00:00
thorpej
c23c86e36b Add ULL to 64-bit integer constants. 2002-11-25 02:30:38 +00:00
thorpej
de5b141b6a Avoid strict-alias warnings. 2002-11-25 02:28:56 +00:00
thorpej
f5a27686e2 Fix a strict-alias problem uncovered by GCC 3.3. 2002-11-25 02:23:17 +00:00
thorpej
0ea203767c Add ULL to 64-bit integer constants. 2002-11-25 02:16:50 +00:00
thorpej
5b009a398e Avoid strict-alias warnings. 2002-11-25 02:14:30 +00:00
thorpej
0aa1f82268 Remove an unnecessary cast in an asm statement. 2002-11-25 02:13:59 +00:00
thorpej
c8f5c657b5 Add ULL to a 64-bit integer constant. 2002-11-25 02:11:23 +00:00
enami
e58966cf92 Explicitly include machine/atomic.h since this file uses inline function
defined there.  This is necessary when LOCKDEBUG is defined.
2002-11-25 02:10:28 +00:00
thorpej
3151023170 Remove redundant (and incorrect) extern decl. 2002-11-25 02:07:37 +00:00
thorpej
796aa6a84a Statements after labels. 2002-11-25 02:06:16 +00:00
thorpej
d6f8cc841d Avoid strict-alias warnings. 2002-11-25 01:55:21 +00:00
thorpej
b409a344b5 Avoid strict-alias warnings. 2002-11-25 01:44:21 +00:00
thorpej
0739364536 Avoid a strict-alias warning. 2002-11-25 01:43:09 +00:00
thorpej
2cec7d4fd9 Makefile.kern.inc now includes -Wno-sign-compare, so use the default
warnings now.
2002-11-25 01:38:32 +00:00
thorpej
9337fb430e Add -Wno-sign-compare; that flag was made implicit with -Wall in
GCC 3.3, and our sources aren't really up to the task, yet.
2002-11-25 01:37:11 +00:00
thorpej
3911a545e1 No newlines in string constants. 2002-11-25 01:36:35 +00:00
thorpej
6fd88f0e65 Avoid a trigraph. 2002-11-25 01:33:51 +00:00
thorpej
11707809eb No newlines in string constants. 2002-11-25 01:31:12 +00:00
fvdl
9fcc1a32d4 Add COMPAT_NETBSD32 and EXEC_ELF32. 2002-11-25 01:11:37 +00:00
fvdl
5fc8b835db First cut at GENERIC kernel. 2002-11-25 01:05:58 +00:00
fvdl
144469b350 Add strtoul.c 2002-11-25 00:55:22 +00:00
fvdl
77decc8b5a Avoid uninitialized var usage in detach. 2002-11-25 00:51:33 +00:00
fvdl
90dbf6a726 Need <sys/device.h>; on a lot of platforms it's probably included
indirectly, but not on some others.
2002-11-25 00:49:52 +00:00
fvdl
4732d6d0dd Set warning flags seperately, until the kernel can be compiled with
the default warning flags on with gcc 3.
2002-11-25 00:32:43 +00:00
fvdl
be7e49f1cd No MCA here. 2002-11-25 00:28:46 +00:00
lukem
1847a76b62 use NOMAN instead of MKMAN=no. noted by David Bonnafous on port-i386@ 2002-11-24 23:48:48 +00:00
chs
e5d34beb3e in mkpath(), don't try to stat() the to-be-created directory beforehand,
just try to create it and interpret any error appropriately.
this fixes a problem where multiple "mkdir -p" processes can race,
with the loser returning a spurious error.
2002-11-24 23:40:07 +00:00
christos
c02b3bbdf4 Fixes from David Laight:
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
  (so I could unset -e PS1 before running the test shell...)
2002-11-24 22:35:38 +00:00
manu
589ff87f68 Rewrite the excessive recursive loading protection by actually counting the
recursions instead of the total function calls. We limit to 6 recursion,
which is what Darwin does.
2002-11-24 21:59:43 +00:00
fvdl
03adc171d1 Don't explicitly add -Wall -Werror -g to CFLAGS, the .mk infrastructure
already takes care of this, and this makes NOGCCERROR builds fail.
2002-11-24 21:54:38 +00:00
fvdl
2ee89df87b Avoid format warning for off_t printf. 2002-11-24 21:49:15 +00:00
martin
070e18f3f3 Assign a major number for "lpt* at ebus?". 2002-11-24 20:58:06 +00:00
martin
81f10d2dcd Add support for /dev/lpt* 2002-11-24 20:53:53 +00:00
thorpej
7d013a7ef5 Skip passing -$ to the preprocessor, for now. 2002-11-24 20:24:54 +00:00
christos
40983baedb add mach_sigcode.o to the files that depend on assym.h 2002-11-24 18:56:01 +00:00
fvdl
100e201ec6 Replace return -1 in rtld_bind with _rtld_die() call. 2002-11-24 18:19:23 +00:00
fvdl
d93db1cfce Implement self-relocation as is required now. 2002-11-24 18:16:45 +00:00