]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agopread/pwrite:
Andrey A. Chernov [Tue, 20 Jan 2004 01:27:42 +0000 (01:27 +0000)]
pread/pwrite:
follow lseek spirit - return EINVAL on negative offset for non-VCHR

20 years agoSimplify mpool_get() and mpool_write() by using pread() and pwrite()
David Schultz [Tue, 20 Jan 2004 00:40:35 +0000 (00:40 +0000)]
Simplify mpool_get() and mpool_write() by using pread() and pwrite()
instead of lseek()/_read() and lseek()/_write().

PR: bin/54276
Submitted by: <dnelson@allantgroup.com>

20 years agoIf we have a working link again after connectivity loss, or if we need
Martin Blapp [Mon, 19 Jan 2004 22:07:59 +0000 (22:07 +0000)]
If we have a working link again after connectivity loss, or if we need
to renew a lease, contact the dhcp-server directly instead of using
INADDR_BROADCAST all the time. This should fix some brain-dead dhcp
server implementations which give you all the time a new IP if the
lease has not yet expired.

Instead of using ICMP to check if the server is alive, we just check
the return value of sendto() and additionally have a timeout there.

20 years agoDocument __MAKE_CONF and its default, /etc/make.conf.
Jens Schweikhardt [Mon, 19 Jan 2004 21:44:58 +0000 (21:44 +0000)]
Document __MAKE_CONF and its default, /etc/make.conf.

MFC-After: 2 weeks

20 years agoAdd linenumber and source filename to panic(9) output.
Poul-Henning Kamp [Mon, 19 Jan 2004 21:27:11 +0000 (21:27 +0000)]
Add linenumber and source filename to panic(9) output.

Ideally a traceback should be printed too, any takers ?

20 years ago"The Aged Aged Man" was not a word doubling.
Jens Schweikhardt [Mon, 19 Jan 2004 21:22:21 +0000 (21:22 +0000)]
"The Aged Aged Man" was not a word doubling.

Spotted by: grog

20 years agoOne more instance of magic number used in place of IO_SEQSHIFT.
Alexander Kabaev [Mon, 19 Jan 2004 20:45:43 +0000 (20:45 +0000)]
One more instance of magic number used in place of IO_SEQSHIFT.

Submitted by: alc

20 years agoAdd WDM major/minor #defines.
Bill Paul [Mon, 19 Jan 2004 20:45:27 +0000 (20:45 +0000)]
Add WDM major/minor #defines.

20 years agoSpell magic '16' number as IO_SEQSHIFT.
Alexander Kabaev [Mon, 19 Jan 2004 20:03:43 +0000 (20:03 +0000)]
Spell magic '16' number as IO_SEQSHIFT.

20 years agoImplement IofCompleteRequest() and IoIsWdmVersionAvailable().
Bill Paul [Mon, 19 Jan 2004 19:57:00 +0000 (19:57 +0000)]
Implement IofCompleteRequest() and IoIsWdmVersionAvailable().
Correct IofCallDriver(): it's fastcall, not stdcall.
Add vector to vsprintf().

20 years agoClean up makefiles.
Ruslan Ermilov [Mon, 19 Jan 2004 19:26:02 +0000 (19:26 +0000)]
Clean up makefiles.

Reviewed by: harti

20 years agoImplement atoi() and atol(). Some drivers appear to need these. Note
Bill Paul [Mon, 19 Jan 2004 19:21:25 +0000 (19:21 +0000)]
Implement atoi() and atol(). Some drivers appear to need these. Note
that like most C library routines, these appear to be _cdecl in Windows.

20 years agoEliminate some code duplication: since ndis_runq() and ndis_intq() were
Bill Paul [Mon, 19 Jan 2004 18:56:31 +0000 (18:56 +0000)]
Eliminate some code duplication: since ndis_runq() and ndis_intq() were
basically the same function, compact them into a single loop which can
be used for both threads.

20 years agolibc is now WARNS=2 clean with the exception of the gdtoa bits (which
Jacques Vidrine [Mon, 19 Jan 2004 16:16:53 +0000 (16:16 +0000)]
libc is now WARNS=2 clean with the exception of the gdtoa bits (which
are now not built with warnings enabled at all).

20 years agoAdd prototypes for the three syscall stubs that are invoked here,
Jacques Vidrine [Mon, 19 Jan 2004 16:14:58 +0000 (16:14 +0000)]
Add prototypes for the three syscall stubs that are invoked here,
in order to quiet warnings.

20 years agoRemove files which have been removed in the 3.01RC12 release
Martin Blapp [Mon, 19 Jan 2004 15:31:57 +0000 (15:31 +0000)]
Remove files which have been removed in the 3.01RC12 release
of isc-dhcpd.

20 years agoFix breakage on timeout/retries. The bug cause a sema to be leaked so
Søren Schmidt [Mon, 19 Jan 2004 15:20:00 +0000 (15:20 +0000)]
Fix breakage on timeout/retries. The bug cause a sema to be leaked so
that the calling process would newer wakeup.

20 years agoRefactor _pthread_mutex_init
Mike Makonnen [Mon, 19 Jan 2004 15:00:57 +0000 (15:00 +0000)]
Refactor _pthread_mutex_init
o Simplify the logic by removing a lot of unnecesary nesting
o Reduce the amount of local variables
o Zero-out the allocated structure and get rid of
  all the unnecessary setting to 0 and NULL;

Refactor _pthread_mutex_destroy
o Simplify the logic by removing a lot of unnecesary nesting
o No need to check pointer that the mutex attributes points
  to. Checking passed in pointer is enough.

20 years agoImplement reference counting of read-write locks. This uses
Mike Makonnen [Mon, 19 Jan 2004 14:51:45 +0000 (14:51 +0000)]
Implement reference counting of read-write locks. This uses
a list in the thread structure to keep track of the locks and
how many times they have been locked. This list is checked
on every lock and unlock. The traversal through the list is
O(n). Most applications don't hold so many locks at once that
this will become a problem. However, if it does become a problem
it might be a good idea to review this once libthr is
off probation and in the optimization cycle.
This fixes:
o deadlock when a thread tries to recursively acquire a
  read lock when a writer is waiting on the lock.
o a thread could previously successfully unlock a lock it did not own
o deadlock when a thread tries to acquire a write lock on
  a lock it already owns for reading or writing [ this is admittedly
  not required by POSIX, but is nice to have ]

20 years agoRemoved custom "load" and "unload" targets.
Ruslan Ermilov [Mon, 19 Jan 2004 14:00:26 +0000 (14:00 +0000)]
Removed custom "load" and "unload" targets.

Removed "deinstall" targets -- the idea is to provide the standard
"deinstall" target.

20 years agoUse the standard <bsd.files.mk> API to install files.
Ruslan Ermilov [Mon, 19 Jan 2004 13:40:51 +0000 (13:40 +0000)]
Use the standard <bsd.files.mk> API to install files.

20 years agoFix "5.x release on 4.x box" support.
Makoto Matsushita [Mon, 19 Jan 2004 13:35:46 +0000 (13:35 +0000)]
Fix "5.x release on 4.x box" support.

It is required to check /etc/rc.d/ldconfig before use, because
${CHROOT} sandbox is sometimes 4.x world.  If /etc/rc.d/ldconfig
is not there, run ldconfig(8) directly.

Discussed with: imp, obrien, ru

20 years agoSync to 1.159 of usbdevs
MIHIRA Sanpei Yoshiro [Mon, 19 Jan 2004 12:53:23 +0000 (12:53 +0000)]
Sync to 1.159 of usbdevs

20 years agoAdd support IO-data DVD Multi-plus unit iU-CD2
MIHIRA Sanpei Yoshiro [Mon, 19 Jan 2004 12:51:40 +0000 (12:51 +0000)]
Add support IO-data DVD Multi-plus unit iU-CD2

PR: kern/61578
Submitted by: Masaharu FUJITA <m@fjts.org>
MFC after: 1 week

20 years agoadd cross-reference to clock_gettime(2)
Poul-Henning Kamp [Mon, 19 Jan 2004 12:41:39 +0000 (12:41 +0000)]
add cross-reference to clock_gettime(2)

20 years agoNormalize SUBDIR.
Ruslan Ermilov [Mon, 19 Jan 2004 12:36:08 +0000 (12:36 +0000)]
Normalize SUBDIR.

20 years agoBring the *printf(3) documentation up to date with the code:
David Schultz [Mon, 19 Jan 2004 08:28:30 +0000 (08:28 +0000)]
Bring the *printf(3) documentation up to date with the code:

- Update and improve the documentation for %[aA]
  o Like %[eE], %[aA] may round the result if a precision is specified.
  o Grammar police: Fix a split infinitive.
  o The FreeBSD implementation does better than the minimum required
    by C99 (literal translation of the mantissa).  The digit before
    the hexadecimal-point is never 0 unless the number itself is 0.
  o Clarify that the exponent field represents a decimal exponent of 2.
  o Discuss the fact that multiple valid representations are possible.
  o Remove the entry in the BUGS section claiming that %[aA] is not
    implemented.

- Remove the entry in the BUGS section claiming that the ' flag for
  printing thousands separators is unimplemented for floating-point.

- Remove the entry in the BUGS section claiming that the L modifier
  reduces the precision to "double" before conversion.

20 years agoProperly program the multicast filter in ndis_setmulti(),
Bill Paul [Mon, 19 Jan 2004 07:03:46 +0000 (07:03 +0000)]
Properly program the multicast filter in ndis_setmulti(),
and fix promisc mode in ndis_ioctl().

20 years agoAdd regression tests for printf's %a/%A formats.
David Schultz [Mon, 19 Jan 2004 05:59:07 +0000 (05:59 +0000)]
Add regression tests for printf's %a/%A formats.

While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).

20 years agoAdd regression tests for some of the bugs recently discovered in the
David Schultz [Mon, 19 Jan 2004 05:30:56 +0000 (05:30 +0000)]
Add regression tests for some of the bugs recently discovered in the
vendor's strtod() implementation.

While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).

20 years agoChange WI_RID_SCAN_RES compatibility interface to return the result after
Atsushi Onoe [Mon, 19 Jan 2004 05:25:43 +0000 (05:25 +0000)]
Change WI_RID_SCAN_RES compatibility interface to return the result after
active scan is completed just as WI_RID_READ_APS.
This fixes wicontrol -L for ath(4) and awi(4) to have results even if
the driver cannot associate any APs.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r124703,
David Schultz [Mon, 19 Jan 2004 05:14:12 +0000 (05:14 +0000)]
This commit was generated by cvs2svn to compensate for changes in r124703,
which included commits to RCS files with non-trunk default branches.

20 years agoImport gdtoa 20040118. This revision addresses some corner cases in
David Schultz [Mon, 19 Jan 2004 05:14:12 +0000 (05:14 +0000)]
Import gdtoa 20040118.  This revision addresses some corner cases in
denormal and locale handling in strtod().

20 years agoFixed misplacement and bitrot in the cy driver's configuration in
Bruce Evans [Mon, 19 Jan 2004 02:18:34 +0000 (02:18 +0000)]
Fixed misplacement and bitrot in the cy driver's configuration in
rev.1.1040.  It is a miscellaneous isa+pci driver, but came back
described as a pci-only driver and placed in an i4b pci subsection
after its migration to /sys/conf/NOTES.  Put it back where it used to
be, fully unsorted in the `Miscellaneous hardware' section.  Reduced
nearby disorder in this section by moving configuration of the digi
driver to where it was for the old digiboard drivers, so that the
order at least matches the order in the table of contents.

20 years agoRemoved some garbage comments:
Bruce Evans [Mon, 19 Jan 2004 01:44:06 +0000 (01:44 +0000)]
Removed some garbage comments:
- references to removed math emulators for NPX_DEBUG
- header for the null set of mandatory devices
- reference to the removed (and bogus when it existed) sysctl
  kern.timecounter.method.

20 years agoFixed formatting of sentence breaks. Use 2 spaces for all of them instead
Bruce Evans [Mon, 19 Jan 2004 01:26:59 +0000 (01:26 +0000)]
Fixed formatting of sentence breaks.  Use 2 spaces for all of them instead
of for about 3/4 of them.

20 years agoFIxed unsorting in previous commit (description of CPU_ENABLE_TCC).
Bruce Evans [Mon, 19 Jan 2004 01:07:18 +0000 (01:07 +0000)]
FIxed unsorting in previous commit (description of CPU_ENABLE_TCC).

FIxed some nearby disorder (descriptions of CPU_BLUELIGHTNING_3X,
CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_CMPXCHG, CPU_DISABLE_SSE,
CPU_ELAN_XTAL and CPU_SOEKRIS, and options for all of these except
CPU_DIRECT_MAPPED_CACHE).

20 years agoReformat the list of essential mbuf fields according
Yaroslav Tykhiy [Sun, 18 Jan 2004 23:42:28 +0000 (23:42 +0000)]
Reformat the list of essential mbuf fields according
to the nice style used in ifnet(9).
This includes specifying field types, starting descriptions
with a capital letter, and ending them with a full stop.
Improve the language a bit, as well.

20 years agoConvert from using taskqueue_swi to using private kernel threads. The
Bill Paul [Sun, 18 Jan 2004 22:57:11 +0000 (22:57 +0000)]
Convert from using taskqueue_swi to using private kernel threads. The
problem with using taskqueue_swi is that some of the things we defer
into threads might block for up to several seconds. This is an unfriendly
thing to do to taskqueue_swi, since it is assumed the taskqueue threads
will execute fairly quickly once a task is submitted. Reorganized the
locking in if_ndis.c in the process.

Cleaned up ndis_write_cfg() and ndis_decode_parm() a little.

20 years agoWork around removal of EAI_NODATA from netdb.h.
Dag-Erling Smørgrav [Sun, 18 Jan 2004 22:31:30 +0000 (22:31 +0000)]
Work around removal of EAI_NODATA from netdb.h.

20 years agoRevision 1.7 of this file added information
Tim Kientzle [Sun, 18 Jan 2004 22:24:23 +0000 (22:24 +0000)]
Revision 1.7 of this file added information
about the location of each program's source.

This update optimizes the build a bit by giving that
information to crunchgen rather than asking crunchgen
to do a directory search to locate sources.

Approved by: gordon (Mentor)

20 years agoRemove verbage about -O2 producing bad code on Alpha. By all accounts
David E. O'Brien [Sun, 18 Jan 2004 22:14:23 +0000 (22:14 +0000)]
Remove verbage about -O2 producing bad code on Alpha.  By all accounts
GCC 3.3 -O2 produces correct code on Alpha.  However, note that FreeBSD
has alias bugs that make -O2 produce bad code on all(most?) platforms.
Also don't tell people we don't want -O2 related bug reports, we do -- if
they contain patches.

20 years agoRemove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make
Philippe Charnier [Sun, 18 Jan 2004 21:46:39 +0000 (21:46 +0000)]
Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, make
a new function dup_shell() to replace ok_shell() and make it unconditionnally
strdup() its result to make the caller's code simplier. Change ok_shell() to
just return an integer value suitable for tests (it was used mainly for that
purpose). Do not use strdup() in the caller's code but rely on dup_shell()
that will do the job for us.

PR: bin/2442

20 years agoadd missing endusershell() call. Original version was incorrect.
Philippe Charnier [Sun, 18 Jan 2004 21:33:25 +0000 (21:33 +0000)]
add missing endusershell() call. Original version was incorrect.
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>

20 years agoUpdate the list of mbuf types from <sys/mbuf.h>.
Yaroslav Tykhiy [Sun, 18 Jan 2004 21:29:46 +0000 (21:29 +0000)]
Update the list of mbuf types from <sys/mbuf.h>.

20 years agoadd missing setusershell() calls.
Philippe Charnier [Sun, 18 Jan 2004 21:29:33 +0000 (21:29 +0000)]
add missing setusershell() calls.

PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>

20 years agoUpdate the list of possible mbuf flags from <sys/mbuf.h>.
Yaroslav Tykhiy [Sun, 18 Jan 2004 21:23:30 +0000 (21:23 +0000)]
Update the list of possible mbuf flags from <sys/mbuf.h>.

20 years agoAdd new CPU_ENABLE_TCC option, from NOTES:
Maxim Sobolev [Sun, 18 Jan 2004 21:18:00 +0000 (21:18 +0000)]
Add new CPU_ENABLE_TCC option, from NOTES:

CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some
Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected,
TCC allows to restrict power consumption by using machdep.cpuperf*
sysctls. This operates independently of SpeedStep and is useful on
systems where other mechanisms such as apm(4) or acpi(4) don't work.

Given the fact that many, even modern, notebooks don't work properly
with Intel ACPI, this is indeed very useful option for notebook owners.

Obtained from:  OpenBSD
MFC after:      2 weeks

20 years agoAdd new CPU_ENABLE_TCC option, from NOTES:
Maxim Sobolev [Sun, 18 Jan 2004 21:06:56 +0000 (21:06 +0000)]
Add new CPU_ENABLE_TCC option, from NOTES:

CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some
Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected,
TCC allows to restrict power consumption by using machdep.cpuperf*
sysctls. This operates independently of SpeedStep and is useful on
systems where other mechanisms such as apm(4) or acpi(4) don't work.

Given the fact that many, even modern, notebooks don't work properly
with Intel ACPI, this is indeed very useful option for notebook owners.

Obtained from: OpenBSD
MFC after: 2 weeks

20 years agoA network interface driver can support IFCAP_VLAN_MTU only,
Yaroslav Tykhiy [Sun, 18 Jan 2004 19:29:04 +0000 (19:29 +0000)]
A network interface driver can support IFCAP_VLAN_MTU only,
without IFCAP_VLAN_HWTAGGING.  The previous version of the
leading comment in this file could lead to the opposite conclusion.

Fix some typos in the comment as well.

20 years agoo -m flags contructs case sensitive RE, not case insensitive.
Maxim Konovalov [Sun, 18 Jan 2004 17:51:34 +0000 (17:51 +0000)]
o -m flags contructs case sensitive RE, not case insensitive.

MFC after: 1 week

20 years agoo Sync usage() and man page synopsis with reality.
Maxim Konovalov [Sun, 18 Jan 2004 17:49:25 +0000 (17:49 +0000)]
o Sync usage() and man page synopsis with reality.

MFC after: 1 week

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 17:34:11 +0000 (17:34 +0000)]
Fixed a memory leak.

Reported by: Stanford Metacompilation research group
Reviewed by: scottl

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 17:21:15 +0000 (17:21 +0000)]
Fixed a memory leak.

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 16:55:01 +0000 (16:55 +0000)]
Fixed a memory leak.

Reported by: Stanford Metacompilation research group

20 years agoFix botch in last commit.
Søren Schmidt [Sun, 18 Jan 2004 15:58:30 +0000 (15:58 +0000)]
Fix botch in last commit.

20 years agoSync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).
Yoshihiro Takahashi [Sun, 18 Jan 2004 15:16:12 +0000 (15:16 +0000)]
Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).

Suggested by: matusita

20 years agoDeal better with the crypto version of the PAM library that goes
Ruslan Ermilov [Sun, 18 Jan 2004 14:58:07 +0000 (14:58 +0000)]
Deal better with the crypto version of the PAM library that goes
on the release media -- only put what is different in the crypto
version compared to the base version.  This reduces PAM entries
in /usr/lib in the "crypto" distribution to:

libpam.a
libpam.so@
libpam.so.2
pam_krb5.so@
pam_krb5.so.2
pam_ksu.so@
pam_ksu.so.2
pam_ssh.so@
pam_ssh.so.2

The libpam.so* is still redundant (it is identical to the "base"
version), but we can't set DISTRIBUTION differently for libpam.a
and libpam.so.

(The removal of libpam.so* from the crypto distribution could be
addressed by the release/scripts/crypto-make.sh script, but then
we'd also need to remove redundant PAM headers, and I'm not sure
this is worth a hassle.)

20 years agoSince "m" is not part of the "mp" chain, need to free() it.
Ruslan Ermilov [Sun, 18 Jan 2004 14:02:53 +0000 (14:02 +0000)]
Since "m" is not part of the "mp" chain, need to free() it.

Reported by: Stanford Metacompilation research group

20 years agoApparently there's a good reason why M_WAITOK malloc() is done before
Ruslan Ermilov [Sun, 18 Jan 2004 13:09:38 +0000 (13:09 +0000)]
Apparently there's a good reason why M_WAITOK malloc() is done before
xpt_create_path().

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 12:49:36 +0000 (12:49 +0000)]
Fixed a memory leak.

Reported by: Stanford Metacompilation research group

20 years agoEmpty vendor string overrides knowndevs
MIHIRA Sanpei Yoshiro [Sun, 18 Jan 2004 12:46:19 +0000 (12:46 +0000)]
Empty vendor string overrides knowndevs

ubd_devinfo_vp() is getting an empty string from its  usbd_get_string()
call on the vendor, instead of NULL.  This means usb_knowndevs in not
consulted.

Add lines between grabbing those char *s and the USBVERBOSE ifdef to
set vendor to NULL if it is the empty string (similarly for product).

This causes vendor to be filled-out, although the product name read
overrules usb_knowndevs (this appears to be a conscience decision made
by the NetBSD folks):

PR: kern/56097
Submitted by: Hal Burch <hburch@lumeta.com>
MFC after: 1 week

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 12:32:06 +0000 (12:32 +0000)]
Fixed a memory leak.

Submitted by: Stanford Metacompilation research group

20 years agoFixed a memory leak.
Ruslan Ermilov [Sun, 18 Jan 2004 12:26:33 +0000 (12:26 +0000)]
Fixed a memory leak.

Submitted by: Stanford Metacompilation research group

20 years agoAdd missing free's.
Søren Schmidt [Sun, 18 Jan 2004 10:50:40 +0000 (10:50 +0000)]
Add missing free's.

20 years agoImplement __hdtoa() and __hldtoa() and enable printf() support for %a
David Schultz [Sun, 18 Jan 2004 10:32:49 +0000 (10:32 +0000)]
Implement __hdtoa() and __hldtoa() and enable printf() support for %a
and %A, which print floating-point numbers in hexadecimal.

20 years agoAvoid overwriting capability bits marked earlier
Yaroslav Tykhiy [Sun, 18 Jan 2004 10:15:48 +0000 (10:15 +0000)]
Avoid overwriting capability bits marked earlier
when setting HW checksum offload bits.

Enable available capabilities properly.

Reviewed by: sam

20 years agoDISTRIBUTION is normally single-valued.
Ruslan Ermilov [Sun, 18 Jan 2004 09:32:52 +0000 (09:32 +0000)]
DISTRIBUTION is normally single-valued.

20 years agoPut chkey(1), newkey(8), and keyserv(8) into the crypto distribution.
Ruslan Ermilov [Sun, 18 Jan 2004 09:29:47 +0000 (09:29 +0000)]
Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution.

20 years agoPay attention to the timeout value passed down by the upper layer.
MIHIRA Sanpei Yoshiro [Sun, 18 Jan 2004 09:19:53 +0000 (09:19 +0000)]
Pay attention to the timeout value passed down by the upper layer.
(NetBSD src/sys/dev/usb/umass.c rev.1.67)

PR: kern/58649 (Problem 1)
Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
MFC after: 1 week

20 years agoWe also want the *_p.a symlinks to be part of the proflibs distribution.
Ruslan Ermilov [Sun, 18 Jan 2004 09:06:40 +0000 (09:06 +0000)]
We also want the *_p.a symlinks to be part of the proflibs distribution.

20 years agoSync to 1.158 of usbdevs
MIHIRA Sanpei Yoshiro [Sun, 18 Jan 2004 09:04:57 +0000 (09:04 +0000)]
Sync to 1.158 of usbdevs

20 years agoPrototype __hdtoa() and __hldtoa().
David Schultz [Sun, 18 Jan 2004 08:28:47 +0000 (08:28 +0000)]
Prototype __hdtoa() and __hldtoa().

20 years agoFix some bugs affecting the %a and %A format specifiers. Since
David Schultz [Sun, 18 Jan 2004 08:28:32 +0000 (08:28 +0000)]
Fix some bugs affecting the %a and %A format specifiers.  Since
these are not fully implemented and ifdef'd out, the bugs have
never manifested themselves.  Specifically:

- Fix a memory leak in the case where %a follows another
  floating-point format.
- Make the %a/%A code behave like %e/%E with respect to
  precision.
- It is no longer valid to assume that '-' and '0x' are
  mutually exclusive.
- Address other minor issues.

20 years agoAdd a delta accidentally omitted from the previous commit:
David Schultz [Sun, 18 Jan 2004 08:05:21 +0000 (08:05 +0000)]
Add a delta accidentally omitted from the previous commit:
Define DBL_MANH_SIZE and DBL_MANL_SIZE to be the sizes of the
high and low words of the mantissa in bits, respectively.

20 years agoadd device id for PANASONIC KXLRW32AN(USB CD-R/RW,not yet support)
MIHIRA Sanpei Yoshiro [Sun, 18 Jan 2004 08:02:34 +0000 (08:02 +0000)]
add device id for PANASONIC KXLRW32AN(USB CD-R/RW,not yet support)

20 years agoDefine LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the
David Schultz [Sun, 18 Jan 2004 07:57:02 +0000 (07:57 +0000)]
Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the
high and low words of the mantissa in bits, respectively.

20 years agoFix a bug that caused long double subnormals to be printed
David Schultz [Sun, 18 Jan 2004 07:53:49 +0000 (07:53 +0000)]
Fix a bug that caused long double subnormals to be printed
incorrectly on architectures without an explicit normalization
bit (sparc64, powerpc).

20 years agoAdded two utility targets "secure" and "insecure", analogous to
Ruslan Ermilov [Sun, 18 Jan 2004 07:44:53 +0000 (07:44 +0000)]
Added two utility targets "secure" and "insecure", analogous to
"kerberize" and "dekerberize" in kerberos5/Makefile.  These can
be used to recompile bits with optional crypto support with and
without crypto, respectively.

Reviewed by: markm

20 years agoWork around a recently-introduced gcc bug. The compiler no longer
David Schultz [Sun, 18 Jan 2004 07:06:21 +0000 (07:06 +0000)]
Work around a recently-introduced gcc bug.  The compiler no longer
accepts certain floating point constant representations that are
legal in C99.

20 years agoIncrease UMA_BOOT_PAGES because of changes to pv entry initialization in
Alan Cox [Sun, 18 Jan 2004 05:51:06 +0000 (05:51 +0000)]
Increase UMA_BOOT_PAGES because of changes to pv entry initialization in
revision 1.457 of i386/i386/pmap.c.

20 years agoPC98 uses the different frame code.
Yoshihiro Takahashi [Sun, 18 Jan 2004 04:13:27 +0000 (04:13 +0000)]
PC98 uses the different frame code.

20 years agoFix to support KANA and graphics characters which code are over 0x80.
Yoshihiro Takahashi [Sun, 18 Jan 2004 04:10:45 +0000 (04:10 +0000)]
Fix to support KANA and graphics characters which code are over 0x80.

20 years agoDon't acquire Giant in vm_object_deallocate() unless the object is vnode-
Alan Cox [Sun, 18 Jan 2004 03:44:14 +0000 (03:44 +0000)]
Don't acquire Giant in vm_object_deallocate() unless the object is vnode-
backed.

20 years agoFix type in comment, 's/writtent/written/'
Johan Karlsson [Sun, 18 Jan 2004 00:17:14 +0000 (00:17 +0000)]
Fix type in comment, 's/writtent/written/'

PR: 56954
Submitted by: Dan Langille <dan@langille.org>

20 years agoDo not install SYMLINKS if both NO_MAILWRAPPER and
Johan Karlsson [Sat, 17 Jan 2004 23:58:23 +0000 (23:58 +0000)]
Do not install SYMLINKS if both NO_MAILWRAPPER and
NO_SENDMAIL is defined.

PR: 57058
Reported by: Henri Hennebert <hlh@cocoon.cercle.be>
Melvyn Sopacua on current@
Submitted by: ru@
MFC after: 2 weeks

20 years agoAdd support for the Silicon Image 3114 4 channel SATA controller.
Søren Schmidt [Sat, 17 Jan 2004 23:34:13 +0000 (23:34 +0000)]
Add support for the Silicon Image 3114 4 channel SATA controller.

20 years agoIt appears that the changes in the resources allocated is causing much
Warner Losh [Sat, 17 Jan 2004 21:54:04 +0000 (21:54 +0000)]
It appears that the changes in the resources allocated is causing much
pain and suffering.  Attempt to back it out by removing the 'if the
requested range is larger than the window, clip to the window' code.
This is a band-aide until the issues are better understood and the
issues with the lazy allocation patches are resolved.

20 years agoDon't panic because of RPC proto mismatches. Whitespace cleanup.
Alfred Perlstein [Sat, 17 Jan 2004 21:25:05 +0000 (21:25 +0000)]
Don't panic because of RPC proto mismatches.  Whitespace cleanup.

Submitted by: Jim Rees <rees@umich.edu>

20 years agoHandle sf_buf_alloc() returning null. This can happen if the
Andrew Gallatin [Sat, 17 Jan 2004 21:16:51 +0000 (21:16 +0000)]
Handle sf_buf_alloc() returning null.  This can happen if the
process takes a signal while waiting for an sf_buf to become available.

Reviewed by: alc

20 years agoOnce upon a time we had both "crypto" and "krb5" distributions,
Ruslan Ermilov [Sat, 17 Jan 2004 19:22:36 +0000 (19:22 +0000)]
Once upon a time we had both "crypto" and "krb5" distributions,
and rebuilt some bits with crypto but without Kerberos support
(most notably SSH) during "make release", to put them into the
"crypto" distribution.

Now that we don't ship the separate "krb5" distribution anymore
(it's now part of the "crypto" distribuion), don't waste time
recompiling SSH bits without crypto and without Kerberos support
in an attempt to put them in the "base" distribution -- it just
doesn't work as SSH always uses crypto code.

We avoid this by not rebuilding KPROGS from kerberos5/Makefile in
release/Makefile and adding "libpam" to SPROGS in secure/Makefile
to ensure it's still rebuilt without crypto support for the "base"
distribution.  (Disabling crypto (NOCRYPT) also disables building
of Kerberos-related PAM modules, and it's OK to depend on this.)

This should be a no-op change saving some "make release" time.

20 years agoGuess better the source for object files in case .depend file is
Ruslan Ermilov [Sat, 17 Jan 2004 18:51:55 +0000 (18:51 +0000)]
Guess better the source for object files in case .depend file is
missing and there are multiple choices using multiple inference
(suffix transformation) rules.

This is known to fix compilation of s_log1p.o in lib/msun on i386,
as otherwise it attempted to use s_log1p.S as the source (which is
marked broken) instead of legal s_log1p.c which is in CFLAGS.  The
normal case where .depend file exists is not affected.

Reviewed by: bde

20 years agoMFRELENG_5_2: Default the snapshot versioning to 5.2.
Ruslan Ermilov [Sat, 17 Jan 2004 18:25:43 +0000 (18:25 +0000)]
MFRELENG_5_2: Default the snapshot versioning to 5.2.

PR: misc/61402
Submitted by: Chris Knight

20 years ago- Properly build both crypto and non-crypto versions of the
Ruslan Ermilov [Sat, 17 Jan 2004 13:41:16 +0000 (13:41 +0000)]
- Properly build both crypto and non-crypto versions of the
  package management tools.

- Drop redundant dependency of pkg_create(1) and pkg_delete(1)
  on crypto libraries now that they do not link with libfetch.

20 years agoReplaced black magic with white magic.
Ruslan Ermilov [Sat, 17 Jan 2004 13:27:27 +0000 (13:27 +0000)]
Replaced black magic with white magic.

20 years agoremove elan_mmcr, I'm not sure I understand what it did here in the
Poul-Henning Kamp [Sat, 17 Jan 2004 13:13:48 +0000 (13:13 +0000)]
remove elan_mmcr, I'm not sure I understand what it did here in the
first place.

20 years agoRemove an extraneous semicolon (;;).
Mike Makonnen [Sat, 17 Jan 2004 11:52:37 +0000 (11:52 +0000)]
Remove an extraneous semicolon (;;).

20 years agoAdd Canon N676U and Canon N1220U to the list of supported devices.
Simon L. B. Nielsen [Sat, 17 Jan 2004 11:51:23 +0000 (11:51 +0000)]
Add Canon N676U and Canon N1220U to the list of supported devices.

MFC after: 1 week

20 years agoUse the checkyesno routine instead of a case statement to
Mike Makonnen [Sat, 17 Jan 2004 11:31:15 +0000 (11:31 +0000)]
Use the checkyesno routine instead of a case statement to
check an rc.conf(5) variable. This is in line with rc.d style.

20 years agoRemove checks for the FreeBSD OS.
Mike Makonnen [Sat, 17 Jan 2004 11:25:16 +0000 (11:25 +0000)]
Remove checks for the FreeBSD OS.