]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoAdd an allscreens_kbdflags option. Same thing as allscreens_flags,
dd [Sat, 28 Apr 2001 20:56:53 +0000 (20:56 +0000)]
Add an allscreens_kbdflags option.  Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol.

Reviewed by: ru

23 years agomdoc(7) police: use .Va and .Vt where appropriate
dd [Sat, 28 Apr 2001 20:51:23 +0000 (20:51 +0000)]
mdoc(7) police: use .Va and .Vt where appropriate

Reviewed by: ru

23 years agoRemind the user that they need to check CPAN manually for updates
joe [Sat, 28 Apr 2001 16:15:50 +0000 (16:15 +0000)]
Remind the user that they need to check CPAN manually for updates
to perl5 modules installed by hand.

23 years agoCleaner method of making PAMable apps static (in the optional case of
markm [Sat, 28 Apr 2001 15:18:10 +0000 (15:18 +0000)]
Cleaner method of making PAMable apps static (in the optional case of
wanting static apps).

23 years agoAdd category definitions (which were missing) for locale categories LC_MESSAGES,
phantom [Sat, 28 Apr 2001 15:13:30 +0000 (15:13 +0000)]
Add category definitions (which were missing) for locale categories LC_MESSAGES,
LC_NUMERIC, LC_MONETARY. Information source is POSIX locale defintions
collection at ftp://dkuug.dk/i18n/WG15-collection/

23 years agoDike out Kerberos(IV) support on the grounds that better kerberos
markm [Sat, 28 Apr 2001 13:44:14 +0000 (13:44 +0000)]
Dike out Kerberos(IV) support on the grounds that better kerberos
support can be gotten via PAM.

23 years agoDike out the Kerberos(IV) support on the grounds that better kerberos
markm [Sat, 28 Apr 2001 13:40:52 +0000 (13:40 +0000)]
Dike out the Kerberos(IV) support on the grounds that better kerberos
support can be already obtained via PAM.

23 years agoImprove description of "new_sysent".
alex [Sat, 28 Apr 2001 13:19:20 +0000 (13:19 +0000)]
Improve description of "new_sysent".

23 years agoAdd SYSCALL_MODULE.9, a manpage for the SYSCALL_MODULE wrapper macro
alex [Sat, 28 Apr 2001 13:18:40 +0000 (13:18 +0000)]
Add SYSCALL_MODULE.9, a manpage for the SYSCALL_MODULE wrapper macro
for syscall klds.

Some text of this manpage is based on the comments in the example
syscall module written by Assar Westerlund.

Reviewed by: ru

23 years agoInstead of asserting that a mutex is not still locked after unlocking it,
alfred [Sat, 28 Apr 2001 12:11:01 +0000 (12:11 +0000)]
Instead of asserting that a mutex is not still locked after unlocking it,
assert that the mutex is owned and not recursed prior to unlocking it.

This should give a clearer diagnostic when a programming error is caught.

23 years agoEnable (optional) static linking.
markm [Sat, 28 Apr 2001 08:06:33 +0000 (08:06 +0000)]
Enable (optional) static linking.

23 years agoDamn. That should be _enable_ static linking, not _force_ static linking.
markm [Sat, 28 Apr 2001 07:58:12 +0000 (07:58 +0000)]
Damn. That should be _enable_ static linking, not _force_ static linking.

23 years agoEnable (optional) static linking.
markm [Sat, 28 Apr 2001 07:56:49 +0000 (07:56 +0000)]
Enable (optional) static linking.
Asked for by: BDE

23 years agoChange names of functions and variables with global scope that are
markm [Sat, 28 Apr 2001 07:55:19 +0000 (07:55 +0000)]
Change names of functions and variables with global scope that are
in conflict with library values of the same name. This allows static
linking.

23 years agoAllow static linking.
markm [Sat, 28 Apr 2001 07:44:37 +0000 (07:44 +0000)]
Allow static linking.
Asked for by: BDE

23 years agoClean up the error handling code a bit. There is no need to "roll our
markm [Sat, 28 Apr 2001 07:43:01 +0000 (07:43 +0000)]
Clean up the error handling code a bit. There is no need to "roll our
own" error() routine when errx() is available. This resolves a conflict
when linking statically.

23 years agoDistinguish between rpc version numbers in the client cache to avoid
alfred [Sat, 28 Apr 2001 04:26:32 +0000 (04:26 +0000)]
Distinguish between rpc version numbers in the client cache to avoid
replying on the wrong port.

23 years agohandles.c belonged to the old stub lockd, nuke it.
alfred [Sat, 28 Apr 2001 02:19:15 +0000 (02:19 +0000)]
handles.c belonged to the old stub lockd, nuke it.

23 years agoprocs.c belonged to the old stub lockd, nuke it.
alfred [Sat, 28 Apr 2001 02:17:33 +0000 (02:17 +0000)]
procs.c belonged to the old stub lockd, nuke it.

23 years agoDocument "chdir" builtin.
dd [Sat, 28 Apr 2001 02:13:58 +0000 (02:13 +0000)]
Document "chdir" builtin.

23 years agoAdd in a missing call to forward_hardclock() in the SMP case.
jhb [Sat, 28 Apr 2001 01:37:44 +0000 (01:37 +0000)]
Add in a missing call to forward_hardclock() in the SMP case.

Submitted by: bde

23 years agoFix wrong (char) cast (instead of unsigned char) causing highlighting of all
ache [Fri, 27 Apr 2001 22:35:44 +0000 (22:35 +0000)]
Fix wrong (char) cast (instead of unsigned char) causing highlighting of all
8bit characters due to famous sign extension bug.

23 years agobe more specific in identifying the chip type
cg [Fri, 27 Apr 2001 22:26:36 +0000 (22:26 +0000)]
be more specific in identifying the chip type

23 years agoNew release note: SMPng on alpha.
bmah [Fri, 27 Apr 2001 22:25:15 +0000 (22:25 +0000)]
New release note:  SMPng on alpha.

MFC noted:  wx(4) hardware support.

23 years agoAddress a number of problems with sysctl_vm_zone().
alfred [Fri, 27 Apr 2001 22:24:45 +0000 (22:24 +0000)]
Address a number of problems with sysctl_vm_zone().

The zone allocator's locks should be leaflocks, meaning that they
should never be held when entering into another subsystem, however
the sysctl grabs the zone global mutex and individual zone mutexes
while holding the lock it calls SYSCTL_OUT which recurses into the
VM subsystem in order to wire user memory to do a safe copy.  This
can block and cause lock order reversals.

To fix this:
  lock zone global.
  get a count of the number of zones.
  unlock global.
  allocate temporary storage.
  format and SYSCTL_OUT the banner.
  lock global.
  traverse list.
    make sure we haven't looped more than the initial count taken
      to avoid overflowing the allocated buffer.
    lock each nodes.
    read values and format into buffer.
    unlock individual node.
  unlock global.
  format and SYSCTL_OUT the rest of the data.
  free storage.
  return.

Other problems included not checking for errors when doing sysctl out
of the column header.  Fixed.

Inconsistant termination of the copied string. Fixed.

Objected to by: des (for not using sbuf)

Since the output is not variable length and I'm actually over
allocating signifigantly and I'd like to get this fixed now, I'll
work on the sbuf convertion at a later date.  I would not object
to someone else taking it upon themselves to convert it to sbuf.
I hold no MAINTIANER rights to this code (for now).

23 years agoBetter handling of ioctl(SIOCSIFFLAGS) failing in ifpromisc():
fenner [Fri, 27 Apr 2001 22:20:22 +0000 (22:20 +0000)]
Better handling of ioctl(SIOCSIFFLAGS) failing in ifpromisc():
- Don't print the "promiscuous mode (enabled|disabled)" on failure
- Restore the reference count on failure

23 years agoFirst commit of RELNOTESng, the rewrite of the *.TXT documentation
bmah [Fri, 27 Apr 2001 21:28:02 +0000 (21:28 +0000)]
First commit of RELNOTESng, the rewrite of the *.TXT documentation
files.

src/release/doc/README has additional information.

Reviewed by: -current, -doc

23 years agoSome ports have been renamed after this script has been created.
olgeni [Fri, 27 Apr 2001 20:43:57 +0000 (20:43 +0000)]
Some ports have been renamed after this script has been created.

A couple of renames are needed (disc 1):

  print/xpdf -> graphics/xpdf
  mail/pine -> mail/pine4

23 years agoMove the disklabel construction to the attach function instead of
sos [Fri, 27 Apr 2001 19:47:33 +0000 (19:47 +0000)]
Move the disklabel construction to the attach function instead of
in open. This prevent panics when a the disklabel is accessed on
an ATA-RAID subdisk.

23 years agoCheck the new kern.smp.active sysctl rather than the non-existent
jhb [Fri, 27 Apr 2001 19:33:50 +0000 (19:33 +0000)]
Check the new kern.smp.active sysctl rather than the non-existent
smp.smp_active sysctl to determine if we are running on an SMP machine.

23 years agoOverhaul of the SMP code. Several portions of the SMP kernel support have
jhb [Fri, 27 Apr 2001 19:28:25 +0000 (19:28 +0000)]
Overhaul of the SMP code.  Several portions of the SMP kernel support have
been made machine independent and various other adjustments have been made
to support Alpha SMP.

- It splits the per-process portions of hardclock() and statclock() off
  into hardclock_process() and statclock_process() respectively.  hardclock()
  and statclock() call the *_process() functions for the current process so
  that UP systems will run as before.  For SMP systems, it is simply necessary
  to ensure that all other processors execute the *_process() functions when the
  main clock functions are triggered on one CPU by an interrupt.  For the alpha
  4100, clock interrupts are delievered in a staggered broadcast fashion, so
  we simply call hardclock/statclock on the boot CPU and call the *_process()
  functions on the secondaries.  For x86, we call statclock and hardclock as
  usual and then call forward_hardclock/statclock in the MD code to send an IPI
  to cause the AP's to execute forwared_hardclock/statclock which then call the
  *_process() functions.
- forward_signal() and forward_roundrobin() have been reworked to be MI and to
  involve less hackery.  Now the cpu doing the forward sets any flags, etc. and
  sends a very simple IPI_AST to the other cpu(s).  AST IPIs now just basically
  return so that they can execute ast() and don't bother with setting the
  astpending or needresched flags themselves.  This also removes the loop in
  forward_signal() as sched_lock closes the race condition that the loop worked
  around.
- need_resched(), resched_wanted() and clear_resched() have been changed to take
  a process to act on rather than assuming curproc so that they can be used to
  implement forward_roundrobin() as described above.
- Various other SMP variables have been moved to a MI subr_smp.c and a new
  header sys/smp.h declares MI SMP variables and API's.   The IPI API's from
  machine/ipl.h have moved to machine/smp.h which is included by sys/smp.h.
- The globaldata_register() and globaldata_find() functions as well as the
  SLIST of globaldata structures has become MI and moved into subr_smp.c.
  Also, the globaldata list is only available if SMP support is compiled in.

Reviewed by: jake, peter
Looked over by: eivind

23 years agoMake stathz match reality on platforms like the 4100 where hz!=1024
gallatin [Fri, 27 Apr 2001 18:21:25 +0000 (18:21 +0000)]
Make stathz match reality on platforms like the 4100 where hz!=1024
It might be more correct to make stathz as close as possible to 128,
but that would involve adding complexity to the clock intr path, which
I don't want to do.

23 years agoAdd getaddrinfo(3) to the "SEE ALSO" list.
archie [Fri, 27 Apr 2001 18:18:12 +0000 (18:18 +0000)]
Add getaddrinfo(3) to the "SEE ALSO" list.

23 years agoActually show the values that tripped the assertion "receive 1"
alfred [Fri, 27 Apr 2001 13:42:50 +0000 (13:42 +0000)]
Actually show the values that tripped the assertion "receive 1"

23 years agoRemoved reference to withdrawn secure-supfile.
ru [Fri, 27 Apr 2001 12:15:15 +0000 (12:15 +0000)]
Removed reference to withdrawn secure-supfile.

23 years agostable-supfile now covers 4.x-stable.
ru [Fri, 27 Apr 2001 12:08:34 +0000 (12:08 +0000)]
stable-supfile now covers 4.x-stable.

23 years agoMFS: revision 1.19.2.4
ru [Fri, 27 Apr 2001 12:00:35 +0000 (12:00 +0000)]
MFS: revision 1.19.2.4
Correct comments to fit current realities of exporting crypto.

23 years agomdoc(7) police: fix markup.
ru [Fri, 27 Apr 2001 10:32:48 +0000 (10:32 +0000)]
mdoc(7) police: fix markup.

23 years agomdoc(7) police: removed hard sentence breaks.
ru [Fri, 27 Apr 2001 10:27:06 +0000 (10:27 +0000)]
mdoc(7) police: removed hard sentence breaks.

23 years agomdoc(7) police: removed hard sentence break.
ru [Fri, 27 Apr 2001 10:22:17 +0000 (10:22 +0000)]
mdoc(7) police: removed hard sentence break.

23 years agomdoc(7) police: Removed forgotten .Pp.
ru [Fri, 27 Apr 2001 10:18:22 +0000 (10:18 +0000)]
mdoc(7) police: Removed forgotten .Pp.

23 years agomdoc(7) police: fix markup.
ru [Fri, 27 Apr 2001 10:13:20 +0000 (10:13 +0000)]
mdoc(7) police: fix markup.
(Shows how powerful new -mdoc is.)

23 years agomdoc(7) police: shrink list width by one character.
ru [Fri, 27 Apr 2001 09:06:50 +0000 (09:06 +0000)]
mdoc(7) police: shrink list width by one character.

23 years agomdoc(7) police:
ru [Fri, 27 Apr 2001 08:36:48 +0000 (08:36 +0000)]
mdoc(7) police:
document date updated, removed history info from the .Os call, cosmetics.

23 years agomdoc(7) police: update document date, sort xrefs, fix markup.
ru [Fri, 27 Apr 2001 08:28:44 +0000 (08:28 +0000)]
mdoc(7) police: update document date, sort xrefs, fix markup.

23 years agoGrammar nit.
ru [Fri, 27 Apr 2001 08:16:57 +0000 (08:16 +0000)]
Grammar nit.

23 years agoFixed a typo.
ru [Fri, 27 Apr 2001 08:12:45 +0000 (08:12 +0000)]
Fixed a typo.

23 years agoPut a note that `-h' and `-n' is non-standard and provided only for
sobomax [Fri, 27 Apr 2001 08:00:19 +0000 (08:00 +0000)]
Put a note that `-h' and `-n' is non-standard and provided only for
compatibility purposes.

Prompted by: ru

23 years agoo Remove the disabled p_cansched() test cases that permitted users to
rwatson [Fri, 27 Apr 2001 01:56:32 +0000 (01:56 +0000)]
o Remove the disabled p_cansched() test cases that permitted users to
  modify the scheduling properties of processes with a different real
  uid but the same effective uid (i.e., daemons, et al).  (note: these
  cases were previously commented out, so this does not change the
  compiled code at al)

Obtained from: TrustedBSD Project

23 years agoInitiate the deorbit burn sequence for sys/ipl.h by moving the software
jhb [Fri, 27 Apr 2001 00:29:45 +0000 (00:29 +0000)]
Initiate the deorbit burn sequence for sys/ipl.h by moving the software
interrupt priorities over to sys/interrupt.h next to the software interrupt
API.

23 years agoInitialize p_md.md_kernnest to 1 for newly fork'd processes since they
jhb [Thu, 26 Apr 2001 23:52:40 +0000 (23:52 +0000)]
Initialize p_md.md_kernnest to 1 for newly fork'd processes since they
start off in the kernel.

23 years agoDocument acl_get_entry(3)
jedgar [Thu, 26 Apr 2001 22:28:14 +0000 (22:28 +0000)]
Document acl_get_entry(3)

Obtained from: TrustedBSD Project

23 years agoNew release notes: Advance Logic ALS4000 driver, S3 Sonicvibes driver,
bmah [Thu, 26 Apr 2001 21:33:08 +0000 (21:33 +0000)]
New release notes:  Advance Logic ALS4000 driver, S3 Sonicvibes driver,
ln -h/-n.

23 years agoNew release notes: smbfs, fsck(8) backgrounding, fmtcheck(3),
bmah [Thu, 26 Apr 2001 20:57:25 +0000 (20:57 +0000)]
New release notes:  smbfs, fsck(8) backgrounding, fmtcheck(3),
file 3.35

MFCs noted:  groff 1.17, ping -m

23 years agovfs_subr.c is getting rather fat. The underlying repocopy and this
phk [Thu, 26 Apr 2001 20:47:14 +0000 (20:47 +0000)]
vfs_subr.c is getting rather fat.  The underlying repocopy and this
commit moves the filesystem export handling code to vfs_export.c

23 years agoDocument the "noError" variable.
olgeni [Thu, 26 Apr 2001 20:10:01 +0000 (20:10 +0000)]
Document the "noError" variable.

"noError" is used to ignore errors while processing sysinstall scripts.

Approved by: jkh

23 years agoRemove xlint from build-tools. This needs to be fixed in a different way.
asmodai [Thu, 26 Apr 2001 17:54:24 +0000 (17:54 +0000)]
Remove xlint from build-tools.  This needs to be fixed in a different way.

23 years agoChange this from being alphabetically ordered to being more "practically"
jkh [Thu, 26 Apr 2001 17:40:54 +0000 (17:40 +0000)]
Change this from being alphabetically ordered to being more "practically"
ordered by most frequent preference.

Submitted by: Adam <bsdx@looksharp.net>

23 years agoEnable static IPv6 address assignment on PCMCIA NIC.
ume [Thu, 26 Apr 2001 17:33:37 +0000 (17:33 +0000)]
Enable static IPv6 address assignment on PCMCIA NIC.

PR: conf/26633

23 years agoThe function __rpc_uaddr2taddr_af() converts an RPC "universal
iedowse [Thu, 26 Apr 2001 17:24:05 +0000 (17:24 +0000)]
The function __rpc_uaddr2taddr_af() converts an RPC "universal
address" string to a netbuf/sockaddr "transport address". In the
case of an AF_LOCAL address, it was missing the code to actually
point the netbuf at the newly allocated sockaddr_un, so the caller
ended up with a netbuf containing junk.

Submitted by:  Martin Blapp <mb@imp.ch>

23 years agoPrevious commit should read:
sobomax [Thu, 26 Apr 2001 17:22:48 +0000 (17:22 +0000)]
Previous commit should read:

style(9) Reviewed by: bde

23 years agoFix a grammar bogon.
schweikh [Thu, 26 Apr 2001 17:16:59 +0000 (17:16 +0000)]
Fix a grammar bogon.

23 years agoBring in `-h' compatability option and its alias `-n' to match NetBSD and GNU
sobomax [Thu, 26 Apr 2001 17:15:57 +0000 (17:15 +0000)]
Bring in `-h' compatability option and its alias `-n' to match NetBSD and GNU
semantics.

style(9) Reviewed by:
Obtained from: NetBSD

23 years agoBring in some bugfixes from NetBSD. I'm going to make a more
iedowse [Thu, 26 Apr 2001 17:05:55 +0000 (17:05 +0000)]
Bring in some bugfixes from NetBSD. I'm going to make a more
extensive pass through the rpcbind code soon, but I might as well
bring these in now.

- (NetBSD util.c r1.5) Move the initialisation of `tbuf' to avoid
  a case where it could end up containing junk from the stack. This
  should address the issue in PR bin/26806.
- (NetBSD util.c r1.6) Don't `merge' AF_LOCAL addresses, fix a few
  memory leaks.

PR: bin/26806
Submitted by: Martin Blapp <mb@imp.ch>
Obtained from: NetBSD

23 years agoFix the definitions for memory bank sizes, which I somehow got wrong.
wpaul [Thu, 26 Apr 2001 16:40:45 +0000 (16:40 +0000)]
Fix the definitions for memory bank sizes, which I somehow got wrong.
The constant I was using was correct, but I mislabeled it as 256K when
it should have been 512K. This doesn't actually change the code, but
it clarifies things somewhat.

Submitted by: Chuck Cranor <chuck@research.att.com>

23 years agoRemove a leading underscore that prevented I386_CPU kernels from
jake [Thu, 26 Apr 2001 13:57:03 +0000 (13:57 +0000)]
Remove a leading underscore that prevented I386_CPU kernels from
compiling.

Submitted by: Alexander N. Kabaev <ak03@gte.com>
PR: kern/26858

23 years ago"Portmapper" -> "Rpcbind" in a comment.
alex [Thu, 26 Apr 2001 13:43:02 +0000 (13:43 +0000)]
"Portmapper" -> "Rpcbind" in a comment.

23 years ago-lposix1e is dead.
ru [Thu, 26 Apr 2001 13:33:00 +0000 (13:33 +0000)]
-lposix1e is dead.

23 years agoFix some quotes and mention that it's usually necessary to train
brian [Thu, 26 Apr 2001 13:10:59 +0000 (13:10 +0000)]
Fix some quotes and mention that it's usually necessary to train
your modem to the correct speed when setting up an incoming getty.

23 years agoFix usage of GROFF_BIN_PATH.
ru [Thu, 26 Apr 2001 12:29:12 +0000 (12:29 +0000)]
Fix usage of GROFF_BIN_PATH.

23 years agoAdded missing no's to the -o options list.
ru [Thu, 26 Apr 2001 12:05:23 +0000 (12:05 +0000)]
Added missing no's to the -o options list.
Fixed markup.

23 years agomdoc(7) police: fix markup.
ru [Thu, 26 Apr 2001 11:47:49 +0000 (11:47 +0000)]
mdoc(7) police: fix markup.

23 years ago... and do it make(1) way.
ru [Thu, 26 Apr 2001 11:14:50 +0000 (11:14 +0000)]
... and do it make(1) way.

23 years agoRemove XXX_BROKEN_GCC from the Makefile.
asmodai [Thu, 26 Apr 2001 09:44:41 +0000 (09:44 +0000)]
Remove XXX_BROKEN_GCC from the Makefile.
This compiles just fine with recent gcc's.

23 years agoWhitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.
kris [Thu, 26 Apr 2001 09:22:28 +0000 (09:22 +0000)]
Whitespace cleanup pass; reduce diffs with OpenBSD.  No functional changes.

23 years agoAdd back missing arguments to format strings.
kris [Thu, 26 Apr 2001 08:40:35 +0000 (08:40 +0000)]
Add back missing arguments to format strings.

Reviewed by: hm

23 years agoReduce diffs with OpenBSD:
kris [Thu, 26 Apr 2001 08:37:00 +0000 (08:37 +0000)]
Reduce diffs with OpenBSD:
  #if __STDC__ -> #ifdef __STDC__
  pax_warn() -> paxwarn()
  sys_warn() -> syswarn()
  (foo *)NULL -> NULL
  bcopy -> memmove()/memcpy()
  bzero -> memset()
  Typo fixes
  sprintf() -> snprintf()
  rindex() -> strrchr()
  index() -> strchr()
  sys_errlist[] -> strerror()

Obtained from: OpenBSD

23 years agoUse mkstemp() for secure tempfile creation instead of tempnam()
kris [Thu, 26 Apr 2001 07:32:27 +0000 (07:32 +0000)]
Use mkstemp() for secure tempfile creation instead of tempnam()

Obtained from: OpenBSD
Reviewed by: mikeh

23 years agoFix typo in prev commit - add missing comma
ache [Thu, 26 Apr 2001 06:48:59 +0000 (06:48 +0000)]
Fix typo in prev commit - add missing comma

23 years agomdoc(7) police: remove hard sentence breaks.
dd [Thu, 26 Apr 2001 06:10:46 +0000 (06:10 +0000)]
mdoc(7) police: remove hard sentence breaks.

23 years agoAdd missing break when printing IPv6 multicast addresses.
fenner [Thu, 26 Apr 2001 06:02:03 +0000 (06:02 +0000)]
Add missing break when printing IPv6 multicast addresses.
Use the sockaddr_dl sdl_type, not ifnet.if_type, to decide what type
 a multicast sockaddr_dl is.

23 years agoRemove GCC-ism (-Wall).
will [Thu, 26 Apr 2001 04:40:57 +0000 (04:40 +0000)]
Remove GCC-ism (-Wall).

Submitted by: bde

23 years agoMore new Dell PCI IDs.
msmith [Thu, 26 Apr 2001 01:14:37 +0000 (01:14 +0000)]
More new Dell PCI IDs.

Submitted by: "Marty Moll" <martym@arbor.edu>

23 years agoRather than copying all the indirect blocks of the snapshot,
mckusick [Thu, 26 Apr 2001 00:50:53 +0000 (00:50 +0000)]
Rather than copying all the indirect blocks of the snapshot,
simply mark them as BLK_NOCOPY. This trick cuts the initial
size of the snapshot in half and cuts the time to take a
snapshot by a third.

23 years agoThe PERC 3/Di in the Dell PowerEdge 2250 has a new subdevice ID.
msmith [Thu, 26 Apr 2001 00:32:02 +0000 (00:32 +0000)]
The PERC 3/Di in the Dell PowerEdge 2250 has a new subdevice ID.

Submitted by: Chris Csanady <cc@ameslab.gov>

23 years agoSendfile is documented to return 0 on success, however if when a
alfred [Thu, 26 Apr 2001 00:14:14 +0000 (00:14 +0000)]
Sendfile is documented to return 0 on success, however if when a
sf_hdtr is used to provide writev(2) style headers/trailers on the
sent data the return value is actually either the result of writev(2)
from the trailers or headers of no tailers are specified.

Fix sendfile to comply with the documentation, by returning 0 on
success.

Ok'd by: dg

23 years agoA bogus check for a char device also matched symbolic links.
paul [Wed, 25 Apr 2001 22:07:16 +0000 (22:07 +0000)]
A bogus check for a char device also matched symbolic links.
Replace it with a correct check using S_ISCHR()

Symbolic links will now work again in linux compatibility.

23 years ago- Add some environment variables that need to be present when using packages
steve [Wed, 25 Apr 2001 21:40:57 +0000 (21:40 +0000)]
- Add some environment variables that need to be present when using packages
  from the build cluster.  These are required to get the dependencies the
  same as the parallel builds.
- Add an optional second argument that allows you to specific an alternate
  ports directory.
- Remove the temporary file after we are done with it.
- Remove ksh93 because it won't make it on the discs until the license issues
  are resolved.

Approved by: jkh

23 years agoReduce the number of $FreeBSD$'s from 3 to 2. I believe both remaining
obrien [Wed, 25 Apr 2001 20:58:28 +0000 (20:58 +0000)]
Reduce the number of $FreeBSD$'s from 3 to 2.  I believe both remaining
are needed for proper examples.

23 years agoDon't install KO's with the "schg" flag.
obrien [Wed, 25 Apr 2001 20:56:15 +0000 (20:56 +0000)]
Don't install KO's with the "schg" flag.
We are way too inconsistent with our setting of the "schg" flag, and in
our default install, it doesn't really offer any additional security.

Reviewed by: arch@

23 years agoFix SCM ID's and remove tailing blanks.
obrien [Wed, 25 Apr 2001 20:40:57 +0000 (20:40 +0000)]
Fix SCM ID's and remove tailing blanks.

23 years agoDocument XFREE86_VERSION.
jim [Wed, 25 Apr 2001 19:27:39 +0000 (19:27 +0000)]
Document XFREE86_VERSION.

23 years agoAdd /usr/X11R6/bin to the exported PATH. If /usr/local/bin is there,
obrien [Wed, 25 Apr 2001 19:11:09 +0000 (19:11 +0000)]
Add /usr/X11R6/bin to the exported PATH.  If /usr/local/bin is there,
/usr/X11R6/bin should be there.  This helps all the ports that need to
run `mkfontdir' and error out as many port maintainers do not realize
`mkfontdir' isn't in the path.

Prompted by: pkg_add pcemu

23 years agoAdd support for -F flag (trivial as background check is never possible).
mckusick [Wed, 25 Apr 2001 19:05:23 +0000 (19:05 +0000)]
Add support for -F flag (trivial as background check is never possible).

23 years agoFix compiling without -O, some dead code was using non-existant functions,
alfred [Wed, 25 Apr 2001 18:40:38 +0000 (18:40 +0000)]
Fix compiling without -O, some dead code was using non-existant functions,
make the code not automatically dead but actually use the debug level
in order to determine if output is needed.  Fix non-existant from_addr()
by #define'ing it to inet_ntoa().

Remove hardcoded -g from Makefile.

Reported by: "John W. De Boskey" <jwd@bsdwins.com>
Tested by: "John W. De Boskey" <jwd@bsdwins.com>

23 years ago- Make the dumping of console messages from the secondary CPU's to the
jhb [Wed, 25 Apr 2001 17:24:57 +0000 (17:24 +0000)]
- Make the dumping of console messages from the secondary CPU's to the
  kernel console be #ifdef DIAGNOSTIC.
- Don't set ktr_mask in release_aps().

23 years agoBackout rev.1.30, as the root of this problem was already fixed
ru [Wed, 25 Apr 2001 15:10:36 +0000 (15:10 +0000)]
Backout rev.1.30, as the root of this problem was already fixed
in bsd.obj.mk rev.1.35, and

On Tue, Apr 24, 2001 at 06:29:27AM +1000, Bruce Evans wrote:
>
> This is bogus.  It is normal for sloppy cleaning to cause problems.
> `make depend' after `make depend' should not do anything.  I'm still
> waiting for a similar problem in kdump to be fixed properly :-).

23 years agoAdd -Wall.
ru [Wed, 25 Apr 2001 14:59:16 +0000 (14:59 +0000)]
Add -Wall.

23 years ago-Wall cleanup.
ru [Wed, 25 Apr 2001 14:45:36 +0000 (14:45 +0000)]
-Wall cleanup.

23 years agounifdef -UWANT_ENV_PWD.
ru [Wed, 25 Apr 2001 14:44:42 +0000 (14:44 +0000)]
unifdef -UWANT_ENV_PWD.

No one ever going to use this bugfeature.