]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoUpdate for the Bintuils 2.11.0 import.
obrien [Mon, 28 May 2001 17:48:04 +0000 (17:48 +0000)]
Update for the Bintuils 2.11.0 import.

23 years agosendmail 8.11.4 has been imported.
gshapiro [Mon, 28 May 2001 17:21:46 +0000 (17:21 +0000)]
sendmail 8.11.4 has been imported.

23 years agosendmail 8.11.4 has been imported
gshapiro [Mon, 28 May 2001 17:13:41 +0000 (17:13 +0000)]
sendmail 8.11.4 has been imported

23 years agoName this module msdos.ko so that mount_msdos(8) can autoload
ru [Mon, 28 May 2001 17:10:46 +0000 (17:10 +0000)]
Name this module msdos.ko so that mount_msdos(8) can autoload
it with vfsload("msdos").

(The proper fix would be to rename the `msdos' file system to
`msdosfs' in VFS_SET(), and mount_msdos(8) to mount_msdosfs(8).
But that would break too many existing fstab(5) setups, and
would require a lot of unnecessary documentation and code
msdos -> msdosfs changes.)

Noticed by: markm

23 years agoResolve conflicts from 8.11.4 import
gshapiro [Mon, 28 May 2001 17:10:35 +0000 (17:10 +0000)]
Resolve conflicts from 8.11.4 import

23 years agoThis commit was generated by cvs2svn to compensate for changes in r77349,
gshapiro [Mon, 28 May 2001 17:08:52 +0000 (17:08 +0000)]
This commit was generated by cvs2svn to compensate for changes in r77349,
which included commits to RCS files with non-trunk default branches.

23 years agoImport sendmail 8.11.4
gshapiro [Mon, 28 May 2001 17:08:52 +0000 (17:08 +0000)]
Import sendmail 8.11.4

23 years agoUse new backup feature of install(1).
ru [Mon, 28 May 2001 16:58:35 +0000 (16:58 +0000)]
Use new backup feature of install(1).

23 years agoBootstrap install(1).
ru [Mon, 28 May 2001 16:54:02 +0000 (16:54 +0000)]
Bootstrap install(1).

23 years agoAdded support for all new install(1) options.
ru [Mon, 28 May 2001 16:53:01 +0000 (16:53 +0000)]
Added support for all new install(1) options.
Removed -c from the actual call as -p implies "copy".

23 years agoMany new features and optimization improvements:
ru [Mon, 28 May 2001 16:41:53 +0000 (16:41 +0000)]
Many new features and optimization improvements:

o New flags: -b and -B (backup)
o New flag: -S (safe copy; aka "atomic" install)
o The -c flag is now the default.
o The -D flag was withdrawn.

Reviewed by: bde (up to some point)
Obtained from: OpenBSD but heavily modified
MFC after: 1 month

23 years agoThe disklabel/slice code is more twisted than I thought. Revert to
phk [Mon, 28 May 2001 16:12:55 +0000 (16:12 +0000)]
The disklabel/slice code is more twisted than I thought.  Revert to
calling the cdevsw_add() unconditionally.

23 years agoChange noop option -h to do the real work. Now mode of symbolic link
ru [Mon, 28 May 2001 15:31:11 +0000 (15:31 +0000)]
Change noop option -h to do the real work.  Now mode of symbolic link
is changed if -h option is given.

Requested by: bde
Obtained from: NetBSD (code part)

23 years agoReplace old-style "chown foo.bar" with orthodox "chown foo:bar".
sheldonh [Mon, 28 May 2001 13:43:26 +0000 (13:43 +0000)]
Replace old-style "chown foo.bar" with orthodox "chown foo:bar".

23 years agoVarious fixes, including suggestions from some thoughtful folks, thanks.
dougb [Mon, 28 May 2001 13:17:20 +0000 (13:17 +0000)]
Various fixes, including suggestions from some thoughtful folks, thanks.

* Minor umask portability change (Christian Weisgerber <naddy@mips.inka.de>)
* Clarify default value of the "run it now" option (bmah)
* Make "run it now" $DESTDIR safe (bsd)
* Handle installation of hard links for /.profile and /.cshrc properly
  when the auto-install option is selected
* Fix some more whitespace issues

23 years agoClarify handling of /etc/mergemaster.rc and $HOME/.mergemasterrc
dougb [Mon, 28 May 2001 13:10:16 +0000 (13:10 +0000)]
Clarify handling of /etc/mergemaster.rc and $HOME/.mergemasterrc

23 years agoFollow symbolic links named as command line arguments if run without -R.
ru [Mon, 28 May 2001 12:58:10 +0000 (12:58 +0000)]
Follow symbolic links named as command line arguments if run without -R.

This is required by symlink(7), ``Commands not traversing a file tree''
subsection, third paragraph:

: It is important to realize that this rule includes commands which may
: optionally traverse file trees, e.g. the command ``chown file'' is
: included in this rule, while the command ``chown -R file'' is not.

For chown(8) and chgrp(1), this is also is compliance with the latest
POSIX 1003.1-200x draft.

MFC after: 1 week

23 years agoPerform random drive-by style cleanups, and rewrite a while loop that
des [Mon, 28 May 2001 12:35:40 +0000 (12:35 +0000)]
Perform random drive-by style cleanups, and rewrite a while loop that
offended my artistic sensibilities.

23 years agoForgotten in previous commit log:
des [Mon, 28 May 2001 12:26:45 +0000 (12:26 +0000)]
Forgotten in previous commit log:

 - don't print an ellipsis after the hex dump if the variable is exactly
   16 bytes long (the less-than-16-bytes case already worked as expected).

23 years agoTry to make sysctl options slightly more orthogonal:
des [Mon, 28 May 2001 12:15:45 +0000 (12:15 +0000)]
Try to make sysctl options slightly more orthogonal:

 - introduce a -o option that displays opaque variables.
 - introduce a -x option that displays opaque variables in full.
 - deprecate -A in favor of -ao and -X in favor of -ax.
 - remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION).
 - ignore -a if one or more variables were listed on the command line.
 - deprecate -w, it is not needed to determine the user's intentions.
 - some language and style cleanup in the man page.

This commit should not break any existing scripts.

MFC after: 4 weeks

23 years agoMove the scrollback controls from kbdcontrol to vidcontrol.
des [Mon, 28 May 2001 11:05:28 +0000 (11:05 +0000)]
Move the scrollback controls from kbdcontrol to vidcontrol.
Also fix some style bugs in the code and poor language in the man pages.

Reviewed by: sobomax

23 years agoThe last(1) choked if there were two successive "login" marks
ru [Mon, 28 May 2001 09:57:19 +0000 (09:57 +0000)]
The last(1) choked if there were two successive "login" marks
found in wtmp(5) for the same TTY without in-between "logout"
mark.

This may be demonstrated by executing login(1), logging in and
out, and watching the last(1) output on this TTY:

: # last -tv7 -w
: ru      ttyv7              Mon May 28 12:46 - 12:46  (00:00:01)
: ru      ttyv7              Mon May 28 12:45   still logged in

The fix merely takes the second "login" mark as the "logout" for
the first "login" mark, if there were no "logout" mark in-between.
This restores the behavior of last.c,v 1.2:

: # last -tv7 -w
: ru      ttyv7              Mon May 28 12:46 - 12:46  (00:00:01)
: ru      ttyv7              Mon May 28 12:45 - 12:46  (00:00:25)

Silence from: -arch, dg

23 years agoOne needs to introduce things with a `.file' directive before trying to
obrien [Mon, 28 May 2001 09:52:21 +0000 (09:52 +0000)]
One needs to introduce things with a `.file' directive before trying to
do a .loc on it.  BTW, the .loc needs to be in a .text section.
gas 2.11.0 catches these oversights where previous versions did not.

23 years agoBe more consistent with the terminology, referring to "temporary and
dougb [Mon, 28 May 2001 09:46:18 +0000 (09:46 +0000)]
Be more consistent with the terminology, referring to "temporary and
installed" instead of "old and new". Inspired by the somewhat
non-linear PR, which really didn't have a fix, per se.

PR: conf/27235 Roelof Osinga <roelof@eboa.com>

23 years agoFix a problem when user selects -a (auto run) but we encounter a file
dougb [Mon, 28 May 2001 09:35:30 +0000 (09:35 +0000)]
Fix a problem when user selects -a (auto run) but we encounter a file
missing on the system. Instead of passing it by, mm was prompting...
bad mm, no cookie!

Brought to my attention by the PR, but the fix needed to be tweaked to
handle the auto-install option as well.

PR: misc/25731 Gilbert Gong <ggong@cal.alumni.berkeley.edu>

23 years agoUpgrade to Binutils 2.11.0.
obrien [Mon, 28 May 2001 09:19:47 +0000 (09:19 +0000)]
Upgrade to Binutils 2.11.0.

23 years agoWhitespace only changes to try and fit a little better into 80 columns.
dougb [Mon, 28 May 2001 09:07:27 +0000 (09:07 +0000)]
Whitespace only changes to try and fit a little better into 80 columns.

23 years ago`\<space>' (unpaddable space) does not work in groff_font(5) files,
ru [Mon, 28 May 2001 07:17:58 +0000 (07:17 +0000)]
`\<space>' (unpaddable space) does not work in groff_font(5) files,
it is taken as a single escape (`\') character.  This prevented \e
from being output correctly in -Tkoi8-r case.

Noticed by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>

23 years agoMerge rev 1.2 into Binutils 2.11[.0].
obrien [Mon, 28 May 2001 06:21:27 +0000 (06:21 +0000)]
Merge rev 1.2 into Binutils 2.11[.0].
Teach `ld' how to access FreeBSD's ld ELF hints.

23 years agoWe use the stock version of this file now.
obrien [Mon, 28 May 2001 06:19:25 +0000 (06:19 +0000)]
We use the stock version of this file now.
I committed our rev 1.2 (start symbol) and 1.3 (max pagesize) fixes into
the FSF/GNU source tree.

23 years agoWe use the stock version of this file.
obrien [Mon, 28 May 2001 06:17:54 +0000 (06:17 +0000)]
We use the stock version of this file.

23 years agoWe use the stock version of this file now.
obrien [Mon, 28 May 2001 06:17:17 +0000 (06:17 +0000)]
We use the stock version of this file now.
I committed all the new FreeBSD platform support (PPC, StrongARM, Sparc64)
into the FSF/GNU tree.

23 years agoMerge rev 1.2 (FreeBSD configuration support) into Binutils 2.11[.0].
obrien [Mon, 28 May 2001 06:15:35 +0000 (06:15 +0000)]
Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11[.0].

23 years agoSilence warnings (most about constness) and clamp down with WARNS=2.
dd [Mon, 28 May 2001 06:14:48 +0000 (06:14 +0000)]
Silence warnings (most about constness) and clamp down with WARNS=2.
Tested on i386 and alpha.

23 years agoUse the stock version of this file now.
obrien [Mon, 28 May 2001 06:14:37 +0000 (06:14 +0000)]
Use the stock version of this file now.
I committed our rev 1.2 fix into the FSF/GNU tree.

23 years agoWe use the stock version of this file now.
obrien [Mon, 28 May 2001 06:11:56 +0000 (06:11 +0000)]
We use the stock version of this file now.
I folded our rev 1.2 localizations into the FSF/GNU tree.

23 years agoReturn to the vendor's version of this file.
obrien [Mon, 28 May 2001 06:10:48 +0000 (06:10 +0000)]
Return to the vendor's version of this file.

23 years agoAdd a minor tweak for us that I failed to get committed to the stock 2.11.
obrien [Mon, 28 May 2001 06:08:54 +0000 (06:08 +0000)]
Add a minor tweak for us that I failed to get committed to the stock 2.11.

23 years agoReturn to the vendor's version of this file.
obrien [Mon, 28 May 2001 06:05:28 +0000 (06:05 +0000)]
Return to the vendor's version of this file.

(have I mentioned how fscking stupid CVS can be??)

23 years agoReturn to the vendor's version of this file.
obrien [Mon, 28 May 2001 06:04:24 +0000 (06:04 +0000)]
Return to the vendor's version of this file.

(CVS -j -j filled this with conflicts -- CVS it just too fscking dumb
to realize this is the 3rd time we've just committed the vendor
version + FreeBSD ID)

23 years agoReturn to the vendor's version of this file as in rev 1.4.
obrien [Mon, 28 May 2001 06:00:20 +0000 (06:00 +0000)]
Return to the vendor's version of this file as in rev 1.4.
(CVS is too stupid to realize we've done this 3 times now...)

23 years agoCVS is too stupid to realize we use the stock version of this file now.
obrien [Mon, 28 May 2001 05:54:56 +0000 (05:54 +0000)]
CVS is too stupid to realize we use the stock version of this file now.

23 years agoMerge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
obrien [Mon, 28 May 2001 05:53:00 +0000 (05:53 +0000)]
Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11[.0].

23 years agoMerge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
obrien [Mon, 28 May 2001 05:52:12 +0000 (05:52 +0000)]
Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11[.0].

23 years agoMerge our ELF branding into Binutils 2.11[.0].
obrien [Mon, 28 May 2001 05:49:34 +0000 (05:49 +0000)]
Merge our ELF branding into Binutils 2.11[.0].
I have also turned off the older 100% against-the-gABI method[*].
If you must really have it, define "WANT_OLD_BRANDELF_METHOD".

[*] but left the stretching the gABI method until I finish writing the
notes section support in the ELF image loader.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r77298,
obrien [Mon, 28 May 2001 05:21:37 +0000 (05:21 +0000)]
This commit was generated by cvs2svn to compensate for changes in r77298,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of GNU Binutils version 2.11.0.
obrien [Mon, 28 May 2001 05:21:37 +0000 (05:21 +0000)]
Import of GNU Binutils version 2.11.0.
Believe it or not, this is heavily stripped down.

23 years agogrep -v offending lines from loader.4th until the master version of it
obrien [Mon, 28 May 2001 05:18:13 +0000 (05:18 +0000)]
grep -v offending lines from loader.4th until the master version of it
is fixed.

23 years agoAdd the generated help files to CLEANDIRS.
obrien [Mon, 28 May 2001 05:12:13 +0000 (05:12 +0000)]
Add the generated help files to CLEANDIRS.

Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up

23 years agoFix overflowing on nul character.
mikeh [Mon, 28 May 2001 03:49:23 +0000 (03:49 +0000)]
Fix overflowing on nul character.

PR: bin/16926
MFC after: 1 week

23 years agoTurns out that one bit isn't enough. Introduce two new fields
imp [Mon, 28 May 2001 02:53:02 +0000 (02:53 +0000)]
Turns out that one bit isn't enough.  Introduce two new fields
csc_route and func_route to hold the way that each interrupt is
routed.  csc is Card Status Change in the datasheets and standard, but
is called "Management Interrupt" in FreeBSDese.  There are three types
of interrupt routing:  ISA parallel, PCI parallel and ISA serial (some
chipsets support other types as well, but I don't plan on supporting
them).

When we try to allocate an interrupt, and the type for that interrupt
is pci_parallel, allow it to be shared by oring in RF_SHAREABLE to the
flags argument.  Introduce pcic_alloc_resource to allow this to
happen.

23 years agoImplement snapshots. The new -d option allows the user to find out
dd [Mon, 28 May 2001 01:22:37 +0000 (01:22 +0000)]
Implement snapshots.  The new -d option allows the user to find out
who was logged in at a certain time and date.

Obtained from: OpenBSD

23 years agoHandle NULL struct device *s
brian [Mon, 28 May 2001 01:00:03 +0000 (01:00 +0000)]
Handle NULL struct device *s

23 years agoSilence warnings and compile with WARNS=2 on i386 and alpha.
dd [Mon, 28 May 2001 00:55:50 +0000 (00:55 +0000)]
Silence warnings and compile with WARNS=2 on i386 and alpha.

23 years agoIn sys/boot/common/module.c, near line 105 a request for a raw
jesper [Sun, 27 May 2001 23:26:11 +0000 (23:26 +0000)]
In sys/boot/common/module.c, near line 105 a request for a raw
file is processed by passing its name in argv[1]:
        return(mod_loadobj(typestr, argv[1]));
however, it is not tested to see if argv[1] actually is defined.

At best, mod_loadobj() near line 244 returns an error like
"can't find 'garbage'" but if the "filename" entered is sufficiently
long, some buffer gets overrun. Of course, "load -t filename" is
actually a typo because we meant to type "load -t mfs_root filename";
nevertheless, a hung machine seems like too harsh a punishment for
such a small typo...

PR: i386/27693
Submitted by: Adrian Steinmann <ast@marabu.ch>
MFC after: 1 week

23 years agoAdd two new manual pages related to general firewall and tuning issues
dillon [Sun, 27 May 2001 23:14:27 +0000 (23:14 +0000)]
Add two new manual pages related to general firewall and tuning issues

Reviewed by: hackers

23 years agoDon't confuse the admin with spurious error messages
yar [Sun, 27 May 2001 22:50:22 +0000 (22:50 +0000)]
Don't confuse the admin with spurious error messages
about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.

PR: bin/26597
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
MFC after: 3 days

23 years agofinally fix intr routing on alphas such as the as500 after months of
gallatin [Sun, 27 May 2001 22:22:03 +0000 (22:22 +0000)]
finally fix intr routing on alphas such as the as500 after months of
breakage:

- call PCIB_ROUTE_INTERRUPT() regardless of how valid the intline looks.
  Some alphas leave garbage in the intline and leave the intr mapping
  to OS platform support routines that map slots/buses to intlines
- Down in the alpha pci code, first try platform.pci_intr_route() and
  if it doesn't exist or returns garbage, just read the intline out of
  config space.

tested on AS500 (garbage in intline) and UP1000 (PC-like, intline is valid)

Note that a nice little hack like the APIC_IO section of pci_cfgregread()
is not workable.  This is because the calling interface for
alpha_pci_route_interrupt() requires us to figure out the bus/slot/etc
from a device_t.  At pci_read_device() time, we don't have a device_t
for the bus/slot/func in question.

23 years agoFix typo: "an socket" -> "a socket".
olgeni [Sun, 27 May 2001 22:17:46 +0000 (22:17 +0000)]
Fix typo: "an socket" -> "a socket".
Place period at the end of AUTHORS section.

MFC after: 1 week

23 years agoo uifree() the cr_ruidinfo in crfree() as well as cr_uidinfo now that the real uid
rwatson [Sun, 27 May 2001 21:43:46 +0000 (21:43 +0000)]
o uifree() the cr_ruidinfo in crfree() as well as cr_uidinfo now that the real uid
  info is in the credential also.

Submitted by: egge

23 years agoMiscellaneous cleanups; sync to OpenBSD as much as feasible.
dd [Sun, 27 May 2001 21:08:19 +0000 (21:08 +0000)]
Miscellaneous cleanups; sync to OpenBSD as much as feasible.
Noteworthy changes include:
 * Use getopt(3).
 * Fix overflows in -b and -w options.
 * Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and
   sprintf(3), respectively.  Also check return values of the former
   two.
 * Fix lots of other gratuitous differences with OpenBSD.

Obtained from: OpenBSD

23 years agoClose the opening comment line on these two files that mysteriouly vanished.
scottl [Sun, 27 May 2001 21:07:39 +0000 (21:07 +0000)]
Close the opening comment line on these two files that mysteriouly vanished.

23 years agoCleanup mail(1)'s varying styles by converting to using style(9).
mikeh [Sun, 27 May 2001 20:26:22 +0000 (20:26 +0000)]
Cleanup mail(1)'s varying styles by converting to using style(9).

Also take a stab at cleaning up BDECFLAGS and convert all uses of
NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to
get diffs somewhat closer to OpenBSD/NetBSD.

There are no functional changes however.
Reviewed by: nra (visual inspection)

23 years agoFix reboot buglet when BOOT_BTX_NOHANG is defined.
rnordier [Sun, 27 May 2001 20:15:10 +0000 (20:15 +0000)]
Fix reboot buglet when BOOT_BTX_NOHANG is defined.

Submitted by: Umesh Krishnaswamy <umesh@juniper.net>

23 years agoDrop nested __P(). This trips up Supelec's dcc.
rnordier [Sun, 27 May 2001 19:57:36 +0000 (19:57 +0000)]
Drop nested __P().  This trips up Supelec's dcc.

23 years agobeginnings of virtual playback channel support
cg [Sun, 27 May 2001 17:22:00 +0000 (17:22 +0000)]
beginnings of virtual playback channel support

instead of using two malloced arrays for storing channel lists, use an
slist.  convert the sndstat device to use sbufs and optionally provide more
detail about channel state.

vchans are software mixed playback channels.  they are not enabled by this
commit.  they use the feeder infrastructure to emulate normal playback
channels in a manner transparent to applications, whilst providing as many
channels are desired, especially suitable for devices with only one hardware
playback channel.  in the future they will provide additional features.

those wishing to test this functionality will need to add vchan.c to
sys/conf/files and use 'sysctl -w hw.snd.pcm0.vchans' to enable it.

blocksize and auto-rate selection are not yet supported.

23 years agoAs in with ":", check dictionary space and increase it if necessary before
dcs [Sun, 27 May 2001 16:30:10 +0000 (16:30 +0000)]
As in with ":", check dictionary space and increase it if necessary before
"create".

23 years agoMFS: Add vim-lite and netscape47-navigator.
olgeni [Sun, 27 May 2001 15:45:05 +0000 (15:45 +0000)]
MFS: Add vim-lite and netscape47-navigator.

23 years agoadd a new method for retrieving feeder parameters
cg [Sun, 27 May 2001 14:49:14 +0000 (14:49 +0000)]
add a new method for retrieving feeder parameters

23 years agodon't erase info in sndbuf_setup()
cg [Sun, 27 May 2001 14:39:34 +0000 (14:39 +0000)]
don't erase info in sndbuf_setup()
set free'd pointers to NULL in sndbuf_free()
add a new function

23 years agoAdd an example of a kernel configuration file fragment for ISDN.
hm [Sun, 27 May 2001 11:34:15 +0000 (11:34 +0000)]
Add an example of a kernel configuration file fragment for ISDN.

23 years agoThe PERL_THREADED knob is causing too many people too many problems.
sheldonh [Sun, 27 May 2001 11:23:31 +0000 (11:23 +0000)]
The PERL_THREADED knob is causing too many people too many problems.
Add a dire warning about the experimental nature of threaded Perl.

23 years agoImplement a HTTP_USER_AGENT environment variable.
des [Sun, 27 May 2001 11:00:36 +0000 (11:00 +0000)]
Implement a HTTP_USER_AGENT environment variable.

PR: 27669
Submitted by: Eoin Lawless <eoin@maths.tcd.ie>

23 years agoDamn. Fix typo in previous commit.
des [Sun, 27 May 2001 10:46:19 +0000 (10:46 +0000)]
Damn.  Fix typo in previous commit.

23 years agoupdate the sample isdnd.rc file with a firmware keyword example and a real
hm [Sun, 27 May 2001 08:05:57 +0000 (08:05 +0000)]
update the sample isdnd.rc file with a firmware keyword example and a real
world example of the use of the valid keyword in conjunction with budget
handling.

23 years agoInstead of defining CONS_CLRHIST if it isn't defined, simply disable
dd [Sun, 27 May 2001 06:28:08 +0000 (06:28 +0000)]
Instead of defining CONS_CLRHIST if it isn't defined, simply disable
the -c option [when CONS_CLRHIST isn't defined].  This is okay since
the only time CONS_CLRHIST wouldn't be defined is when kbdcontrol is
being built in bootstrap-tools, and -c isn't needed then.

Submitted by: imp

23 years agoAllow a shareable interrupts. Note, the bridge must set this flag or
imp [Sun, 27 May 2001 05:53:37 +0000 (05:53 +0000)]
Allow a shareable interrupts.  Note, the bridge must set this flag or
the irq will be unshareable, as things are now.

More work likely is needed, but this is a good checkpoint.

# pcic_pci.c is getting closer :-)

23 years agoA la rev. 1.36, define CONS_CLRHIST here if it isn't already since
dd [Sun, 27 May 2001 04:03:52 +0000 (04:03 +0000)]
A la rev. 1.36, define CONS_CLRHIST here if it isn't already since
this is a build tool, so it has to build on 4.x with the old headers.

23 years agoPrint out the asc/ascq and description even when both the asc and ascq
ken [Sun, 27 May 2001 03:22:51 +0000 (03:22 +0000)]
Print out the asc/ascq and description even when both the asc and ascq
are zero.  This is so that users will see the "no addtional sense" printout
and know that they have the full sense information.

23 years agoIn the VIRTUAL_TTY macro, add a check to make sure that the result of
dd [Sun, 27 May 2001 00:57:25 +0000 (00:57 +0000)]
In the VIRTUAL_TTY macro, add a check to make sure that the result of
SC_DEV isn't NULL; if it is, evaluate to NULL and don't dereference
NULL.  Callers of VIRTUAL_TTY must already check for the result being
NULL since si_tty can be NULL, so this should be safe.

This fixes a panic when trying to switch to a different vty in an
environment such as userconfig (-c option to the kernel).

PR: 26508

23 years agoAdd a -c option which clears the history buffer using the new
dd [Sun, 27 May 2001 00:47:38 +0000 (00:47 +0000)]
Add a -c option which clears the history buffer using the new
CONS_CLRHIST ioctl.

PR: 27616
Reviewed by: ru

23 years agoAdd a CONS_CLRHIST ioctl which instructs syscons to clear the history
dd [Sun, 27 May 2001 00:45:59 +0000 (00:45 +0000)]
Add a CONS_CLRHIST ioctl which instructs syscons to clear the history
(scroll-back) buffer.

PR: 27616
Reviewed by: ru

23 years agoAcquire vm_mtx before calling vm_pager_deallocate.
dd [Sun, 27 May 2001 00:42:46 +0000 (00:42 +0000)]
Acquire vm_mtx before calling vm_pager_deallocate.

Reviewed by: phk

23 years agoFix a trivial warning and clamp down with WARNS=2
kris [Sat, 26 May 2001 22:47:58 +0000 (22:47 +0000)]
Fix a trivial warning and clamp down with WARNS=2

MFC after:      1 week

23 years agoFix a trivial warning and clamp down with WARNS=2
kris [Sat, 26 May 2001 22:45:14 +0000 (22:45 +0000)]
Fix a trivial warning and clamp down with WARNS=2

MFC after: 1 week

23 years agoFix some trivial warnings and clamp down with WARNS=2
kris [Sat, 26 May 2001 22:39:33 +0000 (22:39 +0000)]
Fix some trivial warnings and clamp down with WARNS=2

MFC after: 1 week

23 years agoFix WARNS=2 warnings on alpha and i386 and clamp it down
kris [Sat, 26 May 2001 21:49:29 +0000 (21:49 +0000)]
Fix WARNS=2 warnings on alpha and i386 and clamp it down

23 years agoFix warnings to compile with WARNS=2 on i386 and alpha
kris [Sat, 26 May 2001 20:45:25 +0000 (20:45 +0000)]
Fix warnings to compile with WARNS=2 on i386 and alpha

Reviewed by: bde

23 years agoDon't copy the trailing zero in readlink, it confuses namei().
phk [Sat, 26 May 2001 20:07:57 +0000 (20:07 +0000)]
Don't copy the trailing zero in readlink, it confuses namei().

PR: 27656

23 years agoo pcred-removal changes included modifications to optimize the setting of
rwatson [Sat, 26 May 2001 19:59:44 +0000 (19:59 +0000)]
o pcred-removal changes included modifications to optimize the setting of
  the saved uid and gid during execve().  Unfortunately, the optimizations
  were incorrect in the case where the credential was updated, skipping
  the setting of the saved uid and gid when new credentials were generated.
  This change corrects that problem by handling the newcred!=NULL case
  correctly.

Reported/tested by: David Malone <dwmalone@maths.tcd.ie>

Obtained from: TrustedBSD Project

23 years agoWhen running on a tty, install an authentication callback.
des [Sat, 26 May 2001 19:51:05 +0000 (19:51 +0000)]
When running on a tty, install an authentication callback.

23 years agoDocument the authentication callback interface.
des [Sat, 26 May 2001 19:38:34 +0000 (19:38 +0000)]
Document the authentication callback interface.
Update RFC references (should have done that ages ago...)

23 years agoBump major number.
des [Sat, 26 May 2001 19:37:26 +0000 (19:37 +0000)]
Bump major number.

23 years agoAdd rudimentary support for an authentication callback function.
des [Sat, 26 May 2001 19:37:15 +0000 (19:37 +0000)]
Add rudimentary support for an authentication callback function.

23 years agoMAXPATHLEN -> PATH_MAX
des [Sat, 26 May 2001 19:36:49 +0000 (19:36 +0000)]
MAXPATHLEN -> PATH_MAX

23 years agoFrom the submitter:
markm [Sat, 26 May 2001 17:40:09 +0000 (17:40 +0000)]
From the submitter:

$ PERL_DL_NONLAZY=1 perl -MPOSIX -e ''
Can't load '/usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so' for module
POSIX: /usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so: Undefined
symbol "sv_setptrobj" at /usr/libdata/perl/5.6.0/XSLoader.pm line 73.
 at /usr/libdata/perl/5.6.0/mach/POSIX.pm line 24
Compilation failed in require.
BEGIN failed--compilation aborted.

This problem only exists in -CURRENT.  Most often it is reproduced when
compiling some perl extension manually.  Make test uses PERL_DL_NONLAZY,
and if a tested module uses POSIX, boom!

Luckily, we don't see it very often, mostly because the vast majority of
p5 ports do not perform the `make test' step.

Submitted by: Anton Berezin <tobez@tobez.org>
Needs to be a committer already: Anton Berezin <tobez@tobez.org>

23 years agoPlug memory leak.
des [Sat, 26 May 2001 17:23:38 +0000 (17:23 +0000)]
Plug memory leak.

PR: 27506

23 years agoo Include file to provide prototypes for regression testing-specific
rwatson [Sat, 26 May 2001 15:37:25 +0000 (15:37 +0000)]
o Include file to provide prototypes for regression testing-specific
  system calls/et al.  Not much in there just yet, but will most likely
  grow.

Obtained from: TrustedBSD Project

23 years agoMake dg_echo return up to the first 65536 bytes of a datagram.
dwmalone [Sat, 26 May 2001 14:40:39 +0000 (14:40 +0000)]
Make dg_echo return up to the first 65536 bytes of a datagram.
The patch I used isn't quite the one Lars suggested, but the size
of the largest datagram you can recv isn't #defined anywhere, and
probably isn't even bounded for some protocols.

PR: 25050
Submitted by: Lars Eggert <larse@isi.edu>

23 years agoDon't spell requester as requestor.
dwmalone [Sat, 26 May 2001 14:33:47 +0000 (14:33 +0000)]
Don't spell requester as requestor.