]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoChange COM_LOCK/COM_UNLOCK to a regular mutex - still conditional on
Brian Somers [Mon, 7 May 2001 11:13:11 +0000 (11:13 +0000)]
Change COM_LOCK/COM_UNLOCK to a regular mutex - still conditional on
SMP being defined.

23 years agoCosmetics: .Dl -> .Li.
Ruslan Ermilov [Mon, 7 May 2001 07:42:56 +0000 (07:42 +0000)]
Cosmetics: .Dl -> .Li.

23 years agos/mtx_try_enter/mtx_trylock/
Dima Dorfman [Sun, 6 May 2001 22:04:17 +0000 (22:04 +0000)]
s/mtx_try_enter/mtx_trylock/

23 years agoMake the disk mini-layer check for and handle zero-length transfers
Poul-Henning Kamp [Sun, 6 May 2001 21:55:22 +0000 (21:55 +0000)]
Make the disk mini-layer check for and handle zero-length transfers
instead of the underlying drivers.

23 years agoMake LINT compile again.
Brian Somers [Sun, 6 May 2001 21:03:37 +0000 (21:03 +0000)]
Make LINT compile again.

Spotted by: phk

23 years agoActually biofinish(struct bio *, struct devstat *, int error) is more general
Poul-Henning Kamp [Sun, 6 May 2001 20:00:03 +0000 (20:00 +0000)]
Actually biofinish(struct bio *, struct devstat *, int error) is more general
than the bioerror().

Most of this patch is generated by scripts.

23 years agoIntroduce bioerror(struct bio*, int err, int complete);
Poul-Henning Kamp [Sun, 6 May 2001 18:57:08 +0000 (18:57 +0000)]
Introduce bioerror(struct bio*, int err, int complete);

23 years agoRemove unneeded devfs_badop()
Poul-Henning Kamp [Sun, 6 May 2001 17:40:34 +0000 (17:40 +0000)]
Remove unneeded devfs_badop()

Noticed by: rwatson

23 years agoFix return type of vop_stdputpages()
Poul-Henning Kamp [Sun, 6 May 2001 17:40:22 +0000 (17:40 +0000)]
Fix return type of vop_stdputpages()

Noticed by: rwatson

23 years agoFix a panic if MD devices were left half-created.
Poul-Henning Kamp [Sun, 6 May 2001 17:17:23 +0000 (17:17 +0000)]
Fix a panic if MD devices were left half-created.

XXX: the real bug is that devstat isn't part of the disk minilayer.

PR: 27158
Submitted by: Anders Nordby <anders@fix.no>

23 years agoAdd elf.h header back, its existance is an SVR4-ELF tradition.
David E. O'Brien [Sun, 6 May 2001 16:39:57 +0000 (16:39 +0000)]
Add elf.h header back, its existance is an SVR4-ELF tradition.
Our ELF hints bits are still a seperate file.

Requested by: jdp

23 years agoo First step in cleaning up authorization code for the posix4
Robert Watson [Sun, 6 May 2001 16:15:42 +0000 (16:15 +0000)]
o First step in cleaning up authorization code for the posix4
  implementation.  Move from direct uid 0 comparision to using suser_xxx()
  call with the same semantics.  Simplify CAN_AFFECT() macro as passed
  pcred was redundant.  The checks here still aren't "right", but they
  are probably "better".

Obtained from: TrustedBSD Project

23 years agoSGMLify now completed. Comments are invited. I hope not to have introduced
Wilko Bulte [Sun, 6 May 2001 13:43:24 +0000 (13:43 +0000)]
SGMLify now completed. Comments are invited. I hope not to have introduced
too much typos / errors during the conversion.

23 years agoUpdate the DiskOnChip firmware to OSAK version 4.1.
Poul-Henning Kamp [Sun, 6 May 2001 12:37:42 +0000 (12:37 +0000)]
Update the DiskOnChip firmware to OSAK version 4.1.

Sponsored by: Redfern Broadband Networks (www.RedFernNetworks.com)

23 years agoRestore I/O port resources to the condition before adv_isa_probe() is
Yoshihiro Takahashi [Sun, 6 May 2001 09:28:18 +0000 (09:28 +0000)]
Restore I/O port resources to the condition before adv_isa_probe() is
called.

Submitted by: yokota

23 years agoMerged from sys/i386/i386/machdep.c revision 1.448.
KATO Takenori [Sun, 6 May 2001 09:18:32 +0000 (09:18 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.448.

23 years agoUse correct resource id for bus_release_resource().
Yoshihiro Takahashi [Sun, 6 May 2001 08:33:29 +0000 (08:33 +0000)]
Use correct resource id for bus_release_resource().

23 years agoMove unused functions into #if 0 ... #endif.
Yoshihiro Takahashi [Sun, 6 May 2001 08:07:10 +0000 (08:07 +0000)]
Move unused functions into #if 0 ... #endif.

23 years agoMerged from sys/i386/conf/GENERIC revision 1.304.
Yoshihiro Takahashi [Sun, 6 May 2001 05:57:46 +0000 (05:57 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.304.

23 years agoMerged from sys/isa/fd.c revision 1.193.
Yoshihiro Takahashi [Sun, 6 May 2001 05:49:11 +0000 (05:49 +0000)]
Merged from sys/isa/fd.c revision 1.193.

23 years agoCreate temporary files securely using mkstemp() instead of mktemp()
Kris Kennaway [Sun, 6 May 2001 03:07:12 +0000 (03:07 +0000)]
Create temporary files securely using mkstemp() instead of mktemp()

Reviewed by: mikeh, audit@
MFC after: 1 week

23 years ago* fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
Kris Kennaway [Sun, 6 May 2001 03:03:45 +0000 (03:03 +0000)]
* fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
  creation.

* Tag the internal err() function with __printflike to allow checking
  for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
  sure it doesn't contain extraneous format operators.

Reviewed by:    mikeh
MFC after:      1 week

23 years agoMake soft updates option print more nicely and stop overflow of
Jordan K. Hubbard [Sun, 6 May 2001 02:52:45 +0000 (02:52 +0000)]
Make soft updates option print more nicely and stop overflow of
right-hand margin when set in 2nd column.  Also do a small amount of
code cleanup.

23 years agoWhen setting up the frame to invoke a signal handler, preserve the
Daniel Eischen [Sun, 6 May 2001 02:13:12 +0000 (02:13 +0000)]
When setting up the frame to invoke a signal handler, preserve the
%fs and %gs registers instead of setting them to known sane values.
%fs is going to be used for thread/KSE specific data by the new
threads library; we'll want it to be valid inside of signal handlers.

According to bde, Linux preserves the state of %fs and %gs when setting
up signal handlers, so there is precedent for doing this.

The same changes should be made in the Linux emulator, but when made,
they seem to break (at least one version of) the IBM JDK for Linux
(reported by drew).

Approved by: bde

23 years agoPerformance improvements for the ELF dynamic linker. These
John Polstra [Sat, 5 May 2001 23:21:05 +0000 (23:21 +0000)]
Performance improvements for the ELF dynamic linker.  These
particularly help programs which load many shared libraries with
a lot of relocations.  Large C++ programs such as are found in KDE
are a prime example.

While relocating a shared object, maintain a vector of symbols
which have already been looked up, directly indexed by symbol
number.  Typically, symbols which are referenced by a relocation
entry are referenced by many of them.  This is the same optimization
I made to the a.out dynamic linker in 1995 (rtld.c revision 1.30).

Also, compare the first character of a sought-after symbol with its
symbol table entry before calling strcmp().

On a PII/400 these changes reduce the start-up time of a typical
KDE program from 833 msec (elapsed) to 370 msec.

MFC after: 5 days

23 years agoLet ifconfig(8) catch up with the new functionality where
Jesper Skriver [Sat, 5 May 2001 19:53:20 +0000 (19:53 +0000)]
Let ifconfig(8) catch up with the new functionality where
one can specify addresses and netmask in CIDR notation.

Submitted by: Dima Dorfman <dima@unixfreak.org>

23 years agoAdd this header back, its existance is an SVR4-ELF tradition.
David E. O'Brien [Sat, 5 May 2001 19:40:26 +0000 (19:40 +0000)]
Add this header back, its existance is an SVR4-ELF tradition.
Our ELF hints bits are still a seperate file.

Requested by: jdp

23 years agoAdd q quirk for the old SONY SMO drive i've been sitting upon in my
Joerg Wunsch [Sat, 5 May 2001 14:42:06 +0000 (14:42 +0000)]
Add q quirk for the old SONY SMO drive i've been sitting upon in my
private tree for too long now.  This (pre SCSI-2) drive returns a
mystic code when the medium is inserted but not spun up.

23 years agosshd_config should still be keeping ssh host keys in /etc/ssh, not /etc.
Brian Feldman [Sat, 5 May 2001 13:48:13 +0000 (13:48 +0000)]
sshd_config should still be keeping ssh host keys in /etc/ssh, not /etc.

23 years agoFix markup
Brian Somers [Sat, 5 May 2001 09:02:24 +0000 (09:02 +0000)]
Fix markup

Spotted by: Jens Schweikhardt <schweikh@schweikhardt.net>

23 years agothis file has been unused for some time now
Cameron Grant [Sat, 5 May 2001 05:32:22 +0000 (05:32 +0000)]
this file has been unused for some time now

23 years agoUse &merged; entity where appropriate.
Dima Dorfman [Sat, 5 May 2001 02:37:46 +0000 (02:37 +0000)]
Use &merged; entity where appropriate.

23 years agoCorrect some spelling errors, a typo, and remove trailing whitespace.
Dima Dorfman [Sat, 5 May 2001 02:35:46 +0000 (02:35 +0000)]
Correct some spelling errors, a typo, and remove trailing whitespace.

23 years agoFinish committing _more_ somehow-uncommitted OpenSSH 2.9 updates.
Brian Feldman [Sat, 5 May 2001 01:12:45 +0000 (01:12 +0000)]
Finish committing _more_ somehow-uncommitted OpenSSH 2.9 updates.
(Missing Delta Brigade, tally-ho!)

23 years agoAdd -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzip
Kris Kennaway [Sat, 5 May 2001 01:10:13 +0000 (01:10 +0000)]
Add -z flag to pax to allow gzipping of archive output.  Add -z and -Z (gzip
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.

bzip2 functionality for further GNU tar compatibility will be added at a
later date.

Note in the manpage that -z is non-standard.

Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks

23 years agoAdd printf.9, and add links to tprintf.9 and uprintf.9.
Dima Dorfman [Sat, 5 May 2001 00:25:39 +0000 (00:25 +0000)]
Add printf.9, and add links to tprintf.9 and uprintf.9.

23 years agoUpdate to OpenSSH 2.9. Somehow this missed getting committed yesterday.
Brian Feldman [Fri, 4 May 2001 23:55:18 +0000 (23:55 +0000)]
Update to OpenSSH 2.9.  Somehow this missed getting committed yesterday.

23 years agoReplace an instance of the "watch" word with the ".Nm" macro: it is used to
Jimmy Olgeni [Fri, 4 May 2001 23:27:30 +0000 (23:27 +0000)]
Replace an instance of the "watch" word with the ".Nm" macro: it is used to
specify the command name.

23 years agoA manual page for the printf(), uprintf(), and tprintf() kernel functions.
Dima Dorfman [Fri, 4 May 2001 23:25:58 +0000 (23:25 +0000)]
A manual page for the printf(), uprintf(), and tprintf() kernel functions.

Submitted by: Andrew R. Reiter <arr@watson.org>
Reviewed by: jhb

23 years agoFinish disconnecting pam_ssh from the build.
Brian Feldman [Fri, 4 May 2001 20:40:53 +0000 (20:40 +0000)]
Finish disconnecting pam_ssh from the build.

23 years agoMove the check for a pending signals to after the thread has been
Daniel Eischen [Fri, 4 May 2001 20:37:07 +0000 (20:37 +0000)]
Move the check for a pending signals to after the thread has been
placed in any scheduling queue(s).  The process of dispatching
signals to a thread can change its state which will attempt to add
or remove the thread from any scheduling queue to which it belongs.
This can break some assertions if the thread isn't in the queue(s)
implied by its state.

When adding dispatching a pending signal to a thread, be sure to
remove the signal from the threads set of pending signals.

PR: 27035
Tested by: brian
MFC in: 1 week

23 years agoNew release notes: OpenSSH VersionAddendum, OpenSSH 2.9, new find(1)
Bruce A. Mah [Fri, 4 May 2001 20:06:44 +0000 (20:06 +0000)]
New release notes:  OpenSSH VersionAddendum, OpenSSH 2.9, new find(1)
predicates, PAM 0.75, nl(1).

23 years agoAdd infrastructure that allows to build docs and RELNOTESng without
Joerg Wunsch [Fri, 4 May 2001 19:50:34 +0000 (19:50 +0000)]
Add infrastructure that allows to build docs and RELNOTESng without
the need to also create the entire ports tree during a `make release'.
The main motivation behind this is that handling the ports tree still
takes a huge amount of time due to the large number of directories
involved, even on modern disks.

The solution is to establish a list of dependent ports that are
minimally required.  This list needs to be manually maintained in case
the doc ports toolchain changes, and has thus been broken out into a
separate file Makefile.inc.docports.  (release/Makefile has gotten
overly lengthy already anyway.)

Discussed with: bmah, nik
Reviewed by: bmah

23 years agoImplement slash/CIDR notation for IPv4 and IPv6 addresses.
Jesper Skriver [Fri, 4 May 2001 18:45:36 +0000 (18:45 +0000)]
Implement slash/CIDR notation for IPv4 and IPv6 addresses.

MFC after: 1 week

Reviewed by: phk
Obtained from: NetBSD

23 years agoRaise the SysV shared memory defaults to more reasonable values.
Matthew Dillon [Fri, 4 May 2001 18:43:19 +0000 (18:43 +0000)]
Raise the SysV shared memory defaults to more reasonable values.
Mainly increases the shared memory limit from 4M to 32M (approx).
Many more programs these days use SysV shared memory, especially X-related
programs.

23 years agoFix a bug in the pfind() changes due to confusing the process returned by
John Baldwin [Fri, 4 May 2001 18:13:11 +0000 (18:13 +0000)]
Fix a bug in the pfind() changes due to confusing the process returned by
pfind() ('pp') with the process being detached from ptrace.

Reported by: bde

23 years agoAdd nl(1)
Brian Somers [Fri, 4 May 2001 17:25:23 +0000 (17:25 +0000)]
Add nl(1)

PR: 27078
Obtained from: NetBSD

23 years ago- Move state about lock objects out of struct lock_object and into a new
John Baldwin [Fri, 4 May 2001 17:15:16 +0000 (17:15 +0000)]
- Move state about lock objects out of struct lock_object and into a new
  struct lock_instance that is stored in the per-process and per-CPU lock
  lists.  Previously, the lock lists just kept a pointer to each lock held.
  That pointer is now replaced by a lock instance which contains a pointer
  to the lock object, the file and line of the last acquisition of a lock,
  and various flags about a lock including its recursion count.
- If we sleep while holding a sleepable lock, then mark that lock instance
  as having slept and ignore any lock order violations that occur while
  acquiring Giant when we wake up with slept locks.  This is ok because of
  Giant's special nature.
- Allow witness to differentiate between shared and exclusive locks and
  unlocks of a lock.  Witness will now detect the case when a lock is
  acquired first in one mode and then in another.  Mutexes are always
  locked and unlocked exclusively.  Witness will also now detect the case
  where a process attempts to unlock a shared lock while holding an
  exclusive lock and vice versa.
- Fix a bug in the lock list implementation where we used the wrong
  constant to detect the case where a lock list entry was full.

23 years agoDon't hold the process mutex across calls to FREE() since the vm system
John Baldwin [Fri, 4 May 2001 16:13:28 +0000 (16:13 +0000)]
Don't hold the process mutex across calls to FREE() since the vm system
uses lockmgr locks and this leads to a lock order reversal.  At this point
in wait1() the process is not on any process lists or in the process tree,
so no other process should be able to find it or have a reference to it
anyways, so the locking is not needed.

23 years agoRefinement to revision 1.16 of ufs/ffs/ffs_snapshot.c to reduce
Kirk McKusick [Fri, 4 May 2001 05:49:28 +0000 (05:49 +0000)]
Refinement to revision 1.16 of ufs/ffs/ffs_snapshot.c to reduce
the amount of time that the filesystem must be suspended. The
current snapshot is elided as well as the earlier snapshots.

23 years agoFix the problem of some directory entries going missing when
Jonathan Lemon [Fri, 4 May 2001 05:19:22 +0000 (05:19 +0000)]
Fix the problem of some directory entries going missing when
read by the linux version of 'ls'.

Spotted by: rwatson

23 years agoDon't build with Kerberos 5 support for now. I'll fix this soon,
Brian Feldman [Fri, 4 May 2001 05:07:43 +0000 (05:07 +0000)]
Don't build with Kerberos 5 support for now.  I'll fix this soon,
but I don't want to break Kerberos 5 users' worlds too much in the
meantime.

23 years agoGet ssh(1) compiling with MAKE_KERBEROS5.
Brian Feldman [Fri, 4 May 2001 04:37:49 +0000 (04:37 +0000)]
Get ssh(1) compiling with MAKE_KERBEROS5.

23 years agoFollow the OpenSSH 2.9 upgrade with the infrastructure. Two new
Brian Feldman [Fri, 4 May 2001 04:21:25 +0000 (04:21 +0000)]
Follow the OpenSSH 2.9 upgrade with the infrastructure.  Two new
programs are now included: sftp(1) and ssh-keyscan(1).

23 years agoRemove obsoleted files.
Brian Feldman [Fri, 4 May 2001 04:15:22 +0000 (04:15 +0000)]
Remove obsoleted files.

23 years agoFix conflicts for OpenSSH 2.9.
Brian Feldman [Fri, 4 May 2001 04:14:23 +0000 (04:14 +0000)]
Fix conflicts for OpenSSH 2.9.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76259,
Brian Feldman [Fri, 4 May 2001 03:57:05 +0000 (03:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76259,
which included commits to RCS files with non-trunk default branches.

23 years agoSay "hi" to the latest in the OpenSSH series, version 2.9!
Brian Feldman [Fri, 4 May 2001 03:57:05 +0000 (03:57 +0000)]
Say "hi" to the latest in the OpenSSH series, version 2.9!

Happy birthday to: rwatson

23 years agoI've been meaning to take pam_ssh out of the base system for a while now.
Brian Feldman [Fri, 4 May 2001 03:53:48 +0000 (03:53 +0000)]
I've been meaning to take pam_ssh out of the base system for a while now.
Finally do it.

23 years agoMore RELNOTESng infrastructure fixup: The directory layout of
Bruce A. Mah [Thu, 3 May 2001 21:59:35 +0000 (21:59 +0000)]
More RELNOTESng infrastructure fixup:  The directory layout of
stylesheets (particularly with respect to translations) is now similar
to that of the doc/ tree.  Added a customization for HTML page footers
(this is the only reader-visible change).

23 years agoTotal hack to fix broken bootstrap. Add -I/usr/src/include at the tail
David E. O'Brien [Thu, 3 May 2001 21:37:06 +0000 (21:37 +0000)]
Total hack to fix broken bootstrap.  Add -I/usr/src/include at the tail
end of the include searching.  We really need a real fix for the issue of
which set of headers to use in compiling the cross-tools -- /usr/include,
or /usr/src/include.

23 years agoOff by one in counting the number of MIB entries.
Duncan Barclay [Thu, 3 May 2001 20:58:22 +0000 (20:58 +0000)]
Off by one in counting the number of MIB entries.

23 years agoThird take, still not finished SGMLifying. SGML is more wordy
Wilko Bulte [Thu, 3 May 2001 20:05:26 +0000 (20:05 +0000)]
Third take, still not finished SGMLifying. SGML is more wordy
than I anticipated :(

23 years ago They add the following commands:
Poul-Henning Kamp [Thu, 3 May 2001 18:05:35 +0000 (18:05 +0000)]
 They add the following commands:
   -anewer
   -cnewer
   -mnewer
   -okdir
   -newer[acm][acmt]

 With it, you can form queries like

     find . -newerct '1 minute ago' -print

 As an extra bonus, the program is ANSI-fied - the original version
 relies on some obscure features of K&R C.

(This PR was submitted in 1999, and the submittor has kept the patch
updated ever since, hats off for him guys, and how about you close a PR ??)

PR: 9374
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>

23 years agomake isdnd less verbose while calculating times: fix another message to be
Hellmuth Michaelis [Thu, 3 May 2001 15:18:50 +0000 (15:18 +0000)]
make isdnd less verbose while calculating times: fix another message to be
logged at DL_VALID instead at DL_MSG.

23 years agoadd nl_langinfo(3)
Alexey Zelkin [Thu, 3 May 2001 15:12:52 +0000 (15:12 +0000)]
add nl_langinfo(3)

23 years agoEliminate BUGS section. No one of listed bugs is applicable to FreeBSD-current
Alexey Zelkin [Thu, 3 May 2001 15:05:16 +0000 (15:05 +0000)]
Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-current
anymore.

23 years agoadd manpage for nl_langinfo(3)
Alexey Zelkin [Thu, 3 May 2001 15:02:50 +0000 (15:02 +0000)]
add manpage for nl_langinfo(3)

Reviewed by: ru

23 years agoDepollute headers now that the VM headers DTRT.
Mark Murray [Thu, 3 May 2001 11:49:44 +0000 (11:49 +0000)]
Depollute headers now that the VM headers DTRT.

23 years agoPutting sys/lockmgr.h in here allows us to depollute userland includes
Mark Murray [Thu, 3 May 2001 11:33:51 +0000 (11:33 +0000)]
Putting sys/lockmgr.h in here allows us to depollute userland includes
a bit.
OK'ed by: bde

23 years agoAvoid dividing by zero if kd->procbase->ki_structsize is uninitalised.
David Malone [Thu, 3 May 2001 11:26:46 +0000 (11:26 +0000)]
Avoid dividing by zero if kd->procbase->ki_structsize is uninitalised.
(I'm testing the numerator rather than the denominator, which looks
weird, but is the right thing to do here).

23 years agoUpdate for (Linux-)PAM 0.75
Mark Murray [Thu, 3 May 2001 10:55:48 +0000 (10:55 +0000)]
Update for (Linux-)PAM 0.75

23 years agoResolve conflicts.
Mark Murray [Thu, 3 May 2001 10:48:56 +0000 (10:48 +0000)]
Resolve conflicts.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76238,
Mark Murray [Thu, 3 May 2001 09:36:08 +0000 (09:36 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76238,
which included commits to RCS files with non-trunk default branches.

23 years agoVendor import Linux PAM 0.75
Mark Murray [Thu, 3 May 2001 09:36:08 +0000 (09:36 +0000)]
Vendor import Linux PAM 0.75

23 years agoRemove now obsolete check for root filesystems > cyl 1024. The boot
Jordan K. Hubbard [Thu, 3 May 2001 09:23:48 +0000 (09:23 +0000)]
Remove now obsolete check for root filesystems > cyl 1024.  The boot
loader can handle such cases.

Noted by: olgeni

23 years agoConvert vnode_pager_freepage() to vm_free_page().
Boris Popov [Thu, 3 May 2001 09:00:54 +0000 (09:00 +0000)]
Convert vnode_pager_freepage() to vm_free_page().

Forgotten by: alfred

23 years agoWrap around MALLOC_DECLARE() invocation with #ifdef.
Boris Popov [Thu, 3 May 2001 08:57:26 +0000 (08:57 +0000)]
Wrap around MALLOC_DECLARE() invocation with #ifdef.

23 years agolike i386, add inclusion of lock.h
Matt Jacob [Thu, 3 May 2001 06:33:33 +0000 (06:33 +0000)]
like i386, add inclusion of lock.h

23 years agoCorrect assignment of the resulting ACL allowing the mask entry to
Chris D. Faulhaber [Thu, 3 May 2001 03:17:44 +0000 (03:17 +0000)]
Correct assignment of the resulting ACL allowing the mask entry to
be properly set.

Obtained from: TrustedBSD Project

23 years ago* include/elf.h has been repo copied to include/elf-hints.h, and it no
David E. O'Brien [Thu, 3 May 2001 01:49:58 +0000 (01:49 +0000)]
* include/elf.h has been repo copied to include/elf-hints.h, and it no
  longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.

23 years agoAdd the new version.c to libssh.
Brian Feldman [Thu, 3 May 2001 00:45:03 +0000 (00:45 +0000)]
Add the new version.c to libssh.

23 years agoFix minor style issue from previous commit.
David E. O'Brien [Thu, 3 May 2001 00:35:53 +0000 (00:35 +0000)]
Fix minor style issue from previous commit.

23 years agoAdd a "VersionAddendum" configuration setting for sshd which allows
Brian Feldman [Thu, 3 May 2001 00:29:28 +0000 (00:29 +0000)]
Add a "VersionAddendum" configuration setting for sshd which allows
anyone to easily change the part of the OpenSSH version after the main
version number.  The FreeBSD-specific version banner could be disabled
that way, for example:

# Call ourselves plain OpenSSH
VersionAddendum

23 years agoBackout completely canonical lookup modifications.
Brian Feldman [Thu, 3 May 2001 00:26:47 +0000 (00:26 +0000)]
Backout completely canonical lookup modifications.

23 years agoFix $FreeBSD$ style.
David E. O'Brien [Wed, 2 May 2001 23:57:49 +0000 (23:57 +0000)]
Fix $FreeBSD$ style.

23 years ago* include/elf.h has been repo copied to include/elf-hints.h, and it no
David E. O'Brien [Wed, 2 May 2001 23:56:21 +0000 (23:56 +0000)]
* include/elf.h has been repo copied to include/elf-hints.h, and it no
  longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.

23 years agoRELNOTESng infrastructure fixes:
Bruce A. Mah [Wed, 2 May 2001 22:02:50 +0000 (22:02 +0000)]
RELNOTESng infrastructure fixes:

1.  There is now only one RELNOTESng stylesheet; the architecture-specific
stylesheets (to handle different values of the arch= attribute) are gone.

2.  Several Makefile variable definitions were factored into
doc.relnotes.mk.

Submitted by: dd

23 years agoCross reference recent TCP ISN fix to security advisory SA-01:39.
Bruce A. Mah [Wed, 2 May 2001 21:47:36 +0000 (21:47 +0000)]
Cross reference recent TCP ISN fix to security advisory SA-01:39.

23 years ago- Avoid circular `use Config', which may lead to random synax errors
Mark Murray [Wed, 2 May 2001 21:18:32 +0000 (21:18 +0000)]
- Avoid circular `use Config', which may lead to random synax errors
  produced by miniperl during buildworld phase.

- While at it, do loading of SelfLoader only when it is needed, and in
  place where it is needed.

Submitted by: tobez@tobez.org (who is doing way too much good work
and is in need of the Commit Bit punishment)

23 years agoSecond stage SGMLifying. More to follow.
Wilko Bulte [Wed, 2 May 2001 20:27:06 +0000 (20:27 +0000)]
Second stage SGMLifying. More to follow.

23 years agoAdd a missing free(3).
Yaroslav Tykhiy [Wed, 2 May 2001 19:07:46 +0000 (19:07 +0000)]
Add a missing free(3).

PR: bin/27001
Submitted by: alex <ml-freebsd-net@phobgate.de>,
Matthew Emmerton <matt@gsicomp.on.ca>

23 years agoHandle situations where we've already got a P2P interface address
Brian Somers [Wed, 2 May 2001 16:35:24 +0000 (16:35 +0000)]
Handle situations where we've already got a P2P interface address
of a/x -> b and then negotiate a/x -> c by simply expecting SIOCAIFADDR
to do the change.

This was broken by the last commit that optimised out the deletion and
re-addition of the same a/x -> b combination, and forgot to compare
the old/new destination addresses.

Conveniently enough, this problem didn't effect setups where the
default route goes via the ppp link, and most other setups don't
care what the the destination address is actually set to.  It broke
test environments where ppp connects to the local machine rather
badly though....

23 years agoGet IP multicast working on VLAN devices:
Bill Fenner [Wed, 2 May 2001 16:12:58 +0000 (16:12 +0000)]
Get IP multicast working on VLAN devices:

- Allocate zeroed memory in ether_resolvemulti() to prevent equal() from
  comparing garbage and determining that two otherwise-equal sockaddr_dls
  are different.
- Fill in all required fields of the sockaddr_dl
- Actually copy the multicast address into the sockaddr_dl when calling
  if_addmulti()
- Don't claim that we don't have a way to resolve layer 3 addresses into
  layer 2 addresses; use the ethernet way.

23 years agoMerged from sys/isa/sio.c revision 1.330.
KATO Takenori [Wed, 2 May 2001 14:02:16 +0000 (14:02 +0000)]
Merged from sys/isa/sio.c revision 1.330.

23 years agoMerged from sys/isa/fd.c revision 1.195.
KATO Takenori [Wed, 2 May 2001 13:59:03 +0000 (13:59 +0000)]
Merged from sys/isa/fd.c revision 1.195.

23 years agoMerged from sys/i386/isa/npx.c revisions 1.96 and 1.97.
KATO Takenori [Wed, 2 May 2001 13:56:50 +0000 (13:56 +0000)]
Merged from sys/i386/isa/npx.c revisions 1.96 and 1.97.

23 years agoMerged from sys/i386/isa/clock.c revisions 1.172 and 1.173.
KATO Takenori [Wed, 2 May 2001 13:51:49 +0000 (13:51 +0000)]
Merged from sys/i386/isa/clock.c revisions 1.172 and 1.173.

23 years agoMerged the rest of changes in sys/i386/i386/machdep.c revision 1.447.
KATO Takenori [Wed, 2 May 2001 13:48:39 +0000 (13:48 +0000)]
Merged the rest of changes in sys/i386/i386/machdep.c revision 1.447.

23 years agoFix the rmuser script to correctly determine if a user does not exist.
Adrian Chadd [Wed, 2 May 2001 13:30:42 +0000 (13:30 +0000)]
Fix the rmuser script to correctly determine if a user does not exist.

PR: 26674