]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMinor rewording of an item.
Bruce A. Mah [Thu, 16 May 2002 16:18:42 +0000 (16:18 +0000)]
Minor rewording of an item.

22 years agoDon't install scriptdump which is written in Perl. This is
Hajimu UMEMOTO [Thu, 16 May 2002 15:44:08 +0000 (15:44 +0000)]
Don't install scriptdump which is written in Perl.  This is
corresponding to removal of Perl from base system.

22 years agoMD_EXEC_PREFIX doesn't work for the cross-arch compiler.
Ruslan Ermilov [Thu, 16 May 2002 15:22:58 +0000 (15:22 +0000)]
MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by: obrien

22 years agoWhitespace fixes, no content changes.
Bruce A. Mah [Thu, 16 May 2002 15:18:25 +0000 (15:18 +0000)]
Whitespace fixes, no content changes.

22 years agoMake it possible to build a cross compiler for alpha,
Ruslan Ermilov [Thu, 16 May 2002 15:18:13 +0000 (15:18 +0000)]
Make it possible to build a cross compiler for alpha,
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.

22 years agoAdd Blue Concentric Cirlce CF Wireless LAN card to wi(4)-supported list.
Bruce A. Mah [Thu, 16 May 2002 15:16:48 +0000 (15:16 +0000)]
Add Blue Concentric Cirlce CF Wireless LAN card to wi(4)-supported list.

22 years agoAdd some OpenBSD includes
Brian Somers [Thu, 16 May 2002 14:47:19 +0000 (14:47 +0000)]
Add some OpenBSD includes

22 years agoFix a mis-placed #else/#endif
Brian Somers [Thu, 16 May 2002 14:28:32 +0000 (14:28 +0000)]
Fix a mis-placed #else/#endif

22 years agoHandle MS-CHAPv2 authentication correctly via the RADIUS server (if it's
Brian Somers [Thu, 16 May 2002 13:34:20 +0000 (13:34 +0000)]
Handle MS-CHAPv2 authentication correctly via the RADIUS server (if it's
configured).
Handle internal failures in radius_Authenticate() correctly.
Bump the ppp version number.

This doesn't yet work with MPPE.  More will follow.

Sponsored by: Mozoon

22 years agoThe sysctl has changed from 'kern.ps_showallprocs' to
Josef Karthauser [Thu, 16 May 2002 11:51:05 +0000 (11:51 +0000)]
The sysctl has changed from 'kern.ps_showallprocs' to
'security.bsd.see_other_uids'.

22 years agoNo need to have a perl style if we've not got perl.
Josef Karthauser [Thu, 16 May 2002 11:48:36 +0000 (11:48 +0000)]
No need to have a perl style if we've not got perl.

22 years agoCatch up with BSD.usr.dist,v 1.259.
Ruslan Ermilov [Thu, 16 May 2002 11:40:54 +0000 (11:40 +0000)]
Catch up with BSD.usr.dist,v 1.259.

22 years agoRemoved the vestiges of NO_?PERL and ENABLE_SUIDPERL.
Ruslan Ermilov [Thu, 16 May 2002 11:33:11 +0000 (11:33 +0000)]
Removed the vestiges of NO_?PERL and ENABLE_SUIDPERL.

Spotted by: grep(1)

22 years agoRemove perl hooks.
Mark Murray [Thu, 16 May 2002 11:27:33 +0000 (11:27 +0000)]
Remove perl hooks.

Pointed out by: des

22 years agoRename struct scr_size into struct _scr_size and struct scrmap into
Maxim Sobolev [Thu, 16 May 2002 10:57:10 +0000 (10:57 +0000)]
Rename struct scr_size into struct _scr_size and struct scrmap into
struct _scrmap, so that it doesn't break C++ programs (name of element of
the structure is the same as the name of the scructure itself).

MFC after: 5 days

22 years agoPerl is no longer in base. Long live the port!
Mark Murray [Thu, 16 May 2002 10:09:28 +0000 (10:09 +0000)]
Perl is no longer in base. Long live the port!

22 years agoRemove the perl build. Farewell, old friend.
Mark Murray [Thu, 16 May 2002 09:57:11 +0000 (09:57 +0000)]
Remove the perl build. Farewell, old friend.

22 years agoNo need to build perl dirs anymore.
Mark Murray [Thu, 16 May 2002 09:29:40 +0000 (09:29 +0000)]
No need to build perl dirs anymore.

22 years agoDon't build perl.
Mark Murray [Thu, 16 May 2002 08:59:52 +0000 (08:59 +0000)]
Don't build perl.

22 years agoRemove the perl bits from the build.
Mark Murray [Thu, 16 May 2002 08:55:59 +0000 (08:55 +0000)]
Remove the perl bits from the build.

22 years agoRemove references to perl, and temporarily remove the running of a perl
Mark Murray [Thu, 16 May 2002 08:32:21 +0000 (08:32 +0000)]
Remove references to perl, and temporarily remove the running of a perl
script that will be rewritten.

22 years agoMF4: sync with RELENG_4 version as much as possible.
Ruslan Ermilov [Thu, 16 May 2002 08:06:07 +0000 (08:06 +0000)]
MF4: sync with RELENG_4 version as much as possible.

22 years agoUse splnet() when we need to block timeouts rather than splimp() since
Warner Losh [Thu, 16 May 2002 06:32:37 +0000 (06:32 +0000)]
Use splnet() when we need to block timeouts rather than splimp() since
the former blocks software interrupts, while the latter blocks
hardware interrupts.

Avoid one place where I'm at splnet across a call to copyout.  Leave
one in place to give bde something to complain about :-).  Actaully,
I'll fix it in a subsequent commit.

Reviewed by: bde
spl conical hat to: imp

22 years agoBack out previous commit - I didn't realize that ifconfig(8) dealt
Jordan K. Hubbard [Thu, 16 May 2002 06:00:57 +0000 (06:00 +0000)]
Back out previous commit - I didn't realize that ifconfig(8) dealt
properly with 802.11 configuration now.

Noted by: jhb

22 years agoMore file system > filesystem
Tom Rhodes [Thu, 16 May 2002 05:21:58 +0000 (05:21 +0000)]
More file system > filesystem

22 years agoHandle the case where a negative offset in a regular expression match
Tim J. Robbins [Thu, 16 May 2002 05:04:26 +0000 (05:04 +0000)]
Handle the case where a negative offset in a regular expression match
is larger than the number of lines in the overflow file.

22 years agofile system > filesystem
Tom Rhodes [Thu, 16 May 2002 05:03:56 +0000 (05:03 +0000)]
file system > filesystem

22 years agoCorrect synopsis and usage(): pattern arguments are not optional.
Tim J. Robbins [Thu, 16 May 2002 04:39:19 +0000 (04:39 +0000)]
Correct synopsis and usage(): pattern arguments are not optional.

22 years agomore file system > filesystem
Tom Rhodes [Thu, 16 May 2002 04:10:46 +0000 (04:10 +0000)]
more file system > filesystem

22 years agomore file system > filesystem
Tom Rhodes [Thu, 16 May 2002 03:51:38 +0000 (03:51 +0000)]
more file system > filesystem

22 years agoConsistancy check: s/file system/filesystem/g
Tom Rhodes [Thu, 16 May 2002 02:28:39 +0000 (02:28 +0000)]
Consistancy check: s/file system/filesystem/g

22 years agoMore consistancy. file system > filesystem
Tom Rhodes [Thu, 16 May 2002 02:19:14 +0000 (02:19 +0000)]
More consistancy.  file system > filesystem

22 years agoConsistancy, file system > filesystem
Tom Rhodes [Thu, 16 May 2002 02:10:03 +0000 (02:10 +0000)]
Consistancy, file system > filesystem

22 years agoConsistancy check s/file system/filesystem/
Tom Rhodes [Thu, 16 May 2002 01:57:20 +0000 (01:57 +0000)]
Consistancy check s/file system/filesystem/

Reviewed by: brian

22 years agoAdd the SUSv3 -l option to at. This is an alias for atq. Allow job ids
Tim J. Robbins [Thu, 16 May 2002 00:47:14 +0000 (00:47 +0000)]
Add the SUSv3 -l option to at. This is an alias for atq. Allow job ids
to be specified on the command line for which information should be reported.

Submitted by: Joe Halpin <joe.halpin@attbi.com>
Reviewed by: mike

22 years agoFixup unaligned bwx instructions (ldwu, stw). This may fix some mysterious
Andrew Gallatin [Thu, 16 May 2002 00:03:32 +0000 (00:03 +0000)]
Fixup unaligned bwx instructions (ldwu, stw).  This may fix some mysterious
natd sigbus errors being reported on the freebsd-alpha@ mailing list.

Obtained from: NetBSD

22 years agoAdd x86-64 bits.
David E. O'Brien [Wed, 15 May 2002 22:40:50 +0000 (22:40 +0000)]
Add x86-64 bits.

22 years agoTime to enter modern age and default to NFS version 3.
David E. O'Brien [Wed, 15 May 2002 22:24:29 +0000 (22:24 +0000)]
Time to enter modern age and default to NFS version 3.

22 years agoThe IA-64 config needs to know that we are using GNU ld & as.
David E. O'Brien [Wed, 15 May 2002 21:59:46 +0000 (21:59 +0000)]
The IA-64 config needs to know that we are using GNU ld & as.

Submitted by: peter

22 years agoGrow RSYSCALL.
David E. O'Brien [Wed, 15 May 2002 21:25:47 +0000 (21:25 +0000)]
Grow RSYSCALL.

22 years agoOur default syscall.S is identical to what was explicitly being done for
David E. O'Brien [Wed, 15 May 2002 21:17:59 +0000 (21:17 +0000)]
Our default syscall.S is identical to what was explicitly being done for
Alpha and IA-64.  So there is no need for special handling.

22 years agoBlah, fix stupid syntax error.
David E. O'Brien [Wed, 15 May 2002 20:58:03 +0000 (20:58 +0000)]
Blah, fix stupid syntax error.
(where's the hat?)

22 years agoAn exact copy of i386/include/float.h will work here.
David E. O'Brien [Wed, 15 May 2002 20:54:35 +0000 (20:54 +0000)]
An exact copy of i386/include/float.h will work here.

22 years agohost-network order conversion routines.
David E. O'Brien [Wed, 15 May 2002 20:40:35 +0000 (20:40 +0000)]
host-network order conversion routines.
Luckily we are network order, so there is little to be done. :-)

22 years agoNew release note: k5su non-suid-root.
Bruce A. Mah [Wed, 15 May 2002 20:33:12 +0000 (20:33 +0000)]
New release note:  k5su non-suid-root.

MFC noted:  BIND 8.3.2-T1B.

22 years agoDo not build pam_ssh if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)
David E. O'Brien [Wed, 15 May 2002 20:25:32 +0000 (20:25 +0000)]
Do not build pam_ssh if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)

22 years agoDo not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)
David E. O'Brien [Wed, 15 May 2002 20:22:50 +0000 (20:22 +0000)]
Do not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)

22 years agoPowerPC does not have profile support yet.
David E. O'Brien [Wed, 15 May 2002 20:07:31 +0000 (20:07 +0000)]
PowerPC does not have profile support yet.

22 years agoBeginnings of syscall bits for PowerPC. These are no doubtedly wrong,
David E. O'Brien [Wed, 15 May 2002 20:02:52 +0000 (20:02 +0000)]
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

22 years agorestore missing default case removed in ls.c:r1.57
Bill Fumerola [Wed, 15 May 2002 18:53:56 +0000 (18:53 +0000)]
restore missing default case removed in ls.c:r1.57

add break statements to default cases where missing.

Submitted by: bde

22 years agoDefault Alpha compiles to ev5.
David E. O'Brien [Wed, 15 May 2002 18:16:43 +0000 (18:16 +0000)]
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

22 years agoRevert daddr_t to 32 bits while we research the reported problems.
Poul-Henning Kamp [Wed, 15 May 2002 17:52:03 +0000 (17:52 +0000)]
Revert daddr_t to 32 bits while we research the reported problems.

22 years agopciconf(8) has an incorrect synopsis which argues the output from the
Tom Rhodes [Wed, 15 May 2002 17:47:58 +0000 (17:47 +0000)]
pciconf(8) has an incorrect synopsis which argues the output from the
actual program.

22 years agoEnhance the use of the watchdog timer in this driver so that it will
Mike Silbersack [Wed, 15 May 2002 17:05:28 +0000 (17:05 +0000)]
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

22 years agoClarify that the value of getc() etc. is an unsigned char converted
Tony Finch [Wed, 15 May 2002 16:55:58 +0000 (16:55 +0000)]
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

22 years agoReport errors properly if wait() fails.
Tony Finch [Wed, 15 May 2002 16:50:09 +0000 (16:50 +0000)]
Report errors properly if wait() fails.

PR: 30543
Approved by: dwmalone (mentor)
MFC after: 3 weeks

22 years agostyle sync with other platforms.
David E. O'Brien [Wed, 15 May 2002 16:40:25 +0000 (16:40 +0000)]
style sync with other platforms.

22 years agocorrect wording.
Hajimu UMEMOTO [Wed, 15 May 2002 16:37:26 +0000 (16:37 +0000)]
correct wording.

Pointed out by: brian

22 years agoUpgrade unifdef:
Tony Finch [Wed, 15 May 2002 16:30:28 +0000 (16:30 +0000)]
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

22 years agoMake sure to not yet build the GNU C++, but still allow
Ruslan Ermilov [Wed, 15 May 2002 16:29:45 +0000 (16:29 +0000)]
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.

22 years agoRename `includes' to `buildincludes'.
Ruslan Ermilov [Wed, 15 May 2002 16:19:54 +0000 (16:19 +0000)]
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.

22 years ago`all-man' now creates manpages in the -DNOMANCOMPRESS case too.
Ruslan Ermilov [Wed, 15 May 2002 12:59:54 +0000 (12:59 +0000)]
`all-man' now creates manpages in the -DNOMANCOMPRESS case too.

22 years agoRemove an extraneous )
Brian Somers [Wed, 15 May 2002 12:25:11 +0000 (12:25 +0000)]
Remove an extraneous )

Not approved by: maintainer

I'm guessing that this is trivial enough to sidestep approval.

22 years agoDEV_BSIZE lives in sys/param.h and not in machine/param.h anymore.
John Hay [Wed, 15 May 2002 11:32:53 +0000 (11:32 +0000)]
DEV_BSIZE lives in sys/param.h and not in machine/param.h anymore.

22 years agoStub out _kvm_mdopen, we don't the same constants as NetBSD
David E. O'Brien [Wed, 15 May 2002 09:56:40 +0000 (09:56 +0000)]
Stub out _kvm_mdopen, we don't the same constants as NetBSD

22 years agoAdd a PowerPC machdep for kvm.
David E. O'Brien [Wed, 15 May 2002 09:55:41 +0000 (09:55 +0000)]
Add a PowerPC machdep for kvm.

Obtained from: NetBSD (rev 1.4, pre-UVM)

22 years agoMake 'user' and 'group' const as to not discard the qualifier from the
Juli Mallett [Wed, 15 May 2002 09:49:59 +0000 (09:49 +0000)]
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.

22 years agoRemove an empty default case to make this syntactically correct. Not there
Juli Mallett [Wed, 15 May 2002 09:43:52 +0000 (09:43 +0000)]
Remove an empty default case to make this syntactically correct.  Not there
is as good as blaknk.

22 years agoExplicitly cast NCONTINENTS to int to silence an overflow warning.
Dag-Erling Smørgrav [Wed, 15 May 2002 09:39:31 +0000 (09:39 +0000)]
Explicitly cast NCONTINENTS to int to silence an overflow warning.

22 years agoRemove bogus cast.
Dag-Erling Smørgrav [Wed, 15 May 2002 09:36:46 +0000 (09:36 +0000)]
Remove bogus cast.

22 years agoUnbreak Alpha build.
Dag-Erling Smørgrav [Wed, 15 May 2002 09:20:06 +0000 (09:20 +0000)]
Unbreak Alpha build.

22 years agofor OpenSSL 0.9.5a
David E. O'Brien [Wed, 15 May 2002 09:17:27 +0000 (09:17 +0000)]
for OpenSSL 0.9.5a

22 years agoWe won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
David E. O'Brien [Wed, 15 May 2002 09:11:11 +0000 (09:11 +0000)]
We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.

22 years agoWe aren't quite ready to switch emulations and loose the
David E. O'Brien [Wed, 15 May 2002 09:01:03 +0000 (09:01 +0000)]
We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye: jmallet

22 years agoWe won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
David E. O'Brien [Wed, 15 May 2002 08:33:41 +0000 (08:33 +0000)]
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)

22 years agoUnbreak Alpha build.
Dag-Erling Smørgrav [Wed, 15 May 2002 08:01:31 +0000 (08:01 +0000)]
Unbreak Alpha build.

22 years agoThis code is no longer WARNS level 2 OK.
David E. O'Brien [Wed, 15 May 2002 06:32:29 +0000 (06:32 +0000)]
This code is no longer WARNS level 2 OK.

22 years agoUndo namespace pollution by prefixing the globals pthread_guard_default and
Alfred Perlstein [Wed, 15 May 2002 05:37:48 +0000 (05:37 +0000)]
Undo namespace pollution by prefixing the globals pthread_guard_default and
pthread_page_size.

Fix a bunch line wrapping.

Pointed out by: deischen

22 years agoCorrectly attribute a Douglas Adams quote, and remove a duplicate of
Doug Barton [Wed, 15 May 2002 04:35:27 +0000 (04:35 +0000)]
Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.

22 years agoUse .rodata section for $FreeBSD$.
David E. O'Brien [Wed, 15 May 2002 04:19:49 +0000 (04:19 +0000)]
Use .rodata section for $FreeBSD$.

22 years agoFix description of uuencode(1)/uudecode(1) base64 abilities.
Bruce A. Mah [Wed, 15 May 2002 03:43:44 +0000 (03:43 +0000)]
Fix description of uuencode(1)/uudecode(1) base64 abilities.

Submitted by: jmallet

22 years agoBuild the asa(1) utility.
Tim J. Robbins [Wed, 15 May 2002 03:37:55 +0000 (03:37 +0000)]
Build the asa(1) utility.

PR: 36130
Reviewed by: mike

22 years ago#include <unistd.h> for getopt() and friends.
Tim J. Robbins [Wed, 15 May 2002 03:31:40 +0000 (03:31 +0000)]
#include <unistd.h> for getopt() and friends.

PR: 36130
Approved by: mike

22 years agoUse getopt() to reject options (asa has none), and to the "--" end of options
Tim J. Robbins [Wed, 15 May 2002 03:17:01 +0000 (03:17 +0000)]
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

22 years agoRemove __P,
Tim J. Robbins [Wed, 15 May 2002 03:10:17 +0000 (03:10 +0000)]
Remove __P,
Don't prototype main(),
C89-style function declarations,
char **argv -> char *argv[] for main()

PR: 36130
Approved by: mike

22 years agostyle(9): remove space between function name and opening parentheses,
Tim J. Robbins [Wed, 15 May 2002 03:02:17 +0000 (03:02 +0000)]
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

22 years agoAdd the POSIX.2 asa utility, which interprets FORTRAN carriage-control
Tim J. Robbins [Wed, 15 May 2002 02:40:57 +0000 (02:40 +0000)]
Add the POSIX.2 asa utility, which interprets FORTRAN carriage-control
characters.

PR: 36130
Approved by: mike
Obtained from: NetBSD

22 years agoReset token-ring source routing control field on receipt of ethernet frame
Kelly Yancey [Wed, 15 May 2002 01:03:32 +0000 (01:03 +0000)]
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.

22 years agoUse fgetln to remove the static limit on the length of lines in
Ian Dowse [Tue, 14 May 2002 23:24:28 +0000 (23:24 +0000)]
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.

22 years agoo Clean up tmp file usage a little by using mkstemp(3) instead of
Brian Feldman [Tue, 14 May 2002 23:15:42 +0000 (23:15 +0000)]
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.

22 years agop_cansignal() returns an errno value; at some point, the check for
Robert Watson [Tue, 14 May 2002 23:07:15 +0000 (23:07 +0000)]
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

22 years agoFix a "tiny and squeeby and little" markup mistake.
Juli Mallett [Tue, 14 May 2002 22:55:31 +0000 (22:55 +0000)]
Fix a "tiny and squeeby and little" markup mistake.

Submitted by: fenner

22 years agoDisable the shared locking namei() code for now. It breaks several stacking
Jeff Roberson [Tue, 14 May 2002 21:59:49 +0000 (21:59 +0000)]
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'.

22 years ago`unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'.
David E. O'Brien [Tue, 14 May 2002 21:59:10 +0000 (21:59 +0000)]
`unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'.

22 years agoTighten up the defined()'s.
David E. O'Brien [Tue, 14 May 2002 21:54:56 +0000 (21:54 +0000)]
Tighten up the defined()'s.

22 years ago- Make use of DEPOROGINs (if there are any) when installing package;
Maxim Sobolev [Tue, 14 May 2002 21:42:37 +0000 (21:42 +0000)]
- Make use of DEPOROGINs (if there are any) when installing package;
- fix few bogosities here and there;
- move some common routines into the library.

MFC after: 2 weeks

22 years agoAfter some comments from bde, rewrite the loops to avoid turning the
Joerg Wunsch [Tue, 14 May 2002 21:28:45 +0000 (21:28 +0000)]
After some comments from bde, rewrite the loops to avoid turning the
previously used "micro-optimization" (count-down loop) into a
pessimization.  Now the loops are written in the more natural count-up
form.

Also, while being there, i made the logic in out_fdc() similar to the
logic in in_fdc().  The old implementation was a bit bogus anyway
since it first tested the DIO bit and only afterwards the RQM bit.
However, according to the description of the i82077, the DIO bit is
only guaranteed to be valid once the RQM bit is set.  Thus, the old
implementatoin would have had the chance to misbehave on a controller
that is implemented in accordance with the i82077 description (but is
not bug-for-bug compatible).

MFC after: 3 days

22 years agoTrivial language fixes.
Daniel Harris [Tue, 14 May 2002 21:09:05 +0000 (21:09 +0000)]
Trivial language fixes.

PR: 38015
Submitted by: Chris Pepper <pepper@mail.rockefeller.edu>

22 years agoMove MI stuff out of MD param.h files.
Poul-Henning Kamp [Tue, 14 May 2002 20:35:29 +0000 (20:35 +0000)]
Move MI stuff out of MD param.h files.

It can all still be overridden in the MD files should need suddenly arise.

22 years agoRemove the unused definitions of ctod() and dotc().
Poul-Henning Kamp [Tue, 14 May 2002 20:01:34 +0000 (20:01 +0000)]
Remove the unused definitions of ctod() and dotc().