Commit Graph

62538 Commits

Author SHA1 Message Date
obrien
6dc73139c0 Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.
2001-07-24 14:05:21 +00:00
obrien
4f82093ece Replace the local rname' with the cannonical basename'. 2001-07-24 14:04:20 +00:00
obrien
bc3447c652 Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
ume
b8992b1498 pass any NS/NA/toobig.
Requested by:	itojun
MFC after:	5 days
2001-07-24 13:37:06 +00:00
brian
8024dc82e1 Remove redundant mtu/mru/speed settings
MFC after: 6 days
2001-07-24 13:11:57 +00:00
dd
44bf20e1b6 yp_errno is an enum ypstat.
PR:		29190
Submitted by:	Cristan Szmajda <cristan@unsw.edu.au>
Reviewed by:	md5(1)
2001-07-24 12:33:08 +00:00
kris
45eda4d161 yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
tg
47c2c99b51 Clean up the code a bit:
- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.
2001-07-24 11:50:23 +00:00
tg
97507091ff Rewrite video emulation. Features:
- slightly more accurate VGA hardware emulation;
- more int 10 functions, especially wrt to palette handling;
- first shot at graphics support;
- mode switching.

Bugs:

- graphics too slow;
- only 16 color modes work for now;
- works only under X, and only with 16 bit TrueColor visuals;
- far from being genuinely useful (I can play an old EGA game now, though
  (mahjongg.exe)).

Also, the code has been cleaned up a bit (more to come in a separate commit).
2001-07-24 11:44:20 +00:00
kris
dfb5f5d589 sprintf -> snprintf
Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 11:40:18 +00:00
sheldonh
1e628e76e1 The previous delta duplicated a significant amount of information
already found in the sigaction(2) manual.

As discussed with the committer of that delta, cross-reference the list
in sigaction(2) instead of duplicating the list of functions that are
safe for use within signal handlers.
2001-07-24 11:37:33 +00:00
kris
09e0e54b1e Replace strncpy -> strlcpy
Obtained from:	OpenBSD
MFC after:	1 week
2001-07-24 11:36:56 +00:00
kris
dd1f265a1a Sync to OpenBSD (update comment and minor style change).
Obtained from:	OpenBSD
MFC after:	1 week
2001-07-24 11:34:22 +00:00
kris
bec32b3e9b Sync to OpenBSD:
Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.

Document boundary condition when size < strlen(dst).

"of", not "on" (from Henric Jungheim)

Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 11:32:29 +00:00
kato
8e88bf0c9a Added the txp driver into the list for SMALL kernel. 2001-07-24 11:32:18 +00:00
kato
1e1ca2f3d9 Merged from sys/i386/conf/GENERIC revision 1.315. 2001-07-24 11:24:58 +00:00
yokota
bd11ff6285 - Do not call VGLEnd() and exit() to terminate the program
immediately when a signal is caught.  Instead, defer
  program termination until the next call to VGLCheckSwitch().
  Otherwise, the video card may not be restored correctly
  if the signal is seen while inside libvgl functions.

MFC after: 1 week
2001-07-24 11:15:20 +00:00
sheldonh
1b8c225dc1 The delta introduced in the previous revision and attributed to the
OpenBSD project had grammar problems and made no attempt to motivate
the practice of saving errno.  Replace it with something better.
2001-07-24 11:15:13 +00:00
dougb
3f6937d347 Add ports for sshell, ldaps, rsync, ftps-{data|control}, ircs, and
correct some ommissions of udp ports.

Update IANA web page.

Clean up/correct some comments. I went a little further than the PR.

PR:		conf/23416
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2001-07-24 09:28:18 +00:00
dd
29b9ca0d16 mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.
2001-07-24 09:20:37 +00:00
dd
6fb3e15887 Fix or add types where appropriate. 2001-07-24 09:19:58 +00:00
kris
a465db1b2b This commit was generated by cvs2svn to compensate for changes in r80260,
which included commits to RCS files with non-trunk default branches.
2001-07-24 09:05:00 +00:00
kris
1c1c77e4e2 Import updated/clarified license for tcp_wrappers.
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that this entire copyright notice
+* is duplicated in all such copies.

Obtained from:	ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license
2001-07-24 09:05:00 +00:00
dd
18959910c1 Improve markup.
Reviewed by:	ru
2001-07-24 08:48:50 +00:00
dd
fb0d148d28 Note that this list should follow the docproj dependency list as much
as possible.
2001-07-24 08:47:00 +00:00
dd
d9a03f8456 eps2png -> peps
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-07-24 08:43:44 +00:00
sheldonh
c81f0bb5a6 Finish the sweep of changes that fix doubled 'the'. 2001-07-24 08:30:55 +00:00
kris
f1ce55ab17 Add the list of signal-handler safe functions here too, so people can
find it more easily

Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 08:26:37 +00:00
kris
2dedab32be Add a few more functions which are safe to call from signal handlers,
and give a bit of advice.

Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 08:24:50 +00:00
yar
267cc8ea92 Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
Previously, some useful xrefs were missing.
Now each of the pages refers to all remaining section 2 pages,
to the kld(4) page, and to a related utility's (section 8) page.
2001-07-24 07:59:54 +00:00
dfr
f8df84f8c5 Simplify the implementation of pmap_emulate_reference(). The new version
simply manipulates the pte which faulted instead of traversing the mapping
list for that page. This makes it possible to complete the trap without
needing locks and incidentally improves the accuracy of some statistics
used by the VM system.
2001-07-24 07:13:07 +00:00
kris
e2364a508f Save errno in signal handler
Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 05:41:13 +00:00
brooks
b4254a32fe Bruce gave me a little too much credit ;-), stf didn't get the full
treatment along with gif so it doesn't support cloning yet.
2001-07-24 05:34:18 +00:00
brooks
c20c0e3e6c Fix four </para> tags that were either missing or misspelled as </para>.
Found by:	make lint
Reviewed by:	bmah
2001-07-24 04:27:54 +00:00
kris
66a383b370 Install this mode 4550 owned by group dialer; there is unsafe code
in the signal handlers which may pose a risk when executable by untrusted
users.

Submitted by:	Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
MFC After:	3 days
2001-07-24 02:37:48 +00:00
bmah
f60e5321a1 Add txp(4) devices to the supported hardware list. 2001-07-24 01:14:00 +00:00
bmah
449e05e67b New release notes: txp(4) driver.
Updates:  Cross-reference SA-01:49 for telnet(8) buffer overflow fix,
binutils upgrade to snapshot, tcpdump 3.6.3, OpenSSL 0.9.6b.
2001-07-24 00:32:51 +00:00
fenner
f400013872 Use the IANA assignment IFT_L2VLAN directly instead of indirecting through
a privately #defined IFT_8021_VLAN.

MFC after:	3 days
2001-07-24 00:03:51 +00:00
bmah
512f80778a Grrrr: s/DFS-538TX/DFE-538TX/ 2001-07-23 23:35:31 +00:00
obrien
adeb9166b8 Quiet a [useless] compiler warning. 2001-07-23 23:27:28 +00:00
fenner
274f364f05 Merge tcpdump 3.6.3 2001-07-23 23:15:44 +00:00
fenner
656ab0c2a8 This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.
2001-07-23 23:15:13 +00:00
fenner
f815ae37f4 Virgin import of tcpdump.org tcpdump v3.6.3 2001-07-23 23:15:13 +00:00
gad
d8ce2cea7a Basically rewrite the dofork() routine, to add more error-checking and
correct the error-checking that was there.  With the old code, an error
return from getpwuid(daemon_user) could turn the lpd process into a very
effective fork-bomb...

Reviewed by:	freebsd-audit freebsd-print (a little...)
MFC after:	6 days
2001-07-23 23:13:39 +00:00
wpaul
104b9c72ee Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
won't trap.
2001-07-23 22:27:17 +00:00
kris
da715e7cac MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
to ensure deterministic operation
2001-07-23 22:00:51 +00:00
kris
d051133293 output_data(), output_datalen() and netflush() didn't actually guarantee
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded).  Change the
semantics so that these functions ensure they complete the operation before
returning.

Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.

Patch developed with assistance from ru and assar.
2001-07-23 21:52:26 +00:00
ume
512b8c359f Simplify IPv4 mapped IPv6 address handling.
Reviewed by:	brian
MFC after:	5 days
2001-07-23 21:42:22 +00:00
julian
ad094e6d4f Add an external function to unlink a netgraph type from the types list. 2001-07-23 21:14:57 +00:00
wpaul
4ee832f9e7 AIEEE! Commit the firmware image too. *blush* 2001-07-23 21:01:36 +00:00