Commit Graph

74880 Commits

Author SHA1 Message Date
bmah
e6c3048146 New release note: k5su non-suid-root.
MFC noted:  BIND 8.3.2-T1B.
2002-05-15 20:33:12 +00:00
obrien
1250c0d8e3 Do not build pam_ssh if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE) 2002-05-15 20:25:32 +00:00
obrien
5bb9f5bc9f Do not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE) 2002-05-15 20:22:50 +00:00
obrien
b966bca4d3 PowerPC does not have profile support yet. 2002-05-15 20:07:31 +00:00
obrien
1e1772d636 Beginnings of syscall bits for PowerPC. These are no doubtedly wrong,
but it gets the build father and is in the right direction.

Partially obtained from:	NetBSD
2002-05-15 20:02:52 +00:00
billf
8ce7d93d62 restore missing default case removed in ls.c:r1.57
add break statements to default cases where missing.

Submitted by:	bde
2002-05-15 18:53:56 +00:00
obrien
848eea2250 Default Alpha compiles to ev5.
EV5 binaries will run on EV4[5], but the timing assumptions do pessimize
running on EV4[5].

Tested by:	ticso
2002-05-15 18:16:43 +00:00
phk
645c74d343 Revert daddr_t to 32 bits while we research the reported problems. 2002-05-15 17:52:03 +00:00
trhodes
0ee62997d7 pciconf(8) has an incorrect synopsis which argues the output from the
actual program.
2002-05-15 17:47:58 +00:00
silby
3d150d9681 Enhance the use of the watchdog timer in this driver so that it will
allow recovery from transmission lockups which occur in the middle
of the descriptor list, rather than just at the beginning.

For some unknown reason, Rhine II chips have a tendency to stop
transmitting while under heavy load, possibly due to collisions.
Whether this behavior is due to a hardware bug or a driver glitch
is unknown as of now.

In either case, this change allows the driver to gracefully recover
from such situations.

Special thanks go to The Anarcat <anarcat@anarcat.dyndns.org>, who
bugged me into looking at this and to
Dominic Marks <dominic_marks@btinternet.com>, who performed a great
deal of testing to help characterize this problem.

MFC after:	3 days
2002-05-15 17:05:28 +00:00
fanf
578642c931 Clarify that the value of getc() etc. is an unsigned char converted
to an int (as per the C standard) i.e. it can be passed straight to
isalpha() etc.

Approved by:	dwmalone (mentor)
MFC after:	3 days
2002-05-15 16:55:58 +00:00
fanf
3609bfaab7 Report errors properly if wait() fails.
PR:		30543
Approved by:	dwmalone (mentor)
MFC after:	3 weeks
2002-05-15 16:50:09 +00:00
obrien
60921a588a style sync with other platforms. 2002-05-15 16:40:25 +00:00
ume
3b06401650 correct wording.
Pointed out by:	brian
2002-05-15 16:37:26 +00:00
fanf
94a883658e Upgrade unifdef:
* It now knows about the existence of #elif which would have
    caused it to produce incorrect results in some situations.

  * It can now process #if and #elif lines according to the
    values of symbols that are specified on the command line.
    The expression parser is only a simple subset of what C
    allows but it should be sufficient for most real-world
    code (it can cope with everything it finds in xterm).

  * It has an option for printing all of the symbols that might
    control #if processing. The unifdefall script uses this
    option along with cpp -dM to strip all #ifs from a file.

  * It has much larger static limits.

  * It handles nested #ifs much more completely.

There have also been many style improvements: KNF; ANSI function
definitions; all global stuff moved to the top of the file; use
stdbool instead of h0h0bool; const-correctness; err(3) instead
of fprintf(stderr, ...); enum instead of #define; commentary.

I used NetBSD's unifdef as the basis of this since it has received
the most attention over the years.

PR:		37454
Reviewed by:	markm, dwmalone
Approved by:	dwmalone (mentor)
MFC after:	3 weeks
2002-05-15 16:30:28 +00:00
ru
b860787a18 Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
2002-05-15 16:29:45 +00:00
ru
f5faaf6181 Rename includes' to buildincludes'.
Rename `incsinstall' to `installincludes'.
Make `includes' a -j safe shortcut for `buildincludes' + `installincludes'.
`buildincludes' and `installincludes' are SUBDIR friendly, if run directly.
2002-05-15 16:19:54 +00:00
ru
569719713e `all-man' now creates manpages in the -DNOMANCOMPRESS case too. 2002-05-15 12:59:54 +00:00
brian
7ee0103915 Remove an extraneous )
Not approved by: maintainer

I'm guessing that this is trivial enough to sidestep approval.
2002-05-15 12:25:11 +00:00
jhay
fa9aaf2ad1 DEV_BSIZE lives in sys/param.h and not in machine/param.h anymore. 2002-05-15 11:32:53 +00:00
obrien
11c66c495e Stub out _kvm_mdopen, we don't the same constants as NetBSD 2002-05-15 09:56:40 +00:00
obrien
95ae68e994 Add a PowerPC machdep for kvm.
Obtained from:	NetBSD (rev 1.4, pre-UVM)
2002-05-15 09:55:41 +00:00
jmallett
3de05bf289 Make 'user' and 'group' const as to not discard the qualifier from the
functions we use to assign them.  Doesn't seem to be anything else that
relies on these being non-const.
2002-05-15 09:49:59 +00:00
jmallett
c0b64a6d1b Remove an empty default case to make this syntactically correct. Not there
is as good as blaknk.
2002-05-15 09:43:52 +00:00
des
86afaea3e6 Explicitly cast NCONTINENTS to int to silence an overflow warning. 2002-05-15 09:39:31 +00:00
des
81c41451d4 Remove bogus cast. 2002-05-15 09:36:46 +00:00
des
8d313628ef Unbreak Alpha build. 2002-05-15 09:20:06 +00:00
obrien
d29a2e20ce for OpenSSL 0.9.5a 2002-05-15 09:17:27 +00:00
obrien
986b462279 We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
obrien
9139dec5a0 We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye:	jmallet
2002-05-15 09:01:03 +00:00
obrien
fb2703d06f We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
des
1a81f5479f Unbreak Alpha build. 2002-05-15 08:01:31 +00:00
obrien
7146904200 This code is no longer WARNS level 2 OK. 2002-05-15 06:32:29 +00:00
alfred
71694f1a9c Undo namespace pollution by prefixing the globals pthread_guard_default and
pthread_page_size.

Fix a bunch line wrapping.

Pointed out by: deischen
2002-05-15 05:37:48 +00:00
dougb
00266d9f51 Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.
2002-05-15 04:35:27 +00:00
obrien
c6615f0631 Use .rodata section for $FreeBSD$. 2002-05-15 04:19:49 +00:00
bmah
dd563f9e7d Fix description of uuencode(1)/uudecode(1) base64 abilities.
Submitted by:	jmallet
2002-05-15 03:43:44 +00:00
tjr
d2e458094c Build the asa(1) utility.
PR:		36130
Reviewed by:	mike
2002-05-15 03:37:55 +00:00
tjr
13b1096a78 #include <unistd.h> for getopt() and friends.
PR:		36130
Approved by:	mike
2002-05-15 03:31:40 +00:00
tjr
c0844f47a4 Use getopt() to reject options (asa has none), and to the "--" end of options
marker. Exit non-zero if we cannot open one of the input files. Update
standards conformance and exit status statements in manual page.

PR:		36130
Approved by:	mike
2002-05-15 03:17:01 +00:00
tjr
5fce6fe1a7 Remove __P,
Don't prototype main(),
C89-style function declarations,
char **argv -> char *argv[] for main()

PR:		36130
Approved by:	mike
2002-05-15 03:10:17 +00:00
tjr
fb7dc2e983 style(9): remove space between function name and opening parentheses,
sort variables, NULL is the null-pointer constant, remove unnecessary
braces.

PR:		36130
Approved by:	mike
2002-05-15 03:02:17 +00:00
tjr
03ace5aac1 Add the POSIX.2 asa utility, which interprets FORTRAN carriage-control
characters.

PR:		36130
Approved by:	mike
Obtained from:	NetBSD
2002-05-15 02:40:57 +00:00
kbyanc
134bb77c23 Reset token-ring source routing control field on receipt of ethernet frame
without source routing information.  This restores the behaviour in this
scenario to that of prior to my last commit.
2002-05-15 01:03:32 +00:00
iedowse
36cd292d7d Use fgetln to remove the static limit on the length of lines in
/etc/exports. Oversized lines were unlikely due to the large 10k
limit, but any found would cause mountd to exit with an error. Also
fix one or two compiler warnings.
2002-05-14 23:24:28 +00:00
green
957e7d4f00 o Clean up tmp file usage a little by using mkstemp(3) instead of
mktemp(3).  It would be amazingly unlikely, but the former method
  could result in a symlink attack.  A better solution would use
  ${TMPDIR}, though.
o Make sed not overwrite old backup files with no warning.
2002-05-14 23:15:42 +00:00
rwatson
61d5a9043f p_cansignal() returns an errno value; at some point, the check for
inter-process signalling ceased to preserve and return that value,
instead always returning EPERM.  This meant that it was possible
to "probe" the pid space for processes that were not otherwise
visible.  This change reverts that reversion.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-05-14 23:07:15 +00:00
jmallett
4e7e0a7753 Fix a "tiny and squeeby and little" markup mistake.
Submitted by:	fenner
2002-05-14 22:55:31 +00:00
jeff
ba85b0e087 Disable the shared locking namei() code for now. It breaks several stacking
filesystems.  This is on hold until the rest of VFS Locking is reviewed and
deemed safe.  It can be enabled with 'options LOOKUP_SHARED'.
2002-05-14 21:59:49 +00:00
obrien
c751ff18ae `unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'. 2002-05-14 21:59:10 +00:00