]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMFen (1.286 --> 1.290).
Jun Kuriyama [Fri, 1 Mar 2002 15:30:04 +0000 (15:30 +0000)]
MFen (1.286 --> 1.290).

22 years agomissing splx
Hajimu UMEMOTO [Fri, 1 Mar 2002 13:13:17 +0000 (13:13 +0000)]
missing splx

Obtained from: KAME
MFC after: 1 week

22 years ago(when new sa is preferred than old sa)
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

22 years agoShow standard deviation.
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

22 years agoSync with latest KAME's manpage of prefix(8).
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

22 years agoI pulled the trigger too fast on revision 1.29.
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>

22 years agoFix syntax error, where this was not compile tested after style(9)'ing.
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.

22 years agoCatch up to change in tte format.
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

22 years agoNew release notes: sparc64 SBus/EBus support, TCP now ignores IP-layer
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.

22 years agoRemove some more i386-isms and alpha-isms from the Hardware Notes.
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.

22 years agoWe need an frexp() function.
David E. O'Brien [Fri, 1 Mar 2002 01:58:20 +0000 (01:58 +0000)]
We need an frexp() function.

22 years agoAdd some more ed(4) devices.
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>

22 years agoUse vnode_if.awk rather than vnode_if.pl
David E. O'Brien [Fri, 1 Mar 2002 01:21:29 +0000 (01:21 +0000)]
Use vnode_if.awk rather than vnode_if.pl

22 years agoReturn vnode_if back to its AWK roots.
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.

22 years agoCPP v3.1 has different rules for processing #lines directives. This
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

22 years agoCorrect St. David's day: it's celebrated outside Cardiff.
Greg Lehey [Thu, 28 Feb 2002 23:06:24 +0000 (23:06 +0000)]
Correct St. David's day: it's celebrated outside Cardiff.

22 years agoFix typo.
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>

22 years agoNew release notes: lukemftpd(8), /etc/security now under periodic(8)
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.

22 years ago- Move a comment from being on the same line as a #ifdef to the line
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

22 years agoNew release/hardware notes: gem and hme (sparc64 Ethernet NICs).
Bruce A. Mah [Thu, 28 Feb 2002 21:40:06 +0000 (21:40 +0000)]
New release/hardware notes:  gem and hme (sparc64 Ethernet NICs).

22 years agoAdd a tool that I've written to help with finding what other
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.

22 years agoMinor style(9) nit + utilize ELF features for the FreeBSD ID.
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.

22 years agoAdd (unsigned char) cast lost in WARNS=4 fixes which break 8bit locales
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

22 years agoMake it a bit clearer where this file is to be used and where it
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

22 years agoadd inlines for bswap*.
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

22 years agorecover from namespace collision caused by un-static'ing pci_alloc_resource()
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

22 years agoAdjust the includes a bit.
Mark Murray [Thu, 28 Feb 2002 17:41:42 +0000 (17:41 +0000)]
Adjust the includes a bit.

Requested by: bde

22 years ago- Set inc_isipv6 in tcp6_usr_connect().
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

22 years ago- In nd6_rtrequest(), ignored a route when it is created by cloning and
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

22 years agoFix "make release.4" breakage.
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)

22 years agocpu_switch now works, for kthreads at least.
Benno Rice [Thu, 28 Feb 2002 12:06:49 +0000 (12:06 +0000)]
cpu_switch now works, for kthreads at least.

22 years agoVarious cleanups.
Benno Rice [Thu, 28 Feb 2002 12:00:24 +0000 (12:00 +0000)]
Various cleanups.

22 years ago- Prevent the decrementer interrupt handler from nesting.
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.

22 years ago- Modify pmap_activate so it only marks the pmap as active.
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.

22 years agoIn sosend(), enforce the socket buffer limits regardless of whether
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.

22 years agoFix vendor ID (mostly obtained from rev 1.1).
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'.

22 years agoAdd -D_KERNEL to CFLAGS for ntohl().
Yoshihiro Takahashi [Thu, 28 Feb 2002 10:08:23 +0000 (10:08 +0000)]
Add -D_KERNEL to CFLAGS for ntohl().

22 years agoRemove the now unused NTOHL() family of macros.
Mike Barcroft [Thu, 28 Feb 2002 09:59:00 +0000 (09:59 +0000)]
Remove the now unused NTOHL() family of macros.

22 years agoChange two occurrences of HTONS() to use htons().
Mike Barcroft [Thu, 28 Feb 2002 09:56:31 +0000 (09:56 +0000)]
Change two occurrences of HTONS() to use htons().

22 years agoGC an unused variable in cpu_fork().
Benno Rice [Thu, 28 Feb 2002 08:48:58 +0000 (08:48 +0000)]
GC an unused variable in cpu_fork().

22 years agoWarning fix. (Very basic - add the right include so that rdtsc() gets
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).

22 years ago- Fix panic() message and a couple style nits that snuck in from the
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).

22 years ago- trap -> trap() in panic() string.
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

22 years ago- Style(9) makeover.
Andrew R. Reiter [Thu, 28 Feb 2002 08:01:49 +0000 (08:01 +0000)]
- Style(9) makeover.

Reviewed by: chris, mike

22 years agoFix a minor swap leak.
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

22 years agoNote the the process group is returned locked.
Chad David [Thu, 28 Feb 2002 07:06:31 +0000 (07:06 +0000)]
Note the the process group is returned locked.

22 years agoMake MPLOCKED work again in asm files and stringify it explicitly
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

22 years agoPLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
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

22 years agoMake fork work, at least for kthreads. Switching still has some issues.
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.

22 years agoQuiet bogus gcc warning
Peter Wemm [Thu, 28 Feb 2002 03:15:53 +0000 (03:15 +0000)]
Quiet bogus gcc warning

22 years ago- Rearrange the sequence of events in powerpc_init() somewhat.
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.

22 years agoTag istallion.c with nowerror (third party)
Peter Wemm [Thu, 28 Feb 2002 03:14:37 +0000 (03:14 +0000)]
Tag istallion.c with nowerror (third party)

22 years agoFix warning (const lost in assignment), harmless in this case.
Peter Wemm [Thu, 28 Feb 2002 03:13:47 +0000 (03:13 +0000)]
Fix warning (const lost in assignment), harmless in this case.

22 years agoFix warnings (prototype for nonexisting static function)
Peter Wemm [Thu, 28 Feb 2002 03:12:00 +0000 (03:12 +0000)]
Fix warnings (prototype for nonexisting static function)

22 years ago- When enabling/disabling interrupts, set/clear both PSL_EE and PSL_RI, not
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.

22 years agoFix warnings.. bootpc_init() and related.
Peter Wemm [Thu, 28 Feb 2002 03:07:35 +0000 (03:07 +0000)]
Fix warnings.. bootpc_init() and related.

22 years agoAdd a missing (.
Benno Rice [Thu, 28 Feb 2002 03:04:33 +0000 (03:04 +0000)]
Add a missing (.

22 years agoFix warnings
Peter Wemm [Thu, 28 Feb 2002 03:02:20 +0000 (03:02 +0000)]
Fix warnings

22 years agoFix warnings
Peter Wemm [Thu, 28 Feb 2002 02:56:29 +0000 (02:56 +0000)]
Fix warnings

22 years agoImplement the following functions:
Benno Rice [Thu, 28 Feb 2002 02:54:16 +0000 (02:54 +0000)]
Implement the following functions:
- pmap_remove
- pmap_kremove
- pmap_qremove

22 years agoRemove most of the usage of critical_enter/exit.
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.

22 years agoSome style(9) whitespace fixes and a correction to the copyright.
Brooks Davis [Thu, 28 Feb 2002 01:03:27 +0000 (01:03 +0000)]
Some style(9) whitespace fixes and a correction to the copyright.

22 years agoFix another boatload of warnings (missing include) and a cosmetic
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.

22 years agoFix warnings.
Peter Wemm [Thu, 28 Feb 2002 00:09:17 +0000 (00:09 +0000)]
Fix warnings.

22 years agoFix debug printf formats
Peter Wemm [Thu, 28 Feb 2002 00:06:59 +0000 (00:06 +0000)]
Fix debug printf formats

22 years agoFor unbraking "make release": s/client/common/g
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

22 years agoFix some unused warnings. One function is only used if
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.

22 years agoFix warnings (comment out unused tables that are taking space in the
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)

22 years agoTag if_ie.c, isp.c and isp_pci.c as nowerror (qualifier problems, and third
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)

22 years agoFix warnings
Peter Wemm [Wed, 27 Feb 2002 23:53:02 +0000 (23:53 +0000)]
Fix warnings

22 years agoFix warnings. The driver would be more useful with a DRIVER_MODULE()
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.

22 years agoWhen searching an object that was opened with RTLD_GLOBAL, search its DAG too.
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

22 years agoRepair some warnings. These are accessing idle portions of shared memory
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.

22 years agoRemove support for FreeBSD 2.x from this driver.
Warner Losh [Wed, 27 Feb 2002 23:34:02 +0000 (23:34 +0000)]
Remove support for FreeBSD 2.x from this driver.

22 years agoFix warning (unused variable)
Peter Wemm [Wed, 27 Feb 2002 23:32:45 +0000 (23:32 +0000)]
Fix warning (unused variable)

Submitted by: LINT, -Werror

22 years agoMark a few more broken pci drivers as nowerror.
Peter Wemm [Wed, 27 Feb 2002 23:30:33 +0000 (23:30 +0000)]
Mark a few more broken pci drivers as nowerror.

22 years agoFix warning (passing wrong arg to arp_ifinit())
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

22 years agoMark stallion.c as nowerror (known broken, this is a #warning)
Peter Wemm [Wed, 27 Feb 2002 23:23:54 +0000 (23:23 +0000)]
Mark stallion.c as nowerror (known broken, this is a #warning)

22 years agoFix format warning.
Peter Wemm [Wed, 27 Feb 2002 23:21:46 +0000 (23:21 +0000)]
Fix format warning.

Submitted by: LINT, -Werror

22 years agoThe do { } while (0) macro example was missing a space after the 'e'.
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'.

22 years agoUse SIGUSR1 to propogate SIGURG to the child; security measures prevent
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.

22 years agoImprove error reporting - report error message when there is one, or
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.

22 years agoUse network byte order for the ICMP sequence number. This is only
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.

22 years agoUse login_getpwclass() instead of login_getclass() so that default
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

22 years agoMinor style(9) nit + utilize ELF features for the FreeBSD ID.
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.

22 years agoBack out part of KSE/M2 that snuck in under the radar: changing the
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

22 years agoCheck if string is not NULL, not *string, before setting *string.
Brian Feldman [Wed, 27 Feb 2002 22:00:44 +0000 (22:00 +0000)]
Check if string is not NULL, not *string, before setting *string.

22 years agoWe do not support the sparc platform.
David E. O'Brien [Wed, 27 Feb 2002 21:59:16 +0000 (21:59 +0000)]
We do not support the sparc platform.

22 years agoMinor WS change to improve readability.
David E. O'Brien [Wed, 27 Feb 2002 21:53:27 +0000 (21:53 +0000)]
Minor WS change to improve readability.

22 years agoUnbreak fore adapters from POV of warnings.
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..

22 years agoRemove now unused struct proc *p.
Warner Losh [Wed, 27 Feb 2002 20:57:57 +0000 (20:57 +0000)]
Remove now unused struct proc *p.

Approved by: jhb

22 years ago- Insert a space in the panic() string in order more clearly show the
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.

22 years agoAdd a comment explaining a code change..
Julian Elischer [Wed, 27 Feb 2002 19:24:55 +0000 (19:24 +0000)]
Add a comment explaining a code change..

22 years agoUse thread0.td_ucred instead of proc0.p_ucred. This change is cosmetic
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.

22 years ago- Change namei() to use td_ucred instead of p_ucred.
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.

22 years ago- Change unp_listen() to accept a thread rather than a proc as its second
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.

22 years agoFix Giant leakage in several error cases in __semctl().
John Baldwin [Wed, 27 Feb 2002 19:12:14 +0000 (19:12 +0000)]
Fix Giant leakage in several error cases in __semctl().

22 years agoAdd a comment about an unlocked access to p_ucred that will go away in
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.

22 years agoUse td_ucred and thus remove now unneeded proc lock acquire and release.
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.

22 years agoUse some black make(1) magic to make pkg_install build even without
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