]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
Jun Kuriyama [Fri, 1 Mar 2002 15:30:04 +0000 (15:30 +0000)]
MFen (1.286 --> 1.290).
Hajimu UMEMOTO [Fri, 1 Mar 2002 13:13:17 +0000 (13:13 +0000)]
missing splx
Obtained from: KAME
MFC after: 1 week
Hajimu UMEMOTO [Fri, 1 Mar 2002 12:17:21 +0000 (12:17 +0000)]
(when new sa is preferred than old sa)
even if we fail to send pfkey message, remove the old sa.
Obtained from: KAME
MFC after: 1 week
Hajimu UMEMOTO [Fri, 1 Mar 2002 09:49:48 +0000 (09:49 +0000)]
Show standard deviation.
PR: bin/35433
Submitted by: Morten Rodal <morten@rodal.no>,
Maxim Konovalov <maxim@macomnet.ru>
MFC after: 1 week
Hajimu UMEMOTO [Fri, 1 Mar 2002 08:45:24 +0000 (08:45 +0000)]
Sync with latest KAME's manpage of prefix(8).
Obtained from: KAME
MFC After: 1 week
David E. O'Brien [Fri, 1 Mar 2002 07:20:21 +0000 (07:20 +0000)]
I pulled the trigger too fast on revision 1.29.
Submitted by: Oliver Fromme <olli@fromme.com>
David E. O'Brien [Fri, 1 Mar 2002 07:05:45 +0000 (07:05 +0000)]
Fix syntax error, where this was not compile tested after style(9)'ing.
Jake Burkholder [Fri, 1 Mar 2002 06:17:28 +0000 (06:17 +0000)]
Catch up to change in tte format.
Forgetten by: jake
Submitted by: tmm
Bruce A. Mah [Fri, 1 Mar 2002 05:04:11 +0000 (05:04 +0000)]
New release notes: sparc64 SBus/EBus support, TCP now ignores IP-layer
broadcasts (+MFC).
MFCs noticed: dump(8) process title updating.
Bruce A. Mah [Fri, 1 Mar 2002 02:07:42 +0000 (02:07 +0000)]
Remove some more i386-isms and alpha-isms from the Hardware Notes.
For the most part, these changes consist of adding arch= attributes.
David E. O'Brien [Fri, 1 Mar 2002 01:58:20 +0000 (01:58 +0000)]
We need an frexp() function.
Bruce A. Mah [Fri, 1 Mar 2002 01:32:13 +0000 (01:32 +0000)]
Add some more ed(4) devices.
Submitted by: Tom Rhodes <darklogik@pittgoth.com>
David E. O'Brien [Fri, 1 Mar 2002 01:21:29 +0000 (01:21 +0000)]
Use vnode_if.awk rather than vnode_if.pl
David E. O'Brien [Fri, 1 Mar 2002 01:20:23 +0000 (01:20 +0000)]
Return vnode_if back to its AWK roots.
It became a Perl script in rev 1.20. This removes one more dependence
on perl for the kernel build.
David E. O'Brien [Thu, 28 Feb 2002 23:12:44 +0000 (23:12 +0000)]
CPP v3.1 has different rules for processing #lines directives. This
sometimes causes fewer directories to be searched for includes. Thus
we have to be more explicit in our search list.
Pointy at to: GCC 3.1
Greg Lehey [Thu, 28 Feb 2002 23:06:24 +0000 (23:06 +0000)]
Correct St. David's day: it's celebrated outside Cardiff.
Giorgos Keramidas [Thu, 28 Feb 2002 22:44:15 +0000 (22:44 +0000)]
Fix typo.
PR: docs/35422
Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
Bruce A. Mah [Thu, 28 Feb 2002 21:58:43 +0000 (21:58 +0000)]
New release notes: lukemftpd(8), /etc/security now under periodic(8)
framework (+MFC).
MFCs noted: dc(4) VLANs.
While here, tweaked a lukemftp note to note its origin.
Andrew R. Reiter [Thu, 28 Feb 2002 21:52:08 +0000 (21:52 +0000)]
- Move a comment from being on the same line as a #ifdef to the line
following it. This should have gone in the previous commit, but
misviewed Bruce's patch.
Requested by: bde
Bruce A. Mah [Thu, 28 Feb 2002 21:40:06 +0000 (21:40 +0000)]
New release/hardware notes: gem and hme (sparc64 Ethernet NICs).
Josef Karthauser [Thu, 28 Feb 2002 20:12:52 +0000 (20:12 +0000)]
Add a tool that I've written to help with finding what other
files/revisions were changed with a particular commit.
David E. O'Brien [Thu, 28 Feb 2002 19:45:34 +0000 (19:45 +0000)]
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
Andrey A. Chernov [Thu, 28 Feb 2002 18:52:47 +0000 (18:52 +0000)]
Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
PR: 35421
Mark Murray [Thu, 28 Feb 2002 18:26:30 +0000 (18:26 +0000)]
Make it a bit clearer where this file is to be used and where it
should not be. (Comments only)
Inspired by: bde
Andrew Gallatin [Thu, 28 Feb 2002 18:21:51 +0000 (18:21 +0000)]
add inlines for bswap*.
smaller versions of the byteswap routines were obtained from NetBSD
Andrew Gallatin [Thu, 28 Feb 2002 18:18:41 +0000 (18:18 +0000)]
recover from namespace collision caused by un-static'ing pci_alloc_resource()
in rev 1.187 of sys/dev/pci/pci.c
Mark Murray [Thu, 28 Feb 2002 17:41:42 +0000 (17:41 +0000)]
Adjust the includes a bit.
Requested by: bde
Hajimu UMEMOTO [Thu, 28 Feb 2002 17:11:10 +0000 (17:11 +0000)]
- Set inc_isipv6 in tcp6_usr_connect().
- When making a pcb from a sync cache, do not forget to copy inc_isipv6.
Obtained from: KAME
MFC After: 1 week
Hajimu UMEMOTO [Thu, 28 Feb 2002 17:05:46 +0000 (17:05 +0000)]
- In nd6_rtrequest(), ignored a route when it is created by cloning and
is not a neighbor. see comments for the detailed reason.
- Rejected the process of nd6_rtrequest() when the request is RESOLVE and
the interface does not need neighbor caches.
Obtained from: KAME
MFC After: 1 week
Makoto Matsushita [Thu, 28 Feb 2002 16:17:18 +0000 (16:17 +0000)]
Fix "make release.4" breakage.
src/contrib/isc-dhcp/includes/minires/resolv.h has a 'extern' definition
but it makes an error when linking crunched binary just like this:
dhclient.lo: In function `MRres_nquery':
dhclient.lo(.text+0x2dcce): undefined reference to `__h_errno_set'
dhclient.lo(.text+0x2dd5b): undefined reference to `__h_errno_set'
dhclient.lo: In function `MRres_nquerydomain':
dhclient.lo(.text+0x2de53): undefined reference to `__h_errno_set'
The author understands this will be a problem (see comments in resolv.h).
Murray said that the author will fix this, but as a temporary solution,
modifying the source code and not to use __h_errno_set.
BTW, I'm sorry that previous commitlog in src/sbin/dhclient/Makefile should
read "Found by:" instead of "Confirmed by"; I just found that rev 1.15
has a typo so fixed.
Tested on: ushi.jp.FreeBSD.org with today's 5-current source code.
(belive me, "make release.4" works fine now)
Benno Rice [Thu, 28 Feb 2002 12:06:49 +0000 (12:06 +0000)]
cpu_switch now works, for kthreads at least.
Benno Rice [Thu, 28 Feb 2002 12:00:24 +0000 (12:00 +0000)]
Various cleanups.
Benno Rice [Thu, 28 Feb 2002 11:57:47 +0000 (11:57 +0000)]
- Prevent the decrementer interrupt handler from nesting.
- Catch some more cases of PSL_EE and PSL_RI getting out of sync.
Benno Rice [Thu, 28 Feb 2002 11:55:44 +0000 (11:55 +0000)]
- Modify pmap_activate so it only marks the pmap as active.
- Add a pmap_deactivate function.
Ian Dowse [Thu, 28 Feb 2002 11:22:40 +0000 (11:22 +0000)]
In sosend(), enforce the socket buffer limits regardless of whether
the data was supplied as a uio or an mbuf. Previously the limit was
ignored for mbuf data, and NFS could run the kernel out of mbufs
when an ipfw rule blocked retransmissions.
Mike Barcroft [Thu, 28 Feb 2002 11:02:49 +0000 (11:02 +0000)]
Fix vendor ID (mostly obtained from rev 1.1).
Make use of `static' storage-class for local functions.
Replace uses of `u_quad_t' with `uintmax_t'.
Yoshihiro Takahashi [Thu, 28 Feb 2002 10:08:23 +0000 (10:08 +0000)]
Add -D_KERNEL to CFLAGS for ntohl().
Mike Barcroft [Thu, 28 Feb 2002 09:59:00 +0000 (09:59 +0000)]
Remove the now unused NTOHL() family of macros.
Mike Barcroft [Thu, 28 Feb 2002 09:56:31 +0000 (09:56 +0000)]
Change two occurrences of HTONS() to use htons().
Benno Rice [Thu, 28 Feb 2002 08:48:58 +0000 (08:48 +0000)]
GC an unused variable in cpu_fork().
Mark Murray [Thu, 28 Feb 2002 08:37:18 +0000 (08:37 +0000)]
Warning fix. (Very basic - add the right include so that rdtsc() gets
a prototype).
Andrew R. Reiter [Thu, 28 Feb 2002 08:28:14 +0000 (08:28 +0000)]
- Fix panic() message and a couple style nits that snuck in from the
recent diagnostics commit (rev. 1.84).
Andrew R. Reiter [Thu, 28 Feb 2002 08:13:55 +0000 (08:13 +0000)]
- trap -> trap() in panic() string.
- Translate the message into some sort of understandable english.
- Fix a couple near-by style nits.
Submitted by: bde
Andrew R. Reiter [Thu, 28 Feb 2002 08:01:49 +0000 (08:01 +0000)]
- Style(9) makeover.
Reviewed by: chris, mike
Mike Silbersack [Thu, 28 Feb 2002 07:41:12 +0000 (07:41 +0000)]
Fix a minor swap leak.
Previously, the UPAGES/KSTACK area of processes/threads would leak memory
at the time that a previously swapped process was terminated. Lukcily, the
leak was only 12K/proc, so it was unlikely to be a major problem unless you
had an undersized swap partition.
Submitted by: dillon
Reviewed by: silby
MFC after: 1 week
Chad David [Thu, 28 Feb 2002 07:06:31 +0000 (07:06 +0000)]
Note the the process group is returned locked.
Bosko Milekic [Thu, 28 Feb 2002 06:17:05 +0000 (06:17 +0000)]
Make MPLOCKED work again in asm files and stringify it explicitly
where necessary.
Reviewed by: jake
Warner Losh [Thu, 28 Feb 2002 05:31:02 +0000 (05:31 +0000)]
PLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
TURNED ON.
Submitted by: rwatson
Suggest -DNO_WERROR unless you are a developer when building a kernel.
Submitted by: mike
Benno Rice [Thu, 28 Feb 2002 03:24:07 +0000 (03:24 +0000)]
Make fork work, at least for kthreads. Switching still has some issues.
Peter Wemm [Thu, 28 Feb 2002 03:15:53 +0000 (03:15 +0000)]
Quiet bogus gcc warning
Benno Rice [Thu, 28 Feb 2002 03:15:49 +0000 (03:15 +0000)]
- Rearrange the sequence of events in powerpc_init() somewhat.
- Catch another instance of PSL_EE being cleared without PSL_RI.
Peter Wemm [Thu, 28 Feb 2002 03:14:37 +0000 (03:14 +0000)]
Tag istallion.c with nowerror (third party)
Peter Wemm [Thu, 28 Feb 2002 03:13:47 +0000 (03:13 +0000)]
Fix warning (const lost in assignment), harmless in this case.
Peter Wemm [Thu, 28 Feb 2002 03:12:00 +0000 (03:12 +0000)]
Fix warnings (prototype for nonexisting static function)
Benno Rice [Thu, 28 Feb 2002 03:07:48 +0000 (03:07 +0000)]
- When enabling/disabling interrupts, set/clear both PSL_EE and PSL_RI, not
just PSL_EE.
- Make cpu_critical_enter/exit independant of save_intr/restore_intr.
Peter Wemm [Thu, 28 Feb 2002 03:07:35 +0000 (03:07 +0000)]
Fix warnings.. bootpc_init() and related.
Benno Rice [Thu, 28 Feb 2002 03:04:33 +0000 (03:04 +0000)]
Add a missing (.
Peter Wemm [Thu, 28 Feb 2002 03:02:20 +0000 (03:02 +0000)]
Fix warnings
Peter Wemm [Thu, 28 Feb 2002 02:56:29 +0000 (02:56 +0000)]
Fix warnings
Benno Rice [Thu, 28 Feb 2002 02:54:16 +0000 (02:54 +0000)]
Implement the following functions:
- pmap_remove
- pmap_kremove
- pmap_qremove
Benno Rice [Thu, 28 Feb 2002 02:45:10 +0000 (02:45 +0000)]
Remove most of the usage of critical_enter/exit.
I put these in to match the use of spl*() in the NetBSD code I was basing this
on, but it appears to cause problems.
I'm doing this in a separate commit so as to be able to refer back if locking
becomes an issue at a later stage.
Brooks Davis [Thu, 28 Feb 2002 01:03:27 +0000 (01:03 +0000)]
Some style(9) whitespace fixes and a correction to the copyright.
Peter Wemm [Thu, 28 Feb 2002 00:14:04 +0000 (00:14 +0000)]
Fix another boatload of warnings (missing include) and a cosmetic
-Wuninitialized warning.
Peter Wemm [Thu, 28 Feb 2002 00:09:17 +0000 (00:09 +0000)]
Fix warnings.
Peter Wemm [Thu, 28 Feb 2002 00:06:59 +0000 (00:06 +0000)]
Fix debug printf formats
Makoto Matsushita [Thu, 28 Feb 2002 00:02:33 +0000 (00:02 +0000)]
For unbraking "make release": s/client/common/g
(these files are sitting in src/contrib/isc-dhcp/common, not .../client.)
Confirmed by: 5.0-CURRENT-
20020228 -JPSNAP at snapshots.jp.FreeBSD.org
Peter Wemm [Wed, 27 Feb 2002 23:59:35 +0000 (23:59 +0000)]
Fix some unused warnings. One function is only used if
TWE_SHUTDOWN_NOTIFICATION is defined, the other two are never used.
Peter Wemm [Wed, 27 Feb 2002 23:57:18 +0000 (23:57 +0000)]
Fix warnings (comment out unused tables that are taking space in the
kernel)
Peter Wemm [Wed, 27 Feb 2002 23:55:42 +0000 (23:55 +0000)]
Tag if_ie.c, isp.c and isp_pci.c as nowerror (qualifier problems, and third
party code)
Peter Wemm [Wed, 27 Feb 2002 23:53:02 +0000 (23:53 +0000)]
Fix warnings
Peter Wemm [Wed, 27 Feb 2002 23:47:45 +0000 (23:47 +0000)]
Fix warnings. The driver would be more useful with a DRIVER_MODULE()
entry so that it actually can do something.
Dag-Erling Smørgrav [Wed, 27 Feb 2002 23:44:50 +0000 (23:44 +0000)]
When searching an object that was opened with RTLD_GLOBAL, search its DAG too.
PR: bin/25059
Approved by: jdp
MFC after: 3 weeks
Peter Wemm [Wed, 27 Feb 2002 23:43:19 +0000 (23:43 +0000)]
Repair some warnings. These are accessing idle portions of shared memory
buffers.
Warner Losh [Wed, 27 Feb 2002 23:34:02 +0000 (23:34 +0000)]
Remove support for FreeBSD 2.x from this driver.
Peter Wemm [Wed, 27 Feb 2002 23:32:45 +0000 (23:32 +0000)]
Fix warning (unused variable)
Submitted by: LINT, -Werror
Peter Wemm [Wed, 27 Feb 2002 23:30:33 +0000 (23:30 +0000)]
Mark a few more broken pci drivers as nowerror.
Peter Wemm [Wed, 27 Feb 2002 23:28:57 +0000 (23:28 +0000)]
Fix warning (passing wrong arg to arp_ifinit())
Submitted by: LINT, -Werror
Peter Wemm [Wed, 27 Feb 2002 23:23:54 +0000 (23:23 +0000)]
Mark stallion.c as nowerror (known broken, this is a #warning)
Peter Wemm [Wed, 27 Feb 2002 23:21:46 +0000 (23:21 +0000)]
Fix format warning.
Submitted by: LINT, -Werror
Warner Losh [Wed, 27 Feb 2002 23:16:34 +0000 (23:16 +0000)]
The do { } while (0) macro example was missing a space after the 'e'.
Bill Fenner [Wed, 27 Feb 2002 22:45:10 +0000 (22:45 +0000)]
Use SIGUSR1 to propogate SIGURG to the child; security measures prevent
the parent from sending SIGURG itself to the child. This fixes the
problem of occasionally failing to pass the window size.
Bill Fenner [Wed, 27 Feb 2002 22:38:59 +0000 (22:38 +0000)]
Improve error reporting - report error message when there is one, or
report a short read if that's what we're reporting.
Bill Fenner [Wed, 27 Feb 2002 22:37:22 +0000 (22:37 +0000)]
Use network byte order for the ICMP sequence number. This is only
significant when monitoring packets on another system, since
otherwise the ICMP sequence number is only used by the ping client.
Brian Feldman [Wed, 27 Feb 2002 22:36:30 +0000 (22:36 +0000)]
Use login_getpwclass() instead of login_getclass() so that default
mapping of user login classes works.
Obtained from: TrustedBSD project
Sponsored by: DARPA, NAI Labs
David E. O'Brien [Wed, 27 Feb 2002 22:13:02 +0000 (22:13 +0000)]
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
John Baldwin [Wed, 27 Feb 2002 22:12:29 +0000 (22:12 +0000)]
Back out part of KSE/M2 that snuck in under the radar: changing the
prototype of bzero() on the i386 to have a volatile first argument.
Requested by: bde, jake
Brian Feldman [Wed, 27 Feb 2002 22:00:44 +0000 (22:00 +0000)]
Check if string is not NULL, not *string, before setting *string.
David E. O'Brien [Wed, 27 Feb 2002 21:59:16 +0000 (21:59 +0000)]
We do not support the sparc platform.
David E. O'Brien [Wed, 27 Feb 2002 21:53:27 +0000 (21:53 +0000)]
Minor WS change to improve readability.
Julian Elischer [Wed, 27 Feb 2002 21:12:44 +0000 (21:12 +0000)]
Unbreak fore adapters from POV of warnings.
Define the atm_dev_free() routine so that its OK to free stuff that is defined
as volatile. Note this doesn't FORCE the arguemnts to be volatile,
just says that it's not an error if it is..
Warner Losh [Wed, 27 Feb 2002 20:57:57 +0000 (20:57 +0000)]
Remove now unused struct proc *p.
Approved by: jhb
Andrew R. Reiter [Wed, 27 Feb 2002 20:20:42 +0000 (20:20 +0000)]
- Insert a space in the panic() string in order more clearly show the
message.
Julian Elischer [Wed, 27 Feb 2002 19:24:55 +0000 (19:24 +0000)]
Add a comment explaining a code change..
John Baldwin [Wed, 27 Feb 2002 19:18:10 +0000 (19:18 +0000)]
Use thread0.td_ucred instead of proc0.p_ucred. This change is cosmetic
and isn't strictly required. However, it lowers the number of false
positives found when grep'ing the kernel sources for p_ucred to ensure
proper locking.
John Baldwin [Wed, 27 Feb 2002 19:15:29 +0000 (19:15 +0000)]
- Change namei() to use td_ucred instead of p_ucred.
- Change the hack in access() that uses a temporary credential to set
td_ucred to the temp cred instead of p_ucred.
John Baldwin [Wed, 27 Feb 2002 19:14:01 +0000 (19:14 +0000)]
- Change unp_listen() to accept a thread rather than a proc as its second
argument.
- Use td_ucred in unp_listen() instead of p_ucred.
John Baldwin [Wed, 27 Feb 2002 19:12:14 +0000 (19:12 +0000)]
Fix Giant leakage in several error cases in __semctl().
John Baldwin [Wed, 27 Feb 2002 19:10:50 +0000 (19:10 +0000)]
Add a comment about an unlocked access to p_ucred that will go away in
the near future.
John Baldwin [Wed, 27 Feb 2002 19:09:30 +0000 (19:09 +0000)]
Use td_ucred and thus remove now unneeded proc lock acquire and release.
Maxim Sobolev [Wed, 27 Feb 2002 19:03:15 +0000 (19:03 +0000)]
Use some black make(1) magic to make pkg_install build even without
Makefile.inc in parent directory (e.g. when checked out from cvs as a module).
MFC after: 2 weeks