Commit Graph

63869 Commits

Author SHA1 Message Date
Andrey A. Chernov
711b11769d Describe that we disallow ungetc at offset 0 now. 2001-08-31 20:03:49 +00:00
Jordan K. Hubbard
7a7a162ba6 Whoops, forgot a hunk on the previous patch. Fix RTSOL variable handling
AND DHCP handling.
2001-08-31 20:03:05 +00:00
Jordan K. Hubbard
a46ce3a04b PR: 26187
Submitted by:   Glenn Trewitt <glenn@trewitt.org>
2001-08-31 19:56:59 +00:00
Andrey A. Chernov
4db40fd143 Disallow ungetc at offset 0 (to prevent negative offset happens), so simplify
checks in ftell.
2001-08-31 19:50:25 +00:00
Andrey A. Chernov
7cf30ace84 Drop buffer first, _then_ ask for real position 2001-08-31 18:54:44 +00:00
Andrey A. Chernov
2ff678f5bb The same big piece of ftell code repeated in 3 places. Simplify things moving
it into one subfunction instead.
Try to use real offset in strange cases.
2001-08-31 18:23:29 +00:00
Mike Smith
05c03ed9b8 Don't activate placeholder resources; it can be very expensive in the
SYS_RES_MEMORY case, and it shouldn't be necessary.
2001-08-31 18:08:50 +00:00
Bruce A. Mah
4e372c6746 Whitespace-only commit that can be ignored by translators.
The 1.2->1.4 deltas caused the indentation of this document to become
massively...well...confused.  Try to fix this.
2001-08-31 17:26:18 +00:00
Bruce A. Mah
27554eda12 diskcheckd(8) is gone from the base system, so undo its release note. 2001-08-31 16:47:57 +00:00
Ruslan Ermilov
3b7e5ccc6a SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
Ruslan Ermilov
208691fcd8 Sort predicates.
PR:		docs/30237
2001-08-31 15:48:00 +00:00
Dima Dorfman
46c128b5a5 The file_descriptor argument to -t isn't optional, so don't mark it up so. 2001-08-31 15:38:53 +00:00
Dima Dorfman
bdb6e9217b Make the 'echo' output for blanktime and scrnmap consistent with their
variable names.  There were minor differences in both cases, which were
needlessly confusing and inconsistent.
2001-08-31 15:29:24 +00:00
Andrey A. Chernov
ee75810413 If file offset is smaller than internal buffer character left count, just drop
internal buffer and trust offset, not return error.
2001-08-31 14:11:14 +00:00
Jonathan Lemon
14b62f116d Add missing "opt_inet6.h" header. 2001-08-31 13:49:03 +00:00
Jonathan Lemon
255a018115 Whitespace change. 2001-08-31 13:46:22 +00:00
Andrey A. Chernov
1dfa423639 Initialize _offset to 0 in fopen(), it helps to optimize fseek/ftell 2001-08-31 13:14:49 +00:00
Andrey A. Chernov
ca934ebcae Detect fp->_offset overflow on read
Use errno to catch negative seek with -1 offset
2001-08-31 12:55:22 +00:00
Ruslan Ermilov
217758f8e6 mdoc(7) police: minor formatting tweaks. 2001-08-31 12:52:50 +00:00
Ruslan Ermilov
162c0b2eff Synch with NetBSD and OpenBSD.
Allow non-superuser to open, listen to, and send safe commands on the
routing socket.  Superuser priviledge is required for all commands
but RTM_GET.

Lose `setuid root' bit of route(8).

Reviewed by:	wollman, dd
2001-08-31 12:31:09 +00:00
Alexander Langer
0d0667b51b Final way: Don't include /etc/defaults/make.conf at all. It wasn't
supposed to be edited by the user and didn't define important things,
thus we can just skip it (that's where it differs from the make.conf.local
change).

Submitted by:	ru
2001-08-31 12:20:43 +00:00
Jose M. Alcaide
afe9babfeb Add myself. 2001-08-31 11:35:18 +00:00
Alexander Langer
32890b4216 Don't .error, if /etc/defaults/make.conf exists. This breaks -CURRENT
buildworlds on a -STABLE machine.

Reminded by:	ru
2001-08-31 11:18:24 +00:00
Bruce Evans
b14046f4b2 Fixed style bugs in rev.1.4, including clobbering of the "Don't generate
y.output" part of rev.1.11.
2001-08-31 11:15:49 +00:00
Bruce Evans
a06f83e522 Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
Bruce Evans
573e0948ea Don't clobber the default for CFLAGS.
Reviewed by:		dfr
2001-08-31 11:01:20 +00:00
Ruslan Ermilov
81a3cb97a5 Add manpage for inet_net_ntop(3) and inet_net_pton(3).
Obtained from:	NetBSD
2001-08-31 10:54:44 +00:00
Ruslan Ermilov
d6002fef6f Use ``.Rv -std'' wherever possible.
Submitted by:	yar
2001-08-31 09:57:38 +00:00
Robert Watson
1b08f101ba o Move definition of CAP_MAX_BUF_LEN to sys/capability.h
(I could have sworn I committed this before, but apparently I missed it
 during the merge, breaking world)

Submitted by:		tmm
Obtained from:	TrustedBSD Project
Pointed out by:	Mike Barcroft <mike@FreeBSD.org>
2001-08-31 07:07:28 +00:00
Peter Wemm
b8603f0e57 Similar to changes on i386/alpha/etc pmap.c; converge on a similar
look/feel on pmap_new_proc() with some cosmetic style changes.
2001-08-31 06:42:45 +00:00
Peter Wemm
80d3dee1c9 Converge with i386/alpha/etc pmap.c for pmap_new_proc/pmap_dispose_proc(). 2001-08-31 06:30:27 +00:00
Peter Wemm
5a4b540da0 Same as i386/i386/pmap.c: clean up some style. This is irrelevant since
it is inside #if 0'ed code, but it would be a shame if this stuff got
cut/pasted elsewhere.
2001-08-31 06:25:28 +00:00
Peter Wemm
0a1b2dd6eb Same treatment as i386/isa/pmap.c - clean up some style to sync towards
KSE diff.
2001-08-31 06:19:08 +00:00
Takanori Watanabe
ff741bef86 Call OS-independent resume routine to execute _WAK .. etc.
This should also recover GPE bit,comment says, though not implemented yet.
2001-08-31 05:36:48 +00:00
Mike Barcroft
9f5709b101 Revert previous delta; <arpa/inet.h> isn't quite ready to stop including
<sys/types.h>.
2001-08-31 03:29:48 +00:00
Eric Melville
30ff437cd4 Attempt to make key behavior more clear. 2001-08-31 03:29:25 +00:00
Mike Barcroft
c3ab2e6bc0 o Deprecate byteorder(3) prototypes from <sys/types.h>, these are
now prototyped indirectly in <arpa/inet.h>.
o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these
  are now typedef'd in <arpa/inet.h>.

Discussed with:	bde
PR:		29946
2001-08-31 03:12:01 +00:00
Peter Wemm
43295941c4 Do a style cleanup pass for the pmap_{new,dispose,etc}_proc() functions
to get them closer to the KSE tree.  I will do the other $machine/pmap.c
files shortly.
2001-08-31 02:28:01 +00:00
Jonathan Lemon
7c21a36750 Remove already commented out entry for pci/fxp.c 2001-08-31 02:22:48 +00:00
Jonathan Lemon
cf9d4cbfc6 The fxp driver has lived in dev/fxp for some time, remove old files. 2001-08-31 02:21:03 +00:00
Robert Watson
2ac0ae9471 Prototypes for cap_equal_np() and cap_subset_np().
Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-31 02:17:43 +00:00
Robert Watson
197a9029de Note that ASU is now deprecated.
Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-31 02:15:13 +00:00
Mike Smith
91bca55f68 Revert previous "fix"; bus mice still have to be manually probed even in
the presence of PnP data.

Submitted by:	yokota
2001-08-31 02:14:34 +00:00
Robert Watson
ab2ba9fac8 o Use .Fx to refer to FreeBSD
Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-31 02:12:54 +00:00
Robert Watson
cbc25559e4 o Remove definition of CAP_MAX_BUF_LEN since it is defined in
sys/capability.h now.

Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-31 02:11:59 +00:00
Peter Wemm
13fdaee622 Tidy up cpu_fork() a little. This is mainly for changes I've been
working on in the KSE area.
2001-08-31 02:11:24 +00:00
Robert Watson
7bb862d793 Introduce implementations of POSIX.1e non-portable form capability
support functions:
     cap_subset_np()    - Is cap1 a subset of cap2
     cap_equal_np()     - Is cap1 equal to cap2

o Introduce implementations of POSIX.1e capability support functions:
     cap_copy_ext()     - Externalize capability
     cap_copy_int()     - Internalize capability
     cap_size()         - Determine size required for cap_copy_ext()

Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-31 02:07:48 +00:00
Eric Melville
ae0b7d588a Properly move cursor when home and end keys are used. 2001-08-31 01:56:06 +00:00
Matthew Dillon
d2c60af81a Cleanup 2001-08-31 01:26:30 +00:00
Matthew Dillon
36565f036f Get rid of most of the GIANT_XXX assertion defines. Nobody is going to use
them, including me.
2001-08-31 00:51:35 +00:00