]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
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.

26 years agocatman(1) is now invoked by /etc/periodic/weekly/330.catman.
alex [Sat, 7 Feb 1998 05:17:47 +0000 (05:17 +0000)]
catman(1) is now invoked by /etc/periodic/weekly/330.catman.

26 years agoDon't assume that IP services are disabled just because firewall_enable
alex [Sat, 7 Feb 1998 04:56:56 +0000 (04:56 +0000)]
Don't assume that IP services are disabled just because firewall_enable
is not set to YES in rc.conf.

Noticed by: Mikael Karpberg <karpen@ocean.campus.luth.se>

26 years agoIn the words of the submitter:
msmith [Sat, 7 Feb 1998 02:13:27 +0000 (02:13 +0000)]
In the words of the submitter:

----
I've worked to enhance the connect() patches.

I've just tested this with the Linux JDK appletviewer on an applet
that does a lot of connects, and it works as well as during my
previous tests.

The connect() patch is now a merge between my older patch and the
OpenBSD stuff. It ensures that any async error is returned by
connect() instead of getsockopt(SOL_SOCKET, SO_ERROR) as reasonnable
systems do.

There are also minor patches to implement IPPROTO_TCP for
get/setsocktopt(). These are also tested (with Linux Apache).
----

I would appreciate any feedback regarding these changes, as they'd
be very useful in 2.2.6.

Submitted by: pb@fasterix.freenix.org (Pierre Beyssac)

26 years agoFixed pagefault when cred == NOCRED.
kato [Sat, 7 Feb 1998 01:36:24 +0000 (01:36 +0000)]
Fixed pagefault when cred == NOCRED.

PR: 5632

26 years agoFixed number of entries in gid-mapfile.
kato [Sat, 7 Feb 1998 01:34:32 +0000 (01:34 +0000)]
Fixed number of entries in gid-mapfile.

PR: 5640

26 years agoBack out opt_diagnostic.h changes.
eivind [Fri, 6 Feb 1998 23:54:27 +0000 (23:54 +0000)]
Back out opt_diagnostic.h changes.

26 years agoBack out my previous attempt to fix SIGINT/SIGTERM behaviour
cracauer [Fri, 6 Feb 1998 23:50:39 +0000 (23:50 +0000)]
Back out my previous attempt to fix SIGINT/SIGTERM behaviour

26 years agoopt_diagnostic.h isn't needed anymore.
jhay [Fri, 6 Feb 1998 22:31:14 +0000 (22:31 +0000)]
opt_diagnostic.h isn't needed anymore.

26 years agoFix handling of SIGINT/SIGQUIT for foreground subprocesses. Most
cracauer [Fri, 6 Feb 1998 18:14:26 +0000 (18:14 +0000)]
Fix handling of SIGINT/SIGQUIT for foreground subprocesses. Most
urgent need is when you run sh around a program that intentionally
uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from
system(2), like many mailers do. This fixes PR bin/1206 and possibly
bin/4241.

The solution committed has been tested for a large number of possible
cases (see recent discussion on cvs-committers). I completed a make
world, made sure 'make world' is interruptable and used the changed
/bin/sh as a login shell all day, including job control and using
SIGQUIT-catching programs (to write this message :-).

PR: bin/1206
Reviewed by: discussion on cvs-commiters

26 years agoImplement dladdr.
jdp [Fri, 6 Feb 1998 16:46:46 +0000 (16:46 +0000)]
Implement dladdr.

26 years agoThrow DEBUG and DIAGNOSTIC in opt_global.h
eivind [Fri, 6 Feb 1998 12:41:39 +0000 (12:41 +0000)]
Throw DEBUG and DIAGNOSTIC in opt_global.h

26 years agoBack out DIAGNOSTIC changes.
eivind [Fri, 6 Feb 1998 12:14:30 +0000 (12:14 +0000)]
Back out DIAGNOSTIC changes.

26 years ago-DNOTOOLS to not rebuild any tools during buildworld
adam [Fri, 6 Feb 1998 09:52:34 +0000 (09:52 +0000)]
-DNOTOOLS to not rebuild any tools during buildworld

26 years agoMF22: reset root flags properly.
jkh [Fri, 6 Feb 1998 04:35:21 +0000 (04:35 +0000)]
MF22: reset root flags properly.

26 years agoDon't attempt to display information which we don't have: specifically,
alex [Fri, 6 Feb 1998 02:45:54 +0000 (02:45 +0000)]
Don't attempt to display information which we don't have: specifically,
TCP and UDP port numbers in fragmented packets when IP offset != 0.

2.2.6 candidate.

Discovered by: Marc Slemko <marcs@znep.com>
Submitted by: Archie Cobbs <archie@whistle.com> w/fix from me

26 years agoWorkarround for DIAGNOSTIC kernel's panic in union_lookup().
kato [Fri, 6 Feb 1998 02:42:21 +0000 (02:42 +0000)]
Workarround for DIAGNOSTIC kernel's panic in union_lookup().
Union_removed_upper() clobbers cache when file is removed.
Upper vp will be removed by union_reclaim().

26 years agoslight cleanup in handling sockets and file descriptors.
julian [Thu, 5 Feb 1998 21:16:52 +0000 (21:16 +0000)]
slight cleanup in handling sockets and file descriptors.
Same fix already applied to other types of fds. This one was apparently missed.

26 years agoReset SGINT and SIGQUIT handling to default when asking for passwords.
guido [Thu, 5 Feb 1998 18:37:02 +0000 (18:37 +0000)]
Reset SGINT and SIGQUIT handling to default when asking for passwords.
Otherwise, when pressing the INT ke at the password prompt, the password
will be displayed. Now login will be killed.

Probably the same will have to be done for the LOGIN_CAP_AUTH case.
I have not done that.
Reviewed by: Joerg Wunsch

26 years agoAdd MNT_LAZY.
dyson [Thu, 5 Feb 1998 17:27:42 +0000 (17:27 +0000)]
Add MNT_LAZY.

26 years agoFix an omission of a line from the previous commit to this file. The
dyson [Thu, 5 Feb 1998 16:40:57 +0000 (16:40 +0000)]
Fix an omission of a line from the previous commit to this file.  The
problem appeared to be an NFS hang.

26 years agoCount hosts and sort by score.
wosch [Thu, 5 Feb 1998 15:38:17 +0000 (15:38 +0000)]
Count hosts and sort by score.

26 years agoReplace sed(1) with perl(1). The 4.4BSD sed programm is
wosch [Thu, 5 Feb 1998 15:33:54 +0000 (15:33 +0000)]
Replace  sed(1) with perl(1). The 4.4BSD sed programm is
200 times slower than perl or SunOS 5.5.1 sed.

26 years agofsdb and fsck use the ffs code which needs opt_diagnostic.h.
jhay [Thu, 5 Feb 1998 14:31:05 +0000 (14:31 +0000)]
fsdb and fsck use the ffs code which needs opt_diagnostic.h.

26 years agoSync with sys/i386/isa/if_ed.c revision up to 1.132.
kato [Thu, 5 Feb 1998 10:17:57 +0000 (10:17 +0000)]
Sync with sys/i386/isa/if_ed.c revision up to 1.132.

26 years agoSync with sys/i386/isa/isa.c revision 1.110.
kato [Thu, 5 Feb 1998 10:06:42 +0000 (10:06 +0000)]
Sync with sys/i386/isa/isa.c revision 1.110.

26 years agoSync with sys/i386/i386/machdep.c and trap.c reivsions 1.287 and
kato [Thu, 5 Feb 1998 10:05:47 +0000 (10:05 +0000)]
Sync with sys/i386/i386/machdep.c and trap.c reivsions 1.287 and
1.121, respectively.

26 years agoAdd PnP support to if_ed.c.
eivind [Thu, 5 Feb 1998 04:08:41 +0000 (04:08 +0000)]
Add PnP support to if_ed.c.

26 years ago1) Start using a cleaner and more consistant page allocator instead
dyson [Thu, 5 Feb 1998 03:32:49 +0000 (03:32 +0000)]
1) Start using a cleaner and more consistant page allocator instead
of the various ad-hoc schemes.
2) When bringing in UPAGES, the pmap code needs to do another vm_page_lookup.
3) When appropriate, set the PG_A or PG_M bits a-priori to both avoid some
processor errata, and to minimize redundant processor updating of page
tables.
4) Modify pmap_protect so that it can only remove permissions (as it
originally supported.)  The additional capability is not needed.
5) Streamline read-only to read-write page mappings.
6) For pmap_copy_page, don't enable write mapping for source page.
7) Correct and clean-up pmap_incore.
8) Cluster initial kern_exec pagin.
9) Removal of some minor lint from kern_malloc.
10) Correct some ioopt code.
11) Remove some dead code from the MI swapout routine.
12) Correct vm_object_deallocate (to remove backing_object ref.)
13) Fix dead object handling, that had problems under heavy memory load.
14) Add minor vm_page_lookup improvements.
15) Some pages are not in objects, and make sure that the vm_page.c can
properly support such pages.
16) Add some more page deficit handling.
17) Some minor code readability improvements.

26 years agoTurn DIAGNOSTIC into a new-style option.
eivind [Wed, 4 Feb 1998 22:34:03 +0000 (22:34 +0000)]
Turn DIAGNOSTIC into a new-style option.

26 years agoDocument the fpgetprec/fpsetprec functions in their man page.
jlemon [Wed, 4 Feb 1998 22:30:20 +0000 (22:30 +0000)]
Document the fpgetprec/fpsetprec functions in their man page.
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by: bde

26 years agoRemove old, commented-out option SUIDDIR after Julian added a proper
eivind [Wed, 4 Feb 1998 22:03:27 +0000 (22:03 +0000)]
Remove old, commented-out option SUIDDIR after Julian added a proper
entry for it.

26 years agoMake the LKMs handle DIAGNOSTIC as a new-style option.
eivind [Wed, 4 Feb 1998 21:56:39 +0000 (21:56 +0000)]
Make the LKMs handle DIAGNOSTIC as a new-style option.

26 years agoThis seems to fix my problem that after resume/suspend, sometimes
guido [Wed, 4 Feb 1998 20:19:39 +0000 (20:19 +0000)]
This seems to fix my problem that after resume/suspend, sometimes
pccard claims that the driver is already allocated.
It works around a race when pccardd gets woken up too late after a resume.

This is a 2.2.6 candidate.
Reviewed by: nate@freebsd.org

26 years agoRestrict idleprio to superuser:
dg [Wed, 4 Feb 1998 18:43:10 +0000 (18:43 +0000)]
Restrict idleprio to superuser:

Realtime priority has to be restricted for reasons which should be
obvious. However, for idle priority, there is a potential for
system deadlock if an idleprio process gains a lock on a resource
that other processes need (and the idleprio process can't run
due to a CPU-bound normal process). Fix me! XXX
PR: 5639

26 years agoFix Makefile.yp so that it no longer creates a temporary file called
wpaul [Wed, 4 Feb 1998 16:16:58 +0000 (16:16 +0000)]
Fix Makefile.yp so that it no longer creates a temporary file called
/tmp/ypmake, thereby fixing problems with successive map updates
possibly reading stale copies of this file left behind by a previous
failed run.

PR:  5571

26 years agoDon't install printcap.5 from here.
wollman [Wed, 4 Feb 1998 15:59:43 +0000 (15:59 +0000)]
Don't install printcap.5 from here.

26 years agoInstall printcap.5 from here.
wollman [Wed, 4 Feb 1998 15:59:10 +0000 (15:59 +0000)]
Install printcap.5 from here.

26 years agoMention nameD_program.
wollman [Wed, 4 Feb 1998 15:57:13 +0000 (15:57 +0000)]
Mention nameD_program.

26 years agoMF22
jkh [Wed, 4 Feb 1998 15:05:23 +0000 (15:05 +0000)]
MF22

26 years agoMF22: update to newest version from author.
jkh [Wed, 4 Feb 1998 15:04:09 +0000 (15:04 +0000)]
MF22: update to newest version from author.

26 years agoAdd comment describing settings
ache [Wed, 4 Feb 1998 13:03:57 +0000 (13:03 +0000)]
Add comment describing settings
Use 66 lines on the page

26 years agoAdd commented out example of Russian output filter usage
ache [Wed, 4 Feb 1998 12:09:06 +0000 (12:09 +0000)]
Add commented out example of Russian output filter usage

26 years agoAdd Russian printer filters, mandatory because hardware code page 866
ache [Wed, 4 Feb 1998 12:00:46 +0000 (12:00 +0000)]
Add Russian printer filters, mandatory because hardware code page 866
is different with KOI8-R

26 years agoAdd /usr/libexec/lpr/ru for Russian printer filters (coming soon)
ache [Wed, 4 Feb 1998 11:51:26 +0000 (11:51 +0000)]
Add /usr/libexec/lpr/ru for Russian printer filters (coming soon)

26 years ago(1) Improve the obsolete tcl/tk detection and dignosis.
asami [Wed, 4 Feb 1998 10:36:56 +0000 (10:36 +0000)]
(1) Improve the obsolete tcl/tk detection and dignosis.
Reviewed by: the lists

(2) Change MASTER_SITE_CTAN to reflect current reality.
Submitted by: fenner

(3) Add new port variable NO_LATEST_LINK.  When this is set, the
    "Latest" package symlink is not created.  Use this for ports that
    are betas when there is also a port for an older, more stable,
    version.

(4) Don't be too stupid about "make deinstall".
Submitted by: fenner

26 years agoSync with sys/i386/conf/options.i386 revision 1.71.
kato [Wed, 4 Feb 1998 10:22:05 +0000 (10:22 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.71.

26 years agoSync with sys/i386/i386/machdep.c revision 1.286.
kato [Wed, 4 Feb 1998 10:19:33 +0000 (10:19 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.286.

26 years agoConvert to mdoc.
charnier [Wed, 4 Feb 1998 07:30:11 +0000 (07:30 +0000)]
Convert to mdoc.

26 years agoConvert to mdoc. Move Id to the top.
charnier [Wed, 4 Feb 1998 07:29:20 +0000 (07:29 +0000)]
Convert to mdoc. Move Id to the top.

26 years agoSubmitted by: Alex Nash
danny [Wed, 4 Feb 1998 07:04:44 +0000 (07:04 +0000)]
Submitted by: Alex Nash
Style nit - extraneous space.

26 years agoAdd Genius PnP Mouse (simple one)
ache [Wed, 4 Feb 1998 06:46:33 +0000 (06:46 +0000)]
Add Genius PnP Mouse (simple one)

26 years agoChange LINT_PCCARD_HACK to COMPILING_LINT, and put it in its own header file
eivind [Wed, 4 Feb 1998 04:41:37 +0000 (04:41 +0000)]
Change LINT_PCCARD_HACK to COMPILING_LINT, and put it in its own header file
"opt_lint.h".  This should prevent the next person needing the same trick
from inventing their own option, too.

26 years agoMake SPX_HACK a new-style option.
eivind [Wed, 4 Feb 1998 04:12:29 +0000 (04:12 +0000)]
Make SPX_HACK a new-style option.

26 years agoMake this work with SPX_HACK as a new-style option.
eivind [Wed, 4 Feb 1998 04:07:43 +0000 (04:07 +0000)]
Make this work with SPX_HACK as a new-style option.

26 years agoPut SCSI_2_DEF in opt_scsi.h. This cause a lot more recompliation than
eivind [Wed, 4 Feb 1998 03:59:50 +0000 (03:59 +0000)]
Put SCSI_2_DEF in opt_scsi.h.  This cause a lot more recompliation than
necessary when this option change, but I don't think it is worth its own
header file.

26 years agoMake FAILSAFE a new-style option.
eivind [Wed, 4 Feb 1998 03:47:16 +0000 (03:47 +0000)]
Make FAILSAFE a new-style option.

26 years agoAdd #include "opt_devfs.h"
eivind [Wed, 4 Feb 1998 03:30:31 +0000 (03:30 +0000)]
Add #include "opt_devfs.h"

26 years agoRe-add my DEVFS changes after they were stomped on. This time, I throw away
eivind [Wed, 4 Feb 1998 03:16:25 +0000 (03:16 +0000)]
Re-add my DEVFS changes after they were stomped on.  This time, I throw away
the DEVFS tokens (as they weren't used anywhere anyway).

26 years agoDisplay ipfw rules which have reached the log limit.
alex [Wed, 4 Feb 1998 01:53:19 +0000 (01:53 +0000)]
Display ipfw rules which have reached the log limit.

26 years agoMake LINT at least compile. This faithfully duplicate the changes
eivind [Wed, 4 Feb 1998 01:16:03 +0000 (01:16 +0000)]
Make LINT at least compile.  This faithfully duplicate the changes
done to ufs/ufs/ufs_vnops.c for the same problem, but I don't know if
that will actually make SUIDDIR work for ext2fs.

26 years agoMerge from MP branch:
brian [Wed, 4 Feb 1998 01:06:23 +0000 (01:06 +0000)]
Merge from MP branch:
  Correct magic number format string

26 years agoCleaned up some comments and ifdefs.
bde [Tue, 3 Feb 1998 22:32:23 +0000 (22:32 +0000)]
Cleaned up some comments and ifdefs.

26 years agoAdded #include of <sys/queue.h> so that this file is more "self"-sufficent.
bde [Tue, 3 Feb 1998 22:19:35 +0000 (22:19 +0000)]
Added #include of <sys/queue.h> so that this file is more "self"-sufficent.

26 years agoForward declare a struct and #include <sys/queue.h> so that this file
bde [Tue, 3 Feb 1998 22:17:45 +0000 (22:17 +0000)]
Forward declare a struct and #include <sys/queue.h> so that this file
is more "self"-sufficent.

26 years agoConverted DISABLE_PSE to a new-style option.
bde [Tue, 3 Feb 1998 22:09:01 +0000 (22:09 +0000)]
Converted DISABLE_PSE to a new-style option.

Fixed some formatting in options.i386.

26 years agoFixed pedantic syntax errors.
bde [Tue, 3 Feb 1998 21:56:42 +0000 (21:56 +0000)]
Fixed pedantic syntax errors.

26 years agoForward declare some structs so that this file is more self-sufficient.
bde [Tue, 3 Feb 1998 21:52:02 +0000 (21:52 +0000)]
Forward declare some structs so that this file is more self-sufficient.

26 years agoFixed staticization.
bde [Tue, 3 Feb 1998 21:41:12 +0000 (21:41 +0000)]
Fixed staticization.

26 years agoForward declare some structs so that this file is more self-sufficient.
bde [Tue, 3 Feb 1998 21:39:30 +0000 (21:39 +0000)]
Forward declare some structs so that this file is more self-sufficient.

Don't declare kernel objects or functions unless KERNEL is defined.

26 years agoIfdefed some SMP and VM86 code. Note that although VM86 is not a global
bde [Tue, 3 Feb 1998 21:27:50 +0000 (21:27 +0000)]
Ifdefed some SMP and VM86 code.  Note that although VM86 is not a global
option, the ifdef on it in a header works because only the name of the
VM86 extension is hidden.

26 years agoDon't print garbage when user enters EOF at name prompt.
pst [Tue, 3 Feb 1998 20:53:25 +0000 (20:53 +0000)]
Don't print garbage when user enters EOF at name prompt.
PR: 5565
Submitted by: Jens Schweikhardt

26 years agoForward declare a union so that this file is self-sufficient.
bde [Tue, 3 Feb 1998 20:46:18 +0000 (20:46 +0000)]
Forward declare a union so that this file is self-sufficient.

Cleaned up ifdefs.

26 years agoFixed a gratuitous ANSIism.
bde [Tue, 3 Feb 1998 20:37:29 +0000 (20:37 +0000)]
Fixed a gratuitous ANSIism.

26 years agoIfdefed use of a GNU feature.
bde [Tue, 3 Feb 1998 20:32:38 +0000 (20:32 +0000)]
Ifdefed use of a GNU feature.

26 years agoMoved misplaced idempotency ifdef. Multiple inclusion was fatal since
bde [Tue, 3 Feb 1998 20:24:13 +0000 (20:24 +0000)]
Moved misplaced idempotency ifdef.  Multiple inclusion was fatal since
there was a typedef outside the ifdef.

Fixed syntax error after the #endif for this ifdef.

Didn't fix the usual style bugs for this ifdef...

26 years agoChanged `inline' to `__inline' so that this file can be compiled by
bde [Tue, 3 Feb 1998 20:14:35 +0000 (20:14 +0000)]
Changed `inline' to `__inline' so that this file can be compiled by
`gcc -ansi'.

Changed NULL to 0 so that this file is more self-sufficient (now
only <sys/types.h> is a prerequisite).

26 years agoDon't declare prototypes for driver functions unless KERNEL is defined.
bde [Tue, 3 Feb 1998 20:07:02 +0000 (20:07 +0000)]
Don't declare prototypes for driver functions unless KERNEL is defined.

26 years agoFixed conflicts between <machine/console.h> and <machine/pcvt_ioctl.h>,
bde [Tue, 3 Feb 1998 19:57:46 +0000 (19:57 +0000)]
Fixed conflicts between <machine/console.h> and <machine/pcvt_ioctl.h>,
so that it is possible for kdump and truss to include them both.  Use
#defines from pcvt_ioctl.h in conflicting cases, since pcvt_ioctl.h
gives a hint about the bogus third arg to _IO().  Ifdef the common
typedefs.  Export `struct key_t' from pcvt_ioctl.h so pcvt_ioctl.h is
bug for bug compatible with console.h (now both are broken in C++
mode).

26 years agoUpdated generated files.
bde [Tue, 3 Feb 1998 17:52:21 +0000 (17:52 +0000)]
Updated generated files.

26 years agoFixed type of mincore().
bde [Tue, 3 Feb 1998 17:45:43 +0000 (17:45 +0000)]
Fixed type of mincore().

26 years agoGenerate a forward declaration of `struct proc' in <sys/sysproto.h>.
bde [Tue, 3 Feb 1998 17:39:13 +0000 (17:39 +0000)]
Generate a forward declaration of `struct proc' in <sys/sysproto.h>.

Removed extra args to a printf.

Fixed some style inconsistencies (unnecessary parentheses for printf).
awk is not C.

26 years agoFixed the previous fix. The original path was annulled when it
bde [Tue, 3 Feb 1998 17:23:26 +0000 (17:23 +0000)]
Fixed the previous fix.  The original path was annulled when it
was a directory, so the error message for attempting to unmount
an unmounted-on directory was more broken than before.

26 years agoDeclare the variable `i' when UMAP_DIAGNOSTIC is defined.
kato [Tue, 3 Feb 1998 14:30:01 +0000 (14:30 +0000)]
Declare the variable `i' when UMAP_DIAGNOSTIC is defined.

26 years agoConvert to mdoc. Header -> Id. Typo.
charnier [Tue, 3 Feb 1998 07:30:22 +0000 (07:30 +0000)]
Convert to mdoc. Header -> Id. Typo.

26 years agoThis fix should help the panic problems in -current. There
dyson [Tue, 3 Feb 1998 00:50:36 +0000 (00:50 +0000)]
This fix should help the panic problems in -current.  There
were some errors in "interval" management.  Due to the
clustering mechanism, the code is necessarily complex and
error prone.

26 years agoTypo.
wosch [Mon, 2 Feb 1998 15:46:44 +0000 (15:46 +0000)]
Typo.

26 years agoBugs/Enhancements:
ahasty [Mon, 2 Feb 1998 13:09:12 +0000 (13:09 +0000)]
Bugs/Enhancements:

1. Takeshi Ohashi <ohashi@atohasi.mickey.ai.kyutech.ac.jp> submitted
   code to support bktr_read . /usr/src/share/examples/rgb24.c now works 8)

2. Flemming Jacobsen <fj@schizo.dk.tfs.com> submitted code to support
   radio available with in some bt848 based cards;additionally, wrote
   code to correctly recognized his bt848 card.
3. Roger Hardiman <roger@cs.strath.ac.uk> submitted various fixes to smooth
   out the microcode and made all modes consistent.

4. Added supported for yuv12 so we know can capture raw streams and feed it
   to mpeg_encoder . The upshot is that we can now mpeg encode more and save
   nearly 100 percent of the disk requirements previously for programs such
   as fxtv first save the raw video image to disk then converted to a
   format suitable for mpeg_encode.