Commit Graph

67961 Commits

Author SHA1 Message Date
tsubai
4c37b0db76 Remove kernfs, add dmesg link.
Compile with -Os -mmultiple.
2000-07-24 09:15:21 +00:00
pk
1045aba51d Define UVM_PAGE_IDLE_ZERO. 2000-07-24 09:14:56 +00:00
pk
a95d924d4d Fix delay slot error in the SUN4_MMU3L startup code. 2000-07-24 08:48:03 +00:00
itojun
a3c60d7535 need -DCLIENT_PATH to compile the latest dhclient. not 100% sure if it's
completely right.
2000-07-24 07:59:28 +00:00
eeh
2933116823 Fix stack issues in bzero. 2000-07-24 07:40:40 +00:00
mycroft
eded30220a Don't bother saving %f16-%f31, since we don't use them. 2000-07-24 07:30:54 +00:00
mycroft
2f13e00500 Revert the previous change for now. I don't have time to debug it tonight. 2000-07-24 06:30:34 +00:00
itojun
006f0a5618 run IPv6 configuration even if we use dhcp. background:
- on a IPv6/v4 dual stack network, it makes more sense to configure both.
- also, many of IPv4/v6 dual stack network requires us to contacd DNS
  over IPv4 transport.
discussed with cyber@netbsd.org.
2000-07-24 06:05:51 +00:00
mycroft
ac182d9c19 Er, eliminate the -p link option as well, which just outputs huge amounts
of spooge.
2000-07-24 04:54:16 +00:00
mycroft
711ffefeac Nuke lderr. 2000-07-24 04:45:49 +00:00
mycroft
0c2ad746ea Slight rearrangement. 2000-07-24 04:39:01 +00:00
mycroft
f9f72ecf9a Purge C++-style comments. 2000-07-24 04:28:51 +00:00
mycroft
4cbff173ea Fix an obvious error that would cause fpu_ftoxi() to drop the upper half.
The compiler even emitted a warning for this...
2000-07-24 04:13:45 +00:00
mycroft
bdc8c86c9e asm volatile --> __asm __volatile 2000-07-24 04:11:03 +00:00
sommerfeld
73b6d9485c Drop packet, increment udps_badlen if the udp header length field
reports a size smaller than the udp header; defends against bogosity
detected by Assar Westerlund.

This patch and the previous ip_icmp.c change were the joint work of
assar, itojun, and myself.
2000-07-24 03:46:57 +00:00
sommerfeld
a0c29e06a3 Improve robustness of icmp_error():
- allow it to work when icmpreturndatabytes is sufficiently large that the
icmp error message doesn't fit in a header mbuf.
 - defend against mbuf chains shorter than their contained ip->ip_len.
2000-07-24 03:32:31 +00:00
hubertf
c0f021878e handle NULL pen variable more gracefully in find_play_pen() 2000-07-24 02:54:22 +00:00
mycroft
a7bc813f46 Pull in a change critical to making the sparc64 compile:
Redefine ASM_OUTPUT_DWARF_ADDR_CONST() using ASM_OUTPUT_DWARF2_ADDR_CONST(), so
that the latter can take a string.
2000-07-24 02:30:40 +00:00
mycroft
9b2c5720e8 Make the ligature_node operators compile with GCC 2.95.2.
Thanks to Assar for assistance.
2000-07-24 02:24:43 +00:00
mycroft
b65d3e93c9 Make this a bit safer against errors by using some .tmp files. 2000-07-24 02:00:39 +00:00
mycroft
62fe935649 Give this a prayer of working with obj dirs. 2000-07-24 01:55:59 +00:00
mycroft
8de9ab874b Make this at least pretend to compile. 2000-07-24 01:51:44 +00:00
mycroft
51b68e1fdd Fix compiler warnings. 2000-07-24 01:49:37 +00:00
mycroft
bd58d06c50 Need string.h for memset() prototype. 2000-07-24 00:23:10 +00:00
mycroft
b3e75eb4ed _errno -> __errno 2000-07-24 00:11:10 +00:00
mycroft
d72583bda6 LDFLAGS -> LDADD, so this compiles statically. 2000-07-24 00:00:21 +00:00
mycroft
15b7289f72 Rename move() to moveplayer() to avoid clashing with libcurses. 2000-07-23 23:57:23 +00:00
mycroft
883a3e4835 Make alloc() return void*, and eliminate the use of typeof. 2000-07-23 23:14:10 +00:00
mycroft
fddf849c29 Make this build for sparc64. 2000-07-23 23:07:39 +00:00
mycroft
1f1da49497 Eliminate a bunch more // annotations. 2000-07-23 23:05:38 +00:00
mycroft
a6fc55d840 //#define -> #undef 2000-07-23 22:59:56 +00:00
mycroft
0b9155381b #if 0 a static declaration for a function that does not exist. 2000-07-23 22:56:14 +00:00
mycroft
70c4e41552 Remove bogus typeof hack, and just use the type directly. 2000-07-23 22:54:51 +00:00
mycroft
64ef2ce0d3 Define PTRSIZE_64BIT for alpha and sparc64. 2000-07-23 22:44:07 +00:00
mycroft
98987090cb Fix library order. 2000-07-23 22:23:14 +00:00
wiz
563d6ee1be Add format string to fprintf(). 2000-07-23 22:18:44 +00:00
mycroft
6ea1997e79 Fix problem building lint.7. 2000-07-23 22:17:14 +00:00
mycroft
2f39009bda Fix multiple problems with floating point and structure handling. 2000-07-23 21:36:56 +00:00
scw
41167b7f9a __BROKEN_CONFIG_UNIT_USAGE is no longer required for mvme68k. 2000-07-23 20:51:18 +00:00
mycroft
e8f910e0d5 ts_nsec -> tv_nsec, per POSIX. 2000-07-23 20:50:44 +00:00
scw
2f194db83c G/C cf_unit. It wasn't really being used in a meaningfull way. 2000-07-23 20:50:21 +00:00
jdc
e98c241a12 Make these work with obj directories. 2000-07-23 20:40:44 +00:00
mycroft
acbf46fbf4 Copy bzero change from libc. 2000-07-23 20:39:14 +00:00
mycroft
e740400671 Just use a store/load pair to get the pattern into the FP reg. This eliminates
a bunch of cruft and avoids using a v9a instruction.
In addition, eliminate 8 of the fmovda's, which we are not using the result of
anyway.
Net result is that this should be faster in all cases.
2000-07-23 20:34:07 +00:00
jhawk
601d3aa149 Add thorpej and jhawk (myself) to releng 2000-07-23 20:22:30 +00:00
augustss
a119131555 Be a little more explicit and careful about setting links in TDs and QHs. 2000-07-23 19:43:37 +00:00
mycroft
0e7e8472b5 This is a HACK so that libc can compile with -ansi. 2000-07-23 19:25:58 +00:00
lukem
d85f3bb159 * make checkportcmd the default. this breaks third-party proxy ftp but
prevents the ftp bounce attack, and we should be secure out of the
  box, not require users to tweak obscure stuff.
* allow the version string reported to clients to be changed with '-V vers'.
  if vers is empty or `-', don't report a version.
* if -r is given, permanently drop root privs
* if not a REAL user (i.e, GUEST or CHROOT), and ftpd is running on a port
  > IPPORT_RESERVED+1, permanently drop root privs
* don't bother reverting to root privs to logout of wtmp/utmp; since the
  file descriptor is already open this isn't necessary.
* fix the binding of the port for the PORT/LPRT/EPRT connection to be the
  ctrl_addr.su_port-1, not hardcoded to `20' (this was broken in the ipv6
  merge). if root privs have been dropped, and this would be a port <
  IPPORT_RESERVED, use a random port instead (which isn't RFC959 compliant
  but it doesn't appear that many clients care).
* prevent login of a new user if privs have been dropped and already logged
  in as a REAL user (existing check already stops GUEST & CHROOT users).
* move the port check stuff into a separate port_check() function, and use
  for PORT, LPRT, and EPRT checks. inspired by freebsd
* minor KNF
* minor man page cleanup
2000-07-23 14:40:48 +00:00
simonb
2e7c137de8 Use /usr/share/doc/html/ntp as location for html files.
Fixes remainder of PR bin/10613 from Jaromír Doleèek.
2000-07-23 14:34:14 +00:00
simonb
e9d46b4ab7 Use /usr/share/doc/html/ntp as location for html files.
Fixes part of PR bin/10613 from Jaromír Doleèek.
2000-07-23 14:30:54 +00:00