Commit Graph

62545 Commits

Author SHA1 Message Date
obrien
527fbd1b7b Remove the misnamed `xmalloc' and replace its uses with the realloc (along
with error checking) that it actually was.
2001-07-24 14:14:11 +00:00
obrien
be6cd1a758 Remove the misnamed `emalloc' and replace its uses with calloc (along
with error checking) which it effectively was.  (malloc+memset)
2001-07-24 14:13:34 +00:00
obrien
03744c4baf Remove emalloc and expand to the malloc + error checking it was, where used. 2001-07-24 14:12:05 +00:00
obrien
260957ee90 Remove the misnamed `emalloc' and replace its uses with the calloc (along
with error checking) that it actually was.
2001-07-24 14:11:09 +00:00
obrien
ace9f9b7e6 Remove the local basename in favor of the libc version.
Remove xmalloc and xstrdup and do the error checking at the place of use.
2001-07-24 14:09:47 +00:00
obrien
624d06939b Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
obrien
8eca2772fd Expand emalloc in-place, and remove the `rname' basename() implimenation. 2001-07-24 14:06:19 +00:00
obrien
bd27550ed7 Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.
2001-07-24 14:05:21 +00:00
obrien
2e75112eef Replace the local rname' with the cannonical basename'. 2001-07-24 14:04:20 +00:00
obrien
b3b6224f0a Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
ume
8918504529 pass any NS/NA/toobig.
Requested by:	itojun
MFC after:	5 days
2001-07-24 13:37:06 +00:00
brian
c5019d5943 Remove redundant mtu/mru/speed settings
MFC after: 6 days
2001-07-24 13:11:57 +00:00
dd
7fe924dfcf 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
7c758c582c yyerror() is a printflike function
MFC after:	1 week
2001-07-24 12:20:17 +00:00
tg
b94bf6b828 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
04ea485893 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
5b89da7efd sprintf -> snprintf
Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 11:40:18 +00:00
sheldonh
d7549a3546 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
9acc31c2ef Replace strncpy -> strlcpy
Obtained from:	OpenBSD
MFC after:	1 week
2001-07-24 11:36:56 +00:00
kris
efbadb0bd2 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
55e37fa7aa 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
330672d944 Added the txp driver into the list for SMALL kernel. 2001-07-24 11:32:18 +00:00
kato
eec645bd91 Merged from sys/i386/conf/GENERIC revision 1.315. 2001-07-24 11:24:58 +00:00
yokota
d7c5092d9b - 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
0ccd341f90 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
cc57f18899 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
f81243fe4e mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.
2001-07-24 09:20:37 +00:00
dd
47ec2614ec Fix or add types where appropriate. 2001-07-24 09:19:58 +00:00
kris
3b4edb9c3c 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
35b0d8aadd Improve markup.
Reviewed by:	ru
2001-07-24 08:48:50 +00:00
dd
964bf917a3 Note that this list should follow the docproj dependency list as much
as possible.
2001-07-24 08:47:00 +00:00
dd
f0f0586317 eps2png -> peps
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-07-24 08:43:44 +00:00
sheldonh
2b7f8c8e02 Finish the sweep of changes that fix doubled 'the'. 2001-07-24 08:30:55 +00:00
kris
c63b9daf4d 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
56445ab306 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
31e5350f06 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
12b7df4354 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
8b38b52081 Save errno in signal handler
Obtained from:	OpenBSD
MFC After:	1 week
2001-07-24 05:41:13 +00:00
brooks
34ff7b524d 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
f7a5ab2550 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
a2ed5f97a3 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
d0a45504ef Add txp(4) devices to the supported hardware list. 2001-07-24 01:14:00 +00:00
bmah
834af21f87 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
ed176e949a 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
a440dcce1b Grrrr: s/DFS-538TX/DFE-538TX/ 2001-07-23 23:35:31 +00:00
obrien
18e9b76914 Quiet a [useless] compiler warning. 2001-07-23 23:27:28 +00:00
fenner
ec8d06c36b Merge tcpdump 3.6.3 2001-07-23 23:15:44 +00:00
fenner
99ed9eecbb 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
7f2edf944c Virgin import of tcpdump.org tcpdump v3.6.3 2001-07-23 23:15:13 +00:00