]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoIfdefed SMP-only declarations.
bde [Fri, 13 Feb 1998 06:59:22 +0000 (06:59 +0000)]
Ifdefed SMP-only declarations.

26 years agoDon't generate warnings for test coverage checking when compiling LINT.
bde [Fri, 13 Feb 1998 06:49:16 +0000 (06:49 +0000)]
Don't generate warnings for test coverage checking when compiling LINT.
Generate code instead.

26 years agoUpdate timer0_prescaler_count before calling hardclock() while timer0
bde [Fri, 13 Feb 1998 06:33:16 +0000 (06:33 +0000)]
Update timer0_prescaler_count before calling hardclock() while timer0
is "acquired".  This fixes a TSC biasing error of about 10 msec when
pcaudio is active.

Update `time' before calling hardclock() when timer0 is being released.
This is not known to be important.

Added some delays in writertc().  Efficiency is not critical here, unlike
in rtcin(), and we already use conservative delays there.

Don't touch the hardware when machdep.i8254_freq is being changed but
the maximum count wouldn't change.  This fixes jitter of up to 10 msec
for most small adjustments to machdep.i8254_freq.  When the maximum
count needs to change, the hardware should be adjusted more carefully.

26 years agoIfdefed some npx code. npx should be optional again.
bde [Fri, 13 Feb 1998 05:30:18 +0000 (05:30 +0000)]
Ifdefed some npx code.  npx should be optional again.

26 years agoFixed missing privilege checking and off-by-1 bounds checking in
bde [Fri, 13 Feb 1998 05:25:37 +0000 (05:25 +0000)]
Fixed missing privilege checking and off-by-1 bounds checking in
i386_set_ioperm().  Don't use a magic number for the bound.

Fixed missing bounds checking in i386_get_ioperm().  Don't use a
magic number for the bound elsewhere in this function.

Removed some bogus initializers.

26 years agoConverted putfsent() to Lite2 mount interface - don't use numeric
bde [Fri, 13 Feb 1998 04:54:27 +0000 (04:54 +0000)]
Converted putfsent() to Lite2 mount interface - don't use numeric
filesystem types.

26 years agoDescribe signal handling. Don't describe the old implementation. Don't
bde [Fri, 13 Feb 1998 04:44:49 +0000 (04:44 +0000)]
Describe signal handling.  Don't describe the old implementation.  Don't
define `microsecond'.  Cleaned up English.

Obtained from: mostly from sleep.3

26 years agoClose PR #2206: fix the services.byname target so that it can handle
wpaul [Fri, 13 Feb 1998 03:38:41 +0000 (03:38 +0000)]
Close PR #2206: fix the services.byname target so that it can handle
/etc/services entries with any protocol instead of just udp and tcp.
Rather thani having the awk script explicitly search for 'udp' or 'tcp'
in the second field using index(), use split() to break up the field
at the '/' character if it exists, which extracts the protocol from
the field no matter what it is.

PR: 2206

26 years agoDescribe signal handling. Don't describe the old implementation. Cleaned
bde [Fri, 13 Feb 1998 03:34:11 +0000 (03:34 +0000)]
Describe signal handling.  Don't describe the old implementation.  Cleaned
up English.

Obtained from: mostly from NetBSD

26 years agoUncommit the generated file key_prot.h. Install it from where it
bde [Fri, 13 Feb 1998 03:10:28 +0000 (03:10 +0000)]
Uncommit the generated file key_prot.h.  Install it from where it
is generated.  It must be installed in both /usr/include/rpc/ and
/usr/include/rpcsvc/ for historical reasons.  The generated version
was once missing ANSI prototypes because the wrong flags were passed
to rpcgen, but that is fixed now.  The committed version had `#pragma
indent' which gratuitously broke K&R support.  Apart from this, all
versions before and after this commit are identical.

26 years agoFixed printing of %fs and %gs for live kernels.
bde [Fri, 13 Feb 1998 02:45:26 +0000 (02:45 +0000)]
Fixed printing of %fs and %gs for live kernels.

Only print the current pcb on startup.  Printing it every time a utility
routine was called messed up the register dump for live kernels.

26 years agoEnsure that the linker sets for commands exist by putting a standard
bde [Fri, 13 Feb 1998 02:19:29 +0000 (02:19 +0000)]
Ensure that the linker sets for commands exist by putting a standard
command in each of them.  This removes the need for hard-to-configure
dummy instantiations of the sets.

26 years agoMany security improvements from OpenBSD:
imp [Fri, 13 Feb 1998 02:13:24 +0000 (02:13 +0000)]
Many security improvements from OpenBSD:
implement mkdtemp
improve man page for mk*temp
use arc4random to seed extra XXX's randomly
Optionally warn of unsafe mktemp uses
From various commits by theo de raadt and Todd Miller.
Obtained from: OpenBSD

This should go into 2.2 after a testing period.

26 years agoFixes from Jeremy Allison and Terry Lambert for pthreads:
julian [Fri, 13 Feb 1998 01:27:34 +0000 (01:27 +0000)]
Fixes from Jeremy Allison and Terry Lambert for pthreads:

specifically:
uthread_accept.c: Fix for inherited socket not getting correct entry in
                  pthread flags.
uthread_create.c: Fix to allow pthread_t pointer return to be null if
                  caller doesn't care about return.
uthread_fd.c: Fix for return codes to be placed into correct errno.
uthread_init.c: Changes to make gcc-2.8 thread aware for exception stack
                frames (WARNING: This is #ifdef'ed out by default and is
different from the Cygnus egcs fix).
uthread_ioctl.c: Fix for blocking/non-blocking ioctl.
uthread_kern.c: Signal handling fixes (only one case left to fix,
                that of an externally sent SIGSEGV and friends -
a fairly unusual case).
uthread_write.c: Fix for lock of fd - ask for write lock, not read/write.
uthread_writev.c: Fix for lock of fd - ask for write lock, not read/write.

Pthreads now works well enough to run the LDAP and ACAPD(with the gcc 2.8 fix)
sample implementations.

26 years agoFixed configuration and linkage of ext2_checkoverlap().
bde [Fri, 13 Feb 1998 00:28:40 +0000 (00:28 +0000)]
Fixed configuration and linkage of ext2_checkoverlap().

26 years agoRemoved unnecessary dependencies on KERNEL and DIAGNOSTIC. This was
bde [Fri, 13 Feb 1998 00:20:36 +0000 (00:20 +0000)]
Removed unnecessary dependencies on KERNEL and DIAGNOSTIC.  This was
more useful when opt_diagnostic.h had to be included.

26 years agoFixed a comment. The module size is (unfortunately) in K, but it is not
bde [Thu, 12 Feb 1998 23:58:54 +0000 (23:58 +0000)]
Fixed a comment.  The module size is (unfortunately) in K, but it is not
in pages.

26 years agoFixed disordering of MLINKS in previous commit. Fixed old disorder in
bde [Thu, 12 Feb 1998 23:52:23 +0000 (23:52 +0000)]
Fixed disordering of MLINKS in previous commit.  Fixed old disorder in
MLINKS.

26 years agoFixed staticization (the behaviour is undefined when something with
bde [Thu, 12 Feb 1998 23:16:12 +0000 (23:16 +0000)]
Fixed staticization (the behaviour is undefined when something with
external linkage is redeclared as static).

26 years agoUnstaticized.
bde [Thu, 12 Feb 1998 22:33:33 +0000 (22:33 +0000)]
Unstaticized.

26 years agoAdd support for VESA mode 0x102 (800x600x4) in syscons. You can activate
phk [Thu, 12 Feb 1998 22:05:08 +0000 (22:05 +0000)]
Add support for VESA mode 0x102 (800x600x4) in syscons.  You can activate
this using option "-b" to the boot blocks.  It is smartest to compile
a font into your kernel (See LINT), but not mandatory, but apart from
the cursor you will see nothing on the screen until you load a font.

This mode allows XF86_VGA16 to run in 800x600 mode on otherwise unsupported
graphics hardware.

A number of buglets in the cursor handling in syscons may become
visible this way.

26 years agoFixed initialization of the 4MB page. Kernels larger than about 2.75MB
bde [Thu, 12 Feb 1998 22:00:01 +0000 (22:00 +0000)]
Fixed initialization of the 4MB page.  Kernels larger than about 2.75MB
(from _btext to _end) crashed in pmap_bootstrap().  Smaller kernels
worked accidentally.

26 years agoOnly use the i586-optimized copying and zeroing functions if they are
bde [Thu, 12 Feb 1998 21:41:10 +0000 (21:41 +0000)]
Only use the i586-optimized copying and zeroing functions if they are
actually faster (more than 20% faster for zeroing 1 MB at boot time).
This fixes pessimized copying and zeroing on K6's and perhaps on other
CPUs that are misclassified as i586's.

26 years agoFix a white-space nit which I happened to notice.
phk [Thu, 12 Feb 1998 20:52:24 +0000 (20:52 +0000)]
Fix a white-space nit which I happened to notice.

26 years agoAdd display of type KD_PIXEL.
phk [Thu, 12 Feb 1998 20:47:39 +0000 (20:47 +0000)]
Add display of type KD_PIXEL.

26 years agoFix _listmatch() again so that it works with group lists containing only
wpaul [Thu, 12 Feb 1998 19:29:05 +0000 (19:29 +0000)]
Fix _listmatch() again so that it works with group lists containing only
one group. Thanks to Dirk Froemberg for supplying a patch for this. I will
be closing out the PR and moving this to the 2.2.5 branch later: my login
sessions to freefall from Columbia are ridiculously spotty today.

PR: 5610
Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>

26 years agoMake NO_LKM a new-style option.
eivind [Thu, 12 Feb 1998 18:02:07 +0000 (18:02 +0000)]
Make NO_LKM a new-style option.

Forgotten by: dima

26 years agoAdd an entry for the Brazilian keymap with accent key definitions
yokota [Thu, 12 Feb 1998 17:53:19 +0000 (17:53 +0000)]
Add an entry for the Brazilian keymap with accent key definitions
in the keymap menu.

26 years ago- Add Brazilian keymap with accent definitions.
yokota [Thu, 12 Feb 1998 17:06:47 +0000 (17:06 +0000)]
- Add Brazilian keymap with accent definitions.
- Better Portuguese language support for kbdmap(1).
PR: misc/5723
Submitted by: Daniel C. Sobral

26 years agoOops, sorry, a #define line for my debugging session slipped into
yokota [Thu, 12 Feb 1998 16:35:11 +0000 (16:35 +0000)]
Oops, sorry, a #define line for my debugging session slipped into
the last commit ;-<

26 years agoSync with sys/i386/isa/syscons.c revision 1.251.
kato [Thu, 12 Feb 1998 08:16:34 +0000 (08:16 +0000)]
Sync with sys/i386/isa/syscons.c revision 1.251.

26 years agoSync with sys/i386/conf/options.i386 revision 1.72.
kato [Thu, 12 Feb 1998 08:15:51 +0000 (08:15 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.72.

26 years agoReplace non-existent ip_forwarding with ipforwarding
ache [Thu, 12 Feb 1998 03:37:45 +0000 (03:37 +0000)]
Replace non-existent ip_forwarding with ipforwarding
(compilation error)

26 years ago- Bump the minor # due to the addition of the stringlist functions.
nate [Thu, 12 Feb 1998 01:44:53 +0000 (01:44 +0000)]
- Bump the minor # due to the addition of the stringlist functions.

Reviewed by: asami

26 years agoExplicitly describe the rules the shell uses to search for a file
jdp [Thu, 12 Feb 1998 01:23:11 +0000 (01:23 +0000)]
Explicitly describe the rules the shell uses to search for a file
sourced by the "." command.

26 years agoAlter ipfw's behavior with respect to fragmented packets when the packet
alex [Thu, 12 Feb 1998 00:57:06 +0000 (00:57 +0000)]
Alter ipfw's behavior with respect to fragmented packets when the packet
offset is non-zero:

  - Do not match fragmented packets if the rule specifies a port or
    TCP flags
  - Match fragmented packets if the rule does not specify a port and
    TCP flags

Since ipfw cannot examine port numbers or TCP flags for such packets,
it is now illegal to specify the 'frag' option with either ports or
tcpflags.  Both kernel and ipfw userland utility will reject rules
containing a combination of these options.

BEWARE: packets that were previously passed may now be rejected, and
vice versa.

Reviewed by: Archie Cobbs <archie@whistle.com>

26 years agopwd_mkdb option '-c' was renamed to -C some weeks ago.
wosch [Wed, 11 Feb 1998 23:31:24 +0000 (23:31 +0000)]
pwd_mkdb option '-c' was renamed to -C some weeks ago.

PR: bin/5715
Submitted by:  dannyman <dannyman@arh0300.urh.uiuc.edu>

26 years agoI'm not sure whether this is a correct way to do it,
dima [Wed, 11 Feb 1998 20:47:55 +0000 (20:47 +0000)]
I'm not sure whether this is a correct way to do it,
but here's a new kernel option - "NO_LKM"

If anyone has better ideas - please let me know.

26 years agoFix a && that should be an &.
dg [Wed, 11 Feb 1998 20:06:48 +0000 (20:06 +0000)]
Fix a && that should be an &.
Reviewed by: "John S. Dyson" <dyson@FreeBSD.ORG>
Submitted by: jwd@unx.sas.com (John W. DeBoskey)

26 years agoRemoving boggle due to trademark violations.
jdp [Wed, 11 Feb 1998 19:58:04 +0000 (19:58 +0000)]
Removing boggle due to trademark violations.

26 years agoDisable boggle. It is being removed due to trademark violations.
jdp [Wed, 11 Feb 1998 19:52:53 +0000 (19:52 +0000)]
Disable boggle.  It is being removed due to trademark violations.

26 years agoFix a bug in the database handle caching. This has to do with the way the
wpaul [Wed, 11 Feb 1998 19:15:32 +0000 (19:15 +0000)]
Fix a bug in the database handle caching. This has to do with the way the
underlying database code works. When dealing with first/next queries, you
have the notion of a database 'cursor,' which is essentially a file pointer
for the database. To select the first entry, you do a fetch with the
R_FIRST flag set, then you can use the R_NEXT flag to enumerate the other
entries in the database. Unfortunately, doing a direct fetch with no flag
does _not_ set the 'cursor,' so you can't do a direct fetch and then
enumerate the table from there.

The bug is that cached handles generated as the result of a YPPROC_MATCH
were being treated as though they were the same as handles generated by
a YPPROC_FIRST, which is not the case. The manifestation is that if you
do a 'ypmatch first-key-in-map map' followed by a yp_first()/yp_next()
pair, the yp_first() and yp_next() both return the first key in the
table, which makes the entry appear to be duplicated.

A couple smaller things since I'm here:

- yp_main.c and yp_error.c both have a global 'int debug' in them.
  For some reason, our cc/ld doesn't flag this as a multiply defined
  symbol even though it should. Removed the declaration from yp_main.c;
  we want the one in yp_error.c.

- The Makefile wasn't installing ypinit in the right place.

26 years agoOnly forward source routed packets when ip_forwarding is set to 1.
guido [Wed, 11 Feb 1998 18:43:42 +0000 (18:43 +0000)]
Only forward source routed packets when ip_forwarding is set to 1.
This means that a FreeBSD will only forward source routed packets
when both net.inet.ip.forwarding and net.inet.ip.sourceroute are set
to 1.

You can hit me now ;-)
Submitted by: Thomas Ptacek

26 years agoRemove description on the flags for psm. They are adequately
yokota [Wed, 11 Feb 1998 17:37:55 +0000 (17:37 +0000)]
Remove description on the flags for psm.  They are adequately
documented in the man page for psm(4).

26 years agoAdded SC_DISABLE_REBOOT and SC_MOUSE_CHAR.
yokota [Wed, 11 Feb 1998 16:22:30 +0000 (16:22 +0000)]
Added SC_DISABLE_REBOOT and SC_MOUSE_CHAR.

26 years agoClean up comments describing Luigi's alternate sound driver.
jkh [Wed, 11 Feb 1998 15:36:46 +0000 (15:36 +0000)]
Clean up comments describing Luigi's alternate sound driver.

26 years ago- Move the mouse cursor to the center of the screen after video
yokota [Wed, 11 Feb 1998 15:02:40 +0000 (15:02 +0000)]
- Move the mouse cursor to the center of the screen after video
mode switch in ioctl.
Possibly related to PR: kern/4271

- A kludge: initialize scp->xpixel and ypixel even in the text mode.
If the console enters the `unknown' graphics mode via the ioctl KDSETMODE
(KD_GRAPHICS), these fields are not set (because syscons cannot know
the correct values), but set_mouse_pos() need to refer to these field
to adjust the mouse position.

- Turn off MOUSE_VISIBLE when switching video mode by ioctl.

- another new option: SC_MOUSE_CHAR
Define the first character code of four consecutive codes to be used for
the mouse cursor.  Default codes are 0xd0 through 0xd3.  Beware that
if you decide to use any codes outside the range of 0xc0-0xdf,
the mouse cursor may not look good, because of the way VGA displays
characters in 9-dot-wide character cells.
Requested by several people.

(This patch was tested by a person who recently reported, in the -current
ML, a page fault problem in the kernel (draw_mouse_iamge()) after
X server shutdown. The patch cured his problem.)

26 years ago- A new semaphore: font_loading_in_progress.
yokota [Wed, 11 Feb 1998 15:00:24 +0000 (15:00 +0000)]
- A new semaphore: font_loading_in_progress.
Don't touch/update the screen while manipulating font data.
Possibly related to PR: kern/4271

- Set up VGA in alphanumeric mode rather than graphics mode when
loading font into video memory. This will drastically reduce flicker.
PR: bin/2977

- Set up scp->font_size properly during video mode switch caused by
ioctl.

26 years ago- Break scrn_timer() into two pieces. Now screen update is done in a
yokota [Wed, 11 Feb 1998 14:58:15 +0000 (14:58 +0000)]
- Break scrn_timer() into two pieces. Now screen update is done in a
separate routine: scupdate() called from scrn_timer().

- Make sure that the screen is updated for the low-level console
routines sccngetc() and sccncheckc().  A new routine, sccnupdate(),
is introduced and will call scupdate() above.
Requested by: bde and msmith

OKed by: sos

26 years ago- Ignore KBD_RAW_MODE and KBD_CODE_MODE in scgetc() when it's called
yokota [Wed, 11 Feb 1998 14:56:02 +0000 (14:56 +0000)]
- Ignore KBD_RAW_MODE and KBD_CODE_MODE in scgetc() when it's called
from the low-level console routines sccngetc() and sccncheckc().
Submitted by: bde (a long time ago)

- Don't try to ring bell and immediately return from do_bell() while
device probe is in progress at boot time; the timeout queue is not
functional yet.
PR: kern/2424

- Stop running the screen saver after panic() is called: check
if `panicstr' is non-NULL during scrn_timer().
PR: kern/5314

- A new option: SC_DISABLE_REBOOT
The reboot key (usually Ctl-Alt-Del) will be ignored if this option
is defined. You may still have the reboot key defined in the keymap and
it won't cause error when the keymap is loaded, but it will be quietly
treated as nop.

OKed by: sos

26 years agospelling
eivind [Wed, 11 Feb 1998 06:34:38 +0000 (06:34 +0000)]
spelling

Obtained from:  OpenBSD (src/bin/chio/chio.c rev 1.7) by todd@openbsd.org

26 years agoReplace bogus "@(#)err.h 8.1 (Berkeley) 6/2/93" with RCS Id keyword.
jdp [Wed, 11 Feb 1998 05:19:10 +0000 (05:19 +0000)]
Replace bogus "@(#)err.h 8.1 (Berkeley) 6/2/93" with RCS Id keyword.
Somebody must have blindly copied the leader comment when they
created this file.

26 years agoRemove the include of <dlfcn.h> from crt0.c; it is not needed now
jdp [Wed, 11 Feb 1998 04:57:25 +0000 (04:57 +0000)]
Remove the include of <dlfcn.h> from crt0.c; it is not needed now
that the dl* trampolines have been moved into libc.

Move dlfcn.h from src/lib/csu/i386 into src/include.  Nothing in
src/lib/csu/i386 uses it any more.

26 years agoFix printing for bytes read > 4G.
asami [Wed, 11 Feb 1998 02:23:31 +0000 (02:23 +0000)]
Fix printing for bytes read > 4G.

Reviewed by: bde

26 years agoDe-staticize enough to make all the LKMs work again. Add comments where
eivind [Wed, 11 Feb 1998 01:46:50 +0000 (01:46 +0000)]
De-staticize enough to make all the LKMs work again.  Add comments where
deemed relevant.

26 years agoInclude SIMPLELOCK_DEBUG functions even if SMP if compiling LINT; give
eivind [Wed, 11 Feb 1998 00:05:26 +0000 (00:05 +0000)]
Include SIMPLELOCK_DEBUG functions even if SMP if compiling LINT; give
an error for the combination if _not_ compiling LINT.

26 years agoMove handle_signals() to before the FD_SETs. handle_signals()
brian [Tue, 10 Feb 1998 22:33:43 +0000 (22:33 +0000)]
Move handle_signals() to before the FD_SETs.  handle_signals()
may result in a our modem closing after it's made its way into
the fd_set, resulting in a program exit (with select(): bad file
descriptor) rather than a dropped link.

26 years agoBack out statification and restore a declaration that got lost.
eivind [Tue, 10 Feb 1998 21:51:00 +0000 (21:51 +0000)]
Back out statification and restore a declaration that got lost.

26 years agoDo signal handlig he Posix way
guido [Tue, 10 Feb 1998 20:05:15 +0000 (20:05 +0000)]
Do signal handlig he Posix way
Obtained from: NetBSD (after complains from Bruce)

26 years agoForm device names correctly with new unit# syntax.
jkh [Tue, 10 Feb 1998 18:43:11 +0000 (18:43 +0000)]
Form device names correctly with new unit# syntax.

26 years agoTotally change the way that devices are made in the MFS and subsequently
jkh [Tue, 10 Feb 1998 18:31:27 +0000 (18:31 +0000)]
Totally change the way that devices are made in the MFS and subsequently
probed in sysinstall.  Rather than make template devices and use up lots
of inodes, also restricting the number of devices that can be dealt with,
mknod all necessary devices as necessary using built-in information.
This removes a number of constraints on the number and type of devices
that sysinstall can see.

26 years agoStaticize. (Diffs by me & and Simon in cooperation.)
eivind [Tue, 10 Feb 1998 17:36:44 +0000 (17:36 +0000)]
Staticize.  (Diffs by me & and Simon in cooperation.)

26 years agoFix warning after previous staticization.
eivind [Tue, 10 Feb 1998 17:30:26 +0000 (17:30 +0000)]
Fix warning after previous staticization.

26 years agoBe more verbose if we can't determine device major/minor.
jkh [Tue, 10 Feb 1998 17:19:12 +0000 (17:19 +0000)]
Be more verbose if we can't determine device major/minor.

26 years agoMove include of <machine/ipl.h> inside ifndef SMP where it is used, to
eivind [Tue, 10 Feb 1998 17:10:23 +0000 (17:10 +0000)]
Move include of <machine/ipl.h> inside ifndef SMP where it is used, to
avoid getting 'unused include file' warnings in the SMP case.

26 years agoDeleted unused variable.
kato [Tue, 10 Feb 1998 08:04:31 +0000 (08:04 +0000)]
Deleted unused variable.

26 years agoSync with sys/i386/i386/userconfig.c revision 1.102.
kato [Tue, 10 Feb 1998 08:03:42 +0000 (08:03 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.102.

26 years agoenvironment variables missing from ftpio(3) man page
jkh [Tue, 10 Feb 1998 07:01:51 +0000 (07:01 +0000)]
environment variables missing from ftpio(3) man page

PR: 5691
Submitted by: archie@whistle.com

26 years agoUndo UN_KLOCK hack except union_allocvp(). Now, vput() doesn't lock
kato [Tue, 10 Feb 1998 03:32:07 +0000 (03:32 +0000)]
Undo UN_KLOCK hack except union_allocvp().  Now, vput() doesn't lock
the vnode.

26 years agoAdded entry of 16-bits bus lnc card.
kato [Tue, 10 Feb 1998 03:25:08 +0000 (03:25 +0000)]
Added entry of 16-bits bus lnc card.

Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>

26 years agoSupport C-NET(98)S ethernet card (PC-98 only).
kato [Tue, 10 Feb 1998 03:22:20 +0000 (03:22 +0000)]
Support C-NET(98)S ethernet card (PC-98 only).

Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>

26 years agoFixed vnode interlock handling.
kato [Tue, 10 Feb 1998 02:54:24 +0000 (02:54 +0000)]
Fixed vnode interlock handling.

Reviewed by: Bruce Evans <bde@zeta.org.au>
             Tor Egge <Tor.Egge@idi.ntnu.no>

26 years agoStaticize.
kato [Tue, 10 Feb 1998 02:51:32 +0000 (02:51 +0000)]
Staticize.

26 years agoget default firewall type from rc.conf
adam [Tue, 10 Feb 1998 01:45:57 +0000 (01:45 +0000)]
get default firewall type from rc.conf

26 years agoAdd entry for Eiger 33.6K modem
msmith [Tue, 10 Feb 1998 01:01:35 +0000 (01:01 +0000)]
Add entry for Eiger 33.6K modem
Submitted by: John Goerzen <jgoerzen@alexanderwohl.complete.org>

26 years agoDocument the enhanced behaviour of the '-c' flag.
msmith [Tue, 10 Feb 1998 00:17:44 +0000 (00:17 +0000)]
Document the enhanced behaviour of the '-c' flag.

26 years agoIf the kernel was built with USERCONFIG_BOOT, and the '-c' (RB_CONFIG) flag
msmith [Tue, 10 Feb 1998 00:10:35 +0000 (00:10 +0000)]
If the kernel was built with USERCONFIG_BOOT, and the '-c' (RB_CONFIG) flag
was supplied to the kernel when booting, ignore any 'quit' commands in the
userconfig script.

This provides an escape mechanism whereby a broken userconfig script may
be worked around.

26 years agoAll our options are new-style now - enable the warning if unrecognized
eivind [Mon, 9 Feb 1998 23:59:51 +0000 (23:59 +0000)]
All our options are new-style now - enable the warning if unrecognized
(that is, old-style) options are found.

26 years agoUn-staticize.
peter [Mon, 9 Feb 1998 16:20:42 +0000 (16:20 +0000)]
Un-staticize.

26 years agoSync with sys/i386/isa/clock.c and spker.c revision 1.109 and 1.32,
kato [Mon, 9 Feb 1998 15:05:44 +0000 (15:05 +0000)]
Sync with sys/i386/isa/clock.c and spker.c revision 1.109 and 1.32,
resplectivley.

26 years agoSync with sys/i386/i386/machdep.c revision 1.289.
kato [Mon, 9 Feb 1998 15:04:39 +0000 (15:04 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.289.

26 years agoNULL and UMAP filesystems also unstable.
kato [Mon, 9 Feb 1998 15:03:38 +0000 (15:03 +0000)]
NULL and UMAP filesystems also unstable.

26 years agoPR: 1708, 5448
danny [Mon, 9 Feb 1998 11:47:51 +0000 (11:47 +0000)]
PR: 1708, 5448
Remove wtmp

26 years agoPR: 1708, 5448
danny [Mon, 9 Feb 1998 11:36:43 +0000 (11:36 +0000)]
PR: 1708, 5448
Reviewed by: Alex Nash, Steve Price
Enhance wtmp monthly handling

26 years agoCount _all_ rejects, not made by check_mail and check_relay only.
wosch [Mon, 9 Feb 1998 11:28:59 +0000 (11:28 +0000)]
Count _all_ rejects, not made by check_mail and check_relay only.
There can be private rules which produce rejects.
Pointed out by: áÎÄÒÅÊ þÅÒÎÏ×

26 years agoAdjustments for ccd devices:
cwt [Mon, 9 Feb 1998 08:41:49 +0000 (08:41 +0000)]
Adjustments for ccd devices:

1) Resulting special files now in group operator.  (Reviewed by bde)
2) Use $disk_umask when creating ccd device specials.  (Suggested by
   bde)
3) No longer create rccd{n}.ctl; ccd's are not necessarily scsi.
   (Suggested by bde)
4) No need to split short lines.  (Suggested by bde)

26 years agoStaticize.
eivind [Mon, 9 Feb 1998 06:11:36 +0000 (06:11 +0000)]
Staticize.

26 years agoMove the trampolines for dlopen and related functions from crt0.o
jdp [Mon, 9 Feb 1998 06:05:25 +0000 (06:05 +0000)]
Move the trampolines for dlopen and related functions from crt0.o
into libc.  This reduces the size of every dynamically linked
executable by 248 bytes, and it reduces the size of static executables
by a lesser amount.  It also eliminates some global namespace
pollution.

With this change in place, the source for dlfcn.h should probably
be moved to "/usr/src/include".  I'll save that for another day.

Compatibility note:  Programs which use dlopen, if compiled on
systems with this change, will not run on systems with a libc from
prior to this change.  Very few programs use dlopen, so I think
that is OK.

26 years agoRemove warnings from f00f_hack.
eivind [Mon, 9 Feb 1998 04:45:53 +0000 (04:45 +0000)]
Remove warnings from f00f_hack.

26 years agoAdd #include "opt_devfs.h".
eivind [Mon, 9 Feb 1998 02:31:47 +0000 (02:31 +0000)]
Add #include "opt_devfs.h".

26 years agoUpdate to reflect the current Jewish calendar.
steve [Sun, 8 Feb 1998 22:57:59 +0000 (22:57 +0000)]
Update to reflect the current Jewish calendar.

PR: 5683
Submitted by: jgrosch@MooseRiver.com

26 years agoRemove some ancient cruft discovered during a recent code review.
jkh [Sun, 8 Feb 1998 20:18:19 +0000 (20:18 +0000)]
Remove some ancient cruft discovered during a recent code review.

26 years agoFix an argument to vn_lock. It appears that alot of the vn_lock usage
dyson [Sun, 8 Feb 1998 14:55:13 +0000 (14:55 +0000)]
Fix an argument to vn_lock.  It appears that alot of the vn_lock usage
is a bit undisciplined, and should be checked carefully.

26 years agoReduce the sleep(1) inbetween each diff, as suggested by bde some time
peter [Sun, 8 Feb 1998 06:48:37 +0000 (06:48 +0000)]
Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago.  The real fix is rather large.

26 years agoFix a problem with vn_lock in fsync.
dyson [Sun, 8 Feb 1998 01:41:33 +0000 (01:41 +0000)]
Fix a problem with vn_lock in fsync.

26 years agoChange documentation for `make package' (Thanks (indirectly) O'Brien!).
hoek [Sat, 7 Feb 1998 21:07:51 +0000 (21:07 +0000)]
Change documentation for `make package' (Thanks (indirectly) O'Brien!).

Document `make readmes'.  This is getting old, and the intent is to
stop questions regarding it; however, I have a suspicion documenting it
will work counter to ending questions about it and am mentally prepared
to see it go-ooooooooo.......

26 years ago- Removed typo in Copyright and added Id.
nate [Sat, 7 Feb 1998 20:41:20 +0000 (20:41 +0000)]
- Removed typo in Copyright and added Id.

26 years agoPostpone the test for non-emptiness of $PROG, $OBJS and $CLEANFILES
helbig [Sat, 7 Feb 1998 17:19:06 +0000 (17:19 +0000)]
Postpone the test for non-emptiness of $PROG, $OBJS and $CLEANFILES
to ``shell time''. The previous version didn't work in
/usr/src7share/man/man4.
Reviewed by: bde

26 years agoWhen the vp is lcoked, vget() calls vfs_object_create() with
kato [Sat, 7 Feb 1998 08:44:31 +0000 (08:44 +0000)]
When the vp is lcoked, vget() calls vfs_object_create() with
waslocked = TRUE.  This change may fix lockmgr panic in umapfs/nullfs.

PR: 5634
Reviewed by: "John S. Dyson" <toor@dyson.iquest.net>
Suggested by: Bruce Evans <bde@zeta.org.au>

26 years agolocate(1) is no longer started by /etc/weekly.
alex [Sat, 7 Feb 1998 05:30:14 +0000 (05:30 +0000)]
locate(1) is no longer started by /etc/weekly.