]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoUse unique sleep message strings.
bde [Mon, 27 Oct 1997 15:33:04 +0000 (15:33 +0000)]
Use unique sleep message strings.

26 years agoUse 127 instead of CHAR_MAX for the limit on the sequence count. The
bde [Mon, 27 Oct 1997 15:26:23 +0000 (15:26 +0000)]
Use 127 instead of CHAR_MAX for the limit on the sequence count.  The
limit doesn't have anything to do with characters.  The count mainly
needs to fit in the VOP_READ() ioflag after being left shifted by 16.

Moved vn_lock() before vn_closefile().  vn_lock() was mismerged from
Lite2.

Removed some gratuitous braces.

26 years agoUse bread() instead of cluster_read() for reading the last block
bde [Mon, 27 Oct 1997 14:55:49 +0000 (14:55 +0000)]
Use bread() instead of cluster_read() for reading the last block
in a file.  There was a (harmless, I think) off-by-1 error.  This
was fixed in ufs long ago (rev.1.21 of ufs_readwrite.c) but not
in cd9660.

cd9660_read() has stagnated in many other ways.  It is closer to
the Net/2 ufs_read() (which is was cloned from) than ufs_read()
itself is.

26 years agoBetter wording explaining that all single character options
steve [Mon, 27 Oct 1997 14:25:54 +0000 (14:25 +0000)]
Better wording explaining that all single character options
are extensions along with the previous list of primaries.

Suggested by: bde

26 years agoRemoved unused #includes. The need for most of them went away with
bde [Mon, 27 Oct 1997 13:33:47 +0000 (13:33 +0000)]
Removed unused #includes.  The need for most of them went away with
recent changes (docluster* and vfs improvements).

26 years agoForward declare precisely the structs that are actually used in this header.
bde [Mon, 27 Oct 1997 12:50:57 +0000 (12:50 +0000)]
Forward declare precisely the structs that are actually used in this header.

26 years agoUse err(3).
charnier [Mon, 27 Oct 1997 12:30:30 +0000 (12:30 +0000)]
Use err(3).

26 years agoRemove `progname'.
charnier [Mon, 27 Oct 1997 12:29:25 +0000 (12:29 +0000)]
Remove `progname'.

26 years agoAdd usage() and err(3). Sync man page with usage string.
charnier [Mon, 27 Oct 1997 12:27:21 +0000 (12:27 +0000)]
Add usage() and err(3). Sync man page with usage string.

26 years agoOne line usage string: see man page for more info.
charnier [Mon, 27 Oct 1997 12:25:38 +0000 (12:25 +0000)]
One line usage string: see man page for more info.

26 years agoCosmetic in err() strings.
charnier [Mon, 27 Oct 1997 12:23:08 +0000 (12:23 +0000)]
Cosmetic in err() strings.

26 years agoUse err(3).
charnier [Mon, 27 Oct 1997 12:21:10 +0000 (12:21 +0000)]
Use err(3).

26 years agoSynchronize with sys/i386/isa/sio.c revision 1.187.
kato [Mon, 27 Oct 1997 11:00:31 +0000 (11:00 +0000)]
Synchronize with sys/i386/isa/sio.c revision 1.187.

26 years agoSynchronize with sys/i386/isa/if_fe.c revision 1.32.
kato [Mon, 27 Oct 1997 10:59:48 +0000 (10:59 +0000)]
Synchronize with sys/i386/isa/if_fe.c revision 1.32.

26 years agoSynchronize with sys/i386/isa/if_ed.c revision 1.125.
kato [Mon, 27 Oct 1997 10:59:03 +0000 (10:59 +0000)]
Synchronize with sys/i386/isa/if_ed.c revision 1.125.

26 years agoSynchronize with sys/i386/isa/syscons.c revision 1.236.
kato [Mon, 27 Oct 1997 10:58:30 +0000 (10:58 +0000)]
Synchronize with sys/i386/isa/syscons.c revision 1.236.

26 years agoSynchronize with sys/i386/conf/GENERIC and majors.i386 revisions 1.99
kato [Mon, 27 Oct 1997 10:57:58 +0000 (10:57 +0000)]
Synchronize with sys/i386/conf/GENERIC and majors.i386 revisions 1.99
and 1.19, respectively.

26 years agoUse err(3). Add prototypes. Document -s and -r flags.
charnier [Mon, 27 Oct 1997 07:55:31 +0000 (07:55 +0000)]
Use err(3). Add prototypes. Document -s and -r flags.

26 years agoStatisize usage().
charnier [Mon, 27 Oct 1997 07:53:22 +0000 (07:53 +0000)]
Statisize usage().

26 years agoUse err(3). Stylistic changes in man page.
charnier [Mon, 27 Oct 1997 07:52:10 +0000 (07:52 +0000)]
Use err(3). Stylistic changes in man page.

26 years agoAdd usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
charnier [Mon, 27 Oct 1997 07:49:47 +0000 (07:49 +0000)]
Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.

26 years agoUse err(3). Change `=' to `==' in two places, so that server not responding/
charnier [Mon, 27 Oct 1997 07:45:47 +0000 (07:45 +0000)]
Use err(3). Change `=' to `==' in two places, so that server not responding/
server ok is not displayed too often.
OKed by: Bill (wpaul).

26 years agontohl->htonl.
charnier [Mon, 27 Oct 1997 07:41:12 +0000 (07:41 +0000)]
ntohl->htonl.
OKed by: Bruce

26 years agoMove the EP_ID_PORT out to 0x110, so it doesn't conflict with other port
joerg [Mon, 27 Oct 1997 06:15:10 +0000 (06:15 +0000)]
Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other port
usage at 0x100.  Quoted Justin's quotation from the manual as well, to
explain the technical background.

PR: kern/4559
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoOffending statement removed from STANDARDS section. From what I
steve [Mon, 27 Oct 1997 04:22:13 +0000 (04:22 +0000)]
Offending statement removed from STANDARDS section.  From what I
can gather from the Posix spec that I have (which is very old)
all one character options are extensions to Posix.

PR: docs/4701

26 years agoTypo fix.
steve [Mon, 27 Oct 1997 03:31:57 +0000 (03:31 +0000)]
Typo fix.

PR: docs/4579
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoFix a misleading comment.
steve [Mon, 27 Oct 1997 03:28:44 +0000 (03:28 +0000)]
Fix a misleading comment.

PR: bin/4861
Submitted by: Alex <garbanzo@hooked.net>

26 years agoBump MAXDSIZ to 512MB so that soft limits have a chance to actually
jkh [Mon, 27 Oct 1997 00:38:46 +0000 (00:38 +0000)]
Bump MAXDSIZ to 512MB so that soft limits have a chance to actually
regulate this.
Reviewed by: dyson

26 years agoCheck to see if the pv_limits are initialized before checking.
dyson [Mon, 27 Oct 1997 00:34:15 +0000 (00:34 +0000)]
Check to see if the pv_limits are initialized before checking.

26 years agoFix a comment about multicast; since the Etherlink III has no
fenner [Mon, 27 Oct 1997 00:02:33 +0000 (00:02 +0000)]
Fix a comment about multicast; since the Etherlink III has no
multicast filter the driver will never learn how to program it.

26 years ago- Instead of relying on a functional call to register PCARD-capable drivers,
nate [Sun, 26 Oct 1997 21:08:42 +0000 (21:08 +0000)]
- Instead of relying on a functional call to register PCARD-capable drivers,
  use a Linker Set.  Note, if a driver is loaded as an LKM  if will have
  to use the function call, but since none of the existing drivers
  are loadable, this made things cleaner and boot messages nicer.

Obtained from: PAO-970616

26 years agoUpdate this little gadet to latest version.
phk [Sun, 26 Oct 1997 21:06:33 +0000 (21:06 +0000)]
Update this little gadet to latest version.

26 years agoI guess nobody uses ext2fs in current ?
phk [Sun, 26 Oct 1997 21:05:40 +0000 (21:05 +0000)]
I guess nobody uses ext2fs in current ?
vop_lookup is back now, don't know whan I lost it.

26 years ago- Patch the 'skeleton' example driver to be more consistant with the new
nate [Sun, 26 Oct 1997 21:01:44 +0000 (21:01 +0000)]
- Patch the 'skeleton' example driver to be more consistant with the new
  state of the world.

26 years agoVFS interior redecoration.
phk [Sun, 26 Oct 1997 20:55:39 +0000 (20:55 +0000)]
VFS interior redecoration.

Rename vn_default_error to vop_defaultop all over the place.
Move vn_bwrite from vfs_bio.c to vfs_default.c and call it vop_stdbwrite.
Use vop_null instead of nullop.
Move vop_nopoll from vfs_subr.c to vfs_default.c
Move vop_sharedlock from vfs_subr.c to vfs_default.c
Move vop_nolock from vfs_subr.c to vfs_default.c
Move vop_nounlock from vfs_subr.c to vfs_default.c
Move vop_noislocked from vfs_subr.c to vfs_default.c
Use vop_ebadf instead of *_ebadf.
Add vop_defaultop for getpages on master vnode in MFS.

26 years agoRemade syscalls.master derived files.
phk [Sun, 26 Oct 1997 20:28:54 +0000 (20:28 +0000)]
Remade syscalls.master derived files.

26 years agoAdd "NOIMPL" for syscalls we know what is, but don't implement as "STD".
phk [Sun, 26 Oct 1997 20:27:51 +0000 (20:27 +0000)]
Add "NOIMPL" for syscalls we know what is, but don't implement as "STD".
Use this for getfh & nfssvc.

26 years agoSimplify the lease_check stuff.
phk [Sun, 26 Oct 1997 20:26:33 +0000 (20:26 +0000)]
Simplify the lease_check stuff.

26 years agoAlways initialize the syscall vectors for our "private" syscalls (not
phk [Sun, 26 Oct 1997 20:13:52 +0000 (20:13 +0000)]
Always initialize the syscall vectors for our "private" syscalls (not
just in the LKM case).
Plug nqnfs_vop_lease_check directly into the default_vnodeop_p table.

26 years agoIn clntudp_call(), it is possible that xdr_replymsg() might fail
wpaul [Sun, 26 Oct 1997 18:47:31 +0000 (18:47 +0000)]
In clntudp_call(), it is possible that xdr_replymsg() might fail
partway through its attempt to decode the result structure sent by
the server. If this happens, it can leave the result partially
populated with dynamically allocated memory. In this event, the
xdr_replymsg() failure is detected and RPC_CANTDECODERES is returned,
but the memory in the partially populated result struct is not
free()d.

The end result is that memory is leaked when an RPC_CANTDECODERES
error occurs. (This condition can occur if a CLIENT * handle is created
using clntudp_bufcreate() with a receive buffer size that is too small
to handle the result sent by the server.)

Fixed by setting reply_xdrs.x_op to XDR_FREE and calling
xdr_replymsg() again to free the memory if an RPC_CANTDECODERES error
is detected.

I suspect that the clnt_tcp.c, clnt_unix.c and clnt_raw.c modules
may ha a similar problem, but I haven't duplicated the condition with
those yet.

Found by: dbmalloc

26 years agoRemove yet another superfluous file.
jraynard [Sun, 26 Oct 1997 12:53:16 +0000 (12:53 +0000)]
Remove yet another superfluous file.

26 years agotypo.
wosch [Sun, 26 Oct 1997 12:51:30 +0000 (12:51 +0000)]
typo.

26 years agoUse croation week day name. This avoid a name clash
wosch [Sun, 26 Oct 1997 12:48:50 +0000 (12:48 +0000)]
Use croation week day name. This avoid a name clash
between `Subota' and `Sunday'.
         ^^           ^^

Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>

26 years agoCosmetic:
brian [Sun, 26 Oct 1997 12:42:13 +0000 (12:42 +0000)]
Cosmetic:
  Move prototypes into the correct headers.

26 years agoChange the initial amount of memory allocated for pv_entries to be proportional
dyson [Sun, 26 Oct 1997 12:33:39 +0000 (12:33 +0000)]
Change the initial amount of memory allocated for pv_entries to be proportional
to the amount of system memory.  Also, clean-up some of the new pv_entry
mgmt code.

26 years agoAdd -funsigned-char to CFLAGS (for ctype macros)
ache [Sun, 26 Oct 1997 12:20:45 +0000 (12:20 +0000)]
Add -funsigned-char to CFLAGS (for ctype macros)

26 years agoBack out mode (unsigned char)...
ache [Sun, 26 Oct 1997 12:17:33 +0000 (12:17 +0000)]
Back out mode (unsigned char)...

26 years agoBack out (unsigned char) cast, will use -funsigned-char instead
ache [Sun, 26 Oct 1997 12:14:54 +0000 (12:14 +0000)]
Back out (unsigned char) cast, will use -funsigned-char instead

26 years agoTypo.
helbig [Sun, 26 Oct 1997 10:37:35 +0000 (10:37 +0000)]
Typo.

26 years agoSynchronize usage() and man page.
helbig [Sun, 26 Oct 1997 10:33:02 +0000 (10:33 +0000)]
Synchronize usage() and man page.
Pointed out by bde.

26 years ago- Slightly change the way the border color register is updated so that
yokota [Sun, 26 Oct 1997 07:36:13 +0000 (07:36 +0000)]
- Slightly change the way the border color register is updated so that
flicker won't occur when set_border() is called.

- Properly restore the border color when switching virtual consoles.

Pointed out by: tony@dell.com
OKed by: sos

26 years ago- The daemon might go off the screen and crashed the system if the
yokota [Sun, 26 Oct 1997 07:35:18 +0000 (07:35 +0000)]
- The daemon might go off the screen and crashed the system if the
screen size was changed while the screen saver was inactive. Adjust
the positions of the daemon and the text and clip them accordingly
each time.

- Don't call set_border() too often. Some video chip may produce
flicker.

Pointed out by tony@dell.com

- Don't fill the entire screen with blank char every time the saver is
called.  Blank only the part of the screen where the daemon and the
text was previously printed.

26 years ago- 'Beep' support now happens in it's own separate file, so you can mess
nate [Sun, 26 Oct 1997 06:06:54 +0000 (06:06 +0000)]
- 'Beep' support now happens in it's own separate file, so you can mess
  around with different noises for the different events and not have it
  affect other files.

Inspired by: PAO

26 years agouse += on cflags
jmg [Sun, 26 Oct 1997 04:58:27 +0000 (04:58 +0000)]
use += on cflags

Submitted-by: Steve Price <sprice@hiwaay.net>

26 years ago- Functional changes to PCCARD support.
nate [Sun, 26 Oct 1997 04:54:16 +0000 (04:54 +0000)]
- Functional changes to PCCARD support.
 * Kill individual drivers 'suspend' routines, since there's no simple/safe
   way to suspend/resume a card w/out going through the complete probe
   at initialization time.
 * Default to using the apm_pccard_resume sysctl code, which basically
   pretends the card was removed, and then re-inserted.  Suspend/resume
   is now 'emulated' with a fake insert/removal.  (Hence we no longer
   need the driver-specific suspend routines.)

26 years ago- Do a bunch of gratuitous changes intended to make the code easier to
nate [Sun, 26 Oct 1997 04:36:24 +0000 (04:36 +0000)]
- Do a bunch of gratuitous changes intended to make the code easier to
  follow.
 * Rename/reorder all of the pccard structures, change many of the member
   names to be descriptive, and follow more closely other 'bus' drivers
   naming schemes.
 * Rename a bunch of parameter and local variable names to be more
   consistant in the code.
 * Renamed the PCCARD 'crd' device to be the 'card' device
 * KNF and make the code consistant where it was obvious.
 * ifdef'd out some unused code

26 years ago- Call 'callout_handle_init' on the two timeout channels after they are
nate [Sun, 26 Oct 1997 02:55:31 +0000 (02:55 +0000)]
- Call 'callout_handle_init' on the two timeout channels after they are
  created in the new slot controller structure.

26 years agoCosmetic (no functional changes):
brian [Sun, 26 Oct 1997 01:04:02 +0000 (01:04 +0000)]
Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes

26 years agoChange L_SET to SEEK_SET for POSIX compliance.
jdp [Sun, 26 Oct 1997 00:41:51 +0000 (00:41 +0000)]
Change L_SET to SEEK_SET for POSIX compliance.

Submitted by: Dean Gaudet <dgaudet@arctic.org>

26 years ago- KNF the PCI stuff, no functional changes.
nate [Sat, 25 Oct 1997 21:02:44 +0000 (21:02 +0000)]
- KNF the PCI stuff, no functional changes.

26 years agoMerge changes from vendor branch.
wollman [Sat, 25 Oct 1997 18:27:25 +0000 (18:27 +0000)]
Merge changes from vendor branch.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r30708,
wollman [Sat, 25 Oct 1997 18:22:53 +0000 (18:22 +0000)]
This commit was generated by cvs2svn to compensate for changes in r30708,
which included commits to RCS files with non-trunk default branches.

26 years agoNew version of the timezone database (1997i) from Arthur Olson.
wollman [Sat, 25 Oct 1997 18:22:53 +0000 (18:22 +0000)]
New version of the timezone database (1997i) from Arthur Olson.

Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>

26 years agoRecognize even more of the Znyx 314 cards.
phk [Sat, 25 Oct 1997 14:32:15 +0000 (14:32 +0000)]
Recognize even more of the Znyx 314 cards.

26 years agoFix typo in startup menu.
jkh [Sat, 25 Oct 1997 09:27:20 +0000 (09:27 +0000)]
Fix typo in startup menu.

Submitted by: max

26 years agoSomehow an error crept in during the previous commit.
dyson [Sat, 25 Oct 1997 04:49:01 +0000 (04:49 +0000)]
Somehow an error crept in during the previous commit.

26 years agoSupport garbage collecting the pmap pv entries. The management doesn't
dyson [Sat, 25 Oct 1997 02:41:56 +0000 (02:41 +0000)]
Support garbage collecting the pmap pv entries.  The management doesn't
happen until the system would have nearly failed anyway, so no signficant
overhead is added.  This helps large systems with lots of processes.

26 years agoDecrease the initial allocation for the zone allocations.
dyson [Fri, 24 Oct 1997 23:41:04 +0000 (23:41 +0000)]
Decrease the initial allocation for the zone allocations.

26 years agosleep => nointr_sleep
brian [Fri, 24 Oct 1997 22:36:31 +0000 (22:36 +0000)]
sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache

26 years ago(Null commit - the previous commit blew up in my face).
markm [Fri, 24 Oct 1997 16:35:34 +0000 (16:35 +0000)]
(Null commit - the previous commit blew up in my face).

Link this against -lcrypt. In the case where a user does not have
a ticket available on the server, this may cause chunks to be blown
when the local kinit does not find crypt(3).

26 years agoLink this against -lcrypt. In the case where the user has no key available
markm [Fri, 24 Oct 1997 16:27:46 +0000 (16:27 +0000)]
Link this against -lcrypt. In the case where the user has no key available
on the keyserver, the local kinit will blow chunks when it tries a
crypt(3) and finds it unavailable.

26 years agoMake this part of the 'krb' distribution if it is being built as the
markm [Fri, 24 Oct 1997 16:22:46 +0000 (16:22 +0000)]
Make this part of the 'krb' distribution if it is being built as the
Kerberised version.

26 years agoMake this part of the 'krb' distribution.
markm [Fri, 24 Oct 1997 16:20:25 +0000 (16:20 +0000)]
Make this part of the 'krb' distribution.

26 years ago- Recognize the Cirrus Logic PD6729/6730 PC-Card Controller behind the
nate [Fri, 24 Oct 1997 15:39:00 +0000 (15:39 +0000)]
- Recognize the Cirrus Logic PD6729/6730 PC-Card Controller behind the
  PCI bus.

[ Re-organized the code to be easier to extend, based on Michael's patch ]

Submitted by: Michael Reifenberger <root@totum.plaut.de>

26 years ago- Use the definitions found in <i386/isa/isa.h> instead of rolling our
nate [Fri, 24 Oct 1997 15:27:16 +0000 (15:27 +0000)]
- Use the definitions found in <i386/isa/isa.h> instead of rolling our
  own definition of ISA_HOLE_START.  We shouldn't need to include
  bus/processor specific code in here, but it is required.  At least by
  doing it this way it becomes more obvious where the bogusness is.

Obtained from: email with bde

26 years agoRemove the stuff we do not use from global scope. Export them again as
phk [Fri, 24 Oct 1997 14:27:23 +0000 (14:27 +0000)]
Remove the stuff we do not use from global scope.  Export them again as
needed.

26 years agoStatizice.
phk [Fri, 24 Oct 1997 14:24:55 +0000 (14:24 +0000)]
Statizice.

26 years agoPkg_add refused to process package whose packing list contains @exec/@unexec
max [Fri, 24 Oct 1997 08:32:06 +0000 (08:32 +0000)]
Pkg_add refused to process package whose packing list contains @exec/@unexec
before any file names.  This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB].  Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by: jkh

26 years agofix mispelling of kld
jmg [Fri, 24 Oct 1997 05:30:12 +0000 (05:30 +0000)]
fix mispelling of kld

26 years agomake a couple functions static...
jmg [Fri, 24 Oct 1997 05:29:07 +0000 (05:29 +0000)]
make a couple functions static...

also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...

26 years agoChange defaults to match reality.
hoek [Fri, 24 Oct 1997 04:13:41 +0000 (04:13 +0000)]
Change defaults to match reality.

PR: docs/3817

26 years ago- defined constant ISA_HOLE_START (would be nice to include machine/pmap.h,
nate [Thu, 23 Oct 1997 22:54:47 +0000 (22:54 +0000)]
- defined constant ISA_HOLE_START (would be nice to include machine/pmap.h,
  but it has too much baggage).
- create a new routine 'unregister_device_interrupt', which is now used
  instead of having two routines with the same code snippet.
- Minor cleanups and commenting.

[ No functional changes, just moving things around ]

26 years agoRestore back non-interruptable sleep/usleep just redefine them to not
ache [Thu, 23 Oct 1997 21:32:48 +0000 (21:32 +0000)]
Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions

26 years agoRemove private sleep/usleep hacks
ache [Thu, 23 Oct 1997 20:11:01 +0000 (20:11 +0000)]
Remove private sleep/usleep hacks

26 years ago- Move the untimeout code call out of the check for pwr_off_pending. It
nate [Thu, 23 Oct 1997 19:00:16 +0000 (19:00 +0000)]
- Move the untimeout code call out of the check for pwr_off_pending.  It
  shouldn't make any difference, but did on a couple of test systems.

26 years agoobey internet-draft "draft-stevens-advanced-api-04.txt" for ipv6 defs.
itojun [Thu, 23 Oct 1997 15:11:21 +0000 (15:11 +0000)]
obey internet-draft "draft-stevens-advanced-api-04.txt" for ipv6 defs.

26 years agoAdd entries for the Danpex EN-6200P2 and Megahertz XJ4336
msmith [Thu, 23 Oct 1997 14:00:40 +0000 (14:00 +0000)]
Add entries for the Danpex EN-6200P2 and Megahertz XJ4336

26 years agoFix a potentially disasterous '==' instead of '=' bug.
gibbs [Thu, 23 Oct 1997 11:32:06 +0000 (11:32 +0000)]
Fix a potentially disasterous '==' instead of '=' bug.

Submitted by: John-Mark Gurney <gurney_j@resnet.uoregon.edu>

26 years agoFix various filter problems
brian [Thu, 23 Oct 1997 10:09:35 +0000 (10:09 +0000)]
Fix various filter problems
PR: 4727
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>

26 years agoDisallow non-root mount. If you want to allow non-root mount, change
kato [Thu, 23 Oct 1997 09:29:09 +0000 (09:29 +0000)]
Disallow non-root mount.  If you want to allow non-root mount, change
vfs.usermount into 1 with sysctl.

26 years agoSynchronize with sys/i386/isa/syscons.{c,h} revisions 1.235 and 1.35,
kato [Thu, 23 Oct 1997 09:26:30 +0000 (09:26 +0000)]
Synchronize with sys/i386/isa/syscons.{c,h} revisions 1.235 and 1.35,
respectively.

26 years agoSynchronize with sys/i386/conf/Makefile.i386 revision 1.103.
kato [Thu, 23 Oct 1997 09:20:16 +0000 (09:20 +0000)]
Synchronize with sys/i386/conf/Makefile.i386 revision 1.103.

26 years ago- Fix braino in last commit. (Slow networks should be outlawed!)
nate [Thu, 23 Oct 1997 04:53:32 +0000 (04:53 +0000)]
- Fix braino in last commit.  (Slow networks should be outlawed!)

26 years ago- Back out the last. APM_BROKEN_STATCLOCK doesn't exist in -current.
nate [Thu, 23 Oct 1997 04:18:49 +0000 (04:18 +0000)]
- Back out the last.  APM_BROKEN_STATCLOCK doesn't exist in -current.

26 years agoReject unreasonable values passed to CONS_HISTORY ioctl. It did not
yokota [Thu, 23 Oct 1997 03:23:50 +0000 (03:23 +0000)]
Reject unreasonable values passed to CONS_HISTORY ioctl. It did not
check the value and caused kernel panic when a large value was given.

- Move the configuration option SC_HISTORY_SIZE from syscons.h to
syscons.c.
- Define the maximum total number of history lines of all consoles.
It is SC_HISTORY_SIZE*MAXCONS or 1000*MAXCONS; whichever is larger.
CONS_HISTORY will allow the user to set the history size up to
SC_HISTORY_SIZE unconditionally (or the current height of the console
if it is larger than SC_HISTORY_SIZE). If the user requests a larger
buffer, it will be granted only if the total number of all allocated
history lines and the requested number of lines won't exceed the maximum.
- Don't free the previous history buffer and leave the history buffer
pointer holding a invalid pointer. Set the pointer to NULL first, then
free the buffer.

PR: bin/4592

26 years agoAdd (unsigned char) cast to ctype macros
ache [Thu, 23 Oct 1997 02:44:23 +0000 (02:44 +0000)]
Add (unsigned char) cast to ctype macros

26 years ago- When doing suspend/resume, only try to suspend those drivers on active
nate [Thu, 23 Oct 1997 02:30:39 +0000 (02:30 +0000)]
- When doing suspend/resume, only try to suspend those drivers on active
  slots.  Otherwise, we try to suspend drivers who have been disabled
  already.

[
The only reason the drivers are still on the list is because of race
conditions where the card is removed while the driver is in use.  We
leave the drivers on the slot list (leaving all of their structures in
place in case a process is using it) but set it's state to empty so that
further uses by the pccard code know not to expect active cards.
]

26 years agoBack our V1.36, due to reports of badness. (IRQ's are again allocated
nate [Thu, 23 Oct 1997 02:25:14 +0000 (02:25 +0000)]
Back our V1.36, due to reports of badness. (IRQ's are again allocated
from the 'lower' interrupts to the 'higher' interrupts.)  We need to
find a way to set the interrupt for the controller in the config file.

Determined by: handy@sag.space.lockheed.com

26 years agoAdd (unsigned char) cast to ctype macros
ache [Thu, 23 Oct 1997 02:22:51 +0000 (02:22 +0000)]
Add (unsigned char) cast to ctype macros

26 years agoAdd unsigned char cast to ctype macros
ache [Thu, 23 Oct 1997 02:08:16 +0000 (02:08 +0000)]
Add unsigned char cast to ctype macros