summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correctly set _PWF_FILES in pw_fields when appropriate.nectar2003-04-181-2/+6
| | | | | | | (_PWF_NIS and _PWF_HESIOD were already being set.) Reported by: Shizuka Kudo <shizukakudo_99@yahoo.com> Sponsored by: DARPA, Network Associates Laboratories
* Add support for Planex FNW-3602-T(CardBus 100M/10M).sanpei2003-04-184-0/+24
| | | | | Submitted by: kazz <kazz@v001.vaio.ne.jp> Obtained from: [bsd-nomads:16637]
* Sync to 1.48sanpei2003-04-181-9/+3
|
* fix corega vendor id(use vendor string and product string)sanpei2003-04-181-1/+2
| | | | Submitted by: imp
* Revert the definitions of _PW_KEY* to their previous values. There isnectar2003-04-183-29/+54
| | | | | | | | | | at least one consumer outside of libc and pwd_mkdb. Adjust the versioning in libc and pwd_mkdb accordingly. named was the application affected, and that fact was first Reported by: Zherdev Anatoly <tolyar@mx.ru> Sponsored by: DARPA, Network Associates Laboratories
* Don't grab Giant in slab_zalloc() if M_NOWAIT is specified. Thisgallatin2003-04-181-4/+9
| | | | | | | should allow the use of INTR_MPSAFE network drivers. Tested by: njl Glanced at by: jeff
* Make this compile under cs_CZ.ISO8859-2 locale.ru2003-04-182-6/+6
| | | | | | Reported by: Pav Lucistnik <pav@oook.cz> We hit this problem earlier, in PR misc/45460.
* KASSERT that NG_MKMESSAGE() is not called with mbuf flags.phk2003-04-181-0/+4
|
* Remove duplicate $FreeBSD$ id.deischen2003-04-182-6/+2
|
* Sorry folks; I accidentally committed a patch from what I was workingdeischen2003-04-1836-401/+635
| | | | | | on a couple of days ago. This should be the most recent changes. Noticed by: davidxu
* - Set the ke_cpu field in sched_add() for interrupt and realtime threadsjeff2003-04-181-5/+7
| | | | | | | | | | since they are going on the current cpu and not their previously assigned cpu. - sched_runnable() should only return true in the SMP case if the other processor has more than one thread that is runnable. We can not steal curthread. - Change kseq_print() to accept the cpuid instead of a kseq pointer. This makes use of this function in ddb much easier.
* Comment out the addition of -g to CFLAGS. This snuck in fromdeischen2003-04-182-2/+2
| | | | my local version.
* Revamp libpthread so that it has a chance of working in an SMPdeischen2003-04-18148-7516/+10658
| | | | | | | | | | | | | | | | | | | environment. This includes support for multiple KSEs and KSEGs. The ability to create more than 1 KSE via pthread_setconcurrency() is in the works as well as support for PTHREAD_SCOPE_SYSTEM threads. Those should come shortly. There are still some known issues which davidxu and I are working on, but it'll make it easier for us by committing what we have. This library now passes all of the ACE tests that libc_r passes with the exception of one. It also seems to work OK with KDE including konqueror, kwrite, etc. I haven't been able to get mozilla to run due to lack of java plugin, so I'd be interested to see how it works with that. Reviewed by: davidxu
* Add FIFO queueing locking operations based on atomic swap.deischen2003-04-188-14/+740
| | | | | | Modify thread errno for the new libpthread changes. Reviewed by: davidxu
* Add architecture dependent atomic ops (atomic_swap only), KSE specificdeischen2003-04-1811-12/+870
| | | | | | | data, and userland versions of [gs]etcontext(). Modify the UTS entry and exit functions to account of FPU validity and format.
* Sync with Creative's 8010.h rev 1.39.obrien2003-04-182-6/+6
|
* Remove reference to ata resource in print_child.grehan2003-04-181-1/+0
|
* Remove sparse address hack.grehan2003-04-181-2/+0
|
* Vastly simplify the macio ATA attachment, now that the register filegrehan2003-04-181-225/+42
| | | | indirection is handled in the ATA common code.
* Remove sparse addressing hack. The macio ATA driver no longer requiresgrehan2003-04-182-5/+0
| | | | this.
* - Convert NetBSD-derived macros to inline functions for bettergrehan2003-04-181-65/+176
| | | | | | type-checking and future debug code. - Remove sparse addressing hack, since the only consumer, the macio ATA driver, doesn't require it anymore.
* continuation not neededjwd2003-04-181-1/+1
|
* The sendmail binary now has a reasonable default for MaxMimeHeaderLengthgshapiro2003-04-181-1/+0
| | | | | | built in. No need to set it here. MFC after: 1 week
* The default if nsswitch.conf(5) is not present is supposed to be thenectar2003-04-182-2/+2
| | | | | | | hated `compat' source, not `files'. Reported by: Philip Paeps <philip@paeps.cx> Sponsored by: DARPA, Network Associates Laboratories
* Add a thread_unlink() and use it.julian2003-04-183-22/+29
| | | | | It could also be used twice in kern_thr.c but that's owned by jeff so I'l let him change it when he's next there.
* Fixed an err() format error in rev.1.1. This should have been fatalbde2003-04-171-1/+1
| | | | | since WARNS was high in rev.1.1, but __printf0like() has been temporarily disabled for 9 months.
* suser() does not need the proc lock, just the setting of P_PROTECTED injhb2003-04-171-4/+5
| | | | p_flag needs the lock.
* - kthread's don't have p_textvp set to anything, so replace code thatjhb2003-04-171-7/+1
| | | | | dealt with that possibility with a KASSERT(). - No need to set P_SYSTEM, kthread_create() does that for us.
* - Use a local struct proc variable to improve readability.jhb2003-04-171-11/+11
| | | | | - Use a local variable to close a minor race when determining if the wmesg printed out needs a prefix such as when a thread is blocked on a lock.
* Tweak locking in the PS_XCPU handler to hold the sched_lock while readingjhb2003-04-171-4/+5
| | | | p_runtime.
* The sched_lock is not needed while clearing two of the P_STOPPED bits injhb2003-04-171-3/+2
| | | | | p_flag. Also, the proc lock can't be recursed, so simplify an older proc lock assertion.
* Don't assume that p_session hasn't changed out from under us after unlockingjhb2003-04-171-12/+11
| | | | | | the process and session. Instead, cache a true reference to the session when we do the hold and release our reference on that session. This avoids the need for the proc lock when dropping the reference.
* Lock the sched_lock while setting TDF_INPANIC.jhb2003-04-171-0/+2
|
* Use TD_IS_RUNNING() instead of thread_running() in the adaptive mutexjhb2003-04-172-14/+4
| | | | code.
* fork1() already sets PS_INMEM, so don't set it again. This lets us pushjhb2003-04-171-3/+2
| | | | sched_lock down slightly so that it isn't needed in the RFSTOPPED case.
* - The prison mutex cannot possibly protect pointers to the prison itjhb2003-04-171-3/+1
| | | | | | | protects, so don't bother locking it while we assign it to a ucred's cr_prison. - Fully construct the new credential for a process before assigning it to p_ucred.
* Add some locking in for a few proc and thread fields.jhb2003-04-172-2/+7
|
* - Push Giant down into the fork1() function a small bit.jhb2003-04-171-11/+10
| | | | | | - Set p_acflag earlier while already hold the proc lock in fork1(). - Mark the realitexpire() callout MPSAFE for new processes. It was already marked safe for proc0 a long while ago.
* Adjust a few comments.jhb2003-04-172-3/+3
|
* Protect td_sigmask with the proc lock.jhb2003-04-174-1/+11
|
* Test the P_WEXIT flag while already hold the proc lock instead of rightjhb2003-04-171-3/+2
| | | | after dropping it.
* Hold the proc lock across a wider range of fields that it protects.jhb2003-04-171-2/+2
|
* Add some missing proc mutex unlocks.jhb2003-04-171-2/+6
|
* Don't drop the proc lock just to reacquire it after a few simple assignmentjhb2003-04-171-2/+0
| | | | statements. Just hold the lock the entire time.
* Remove a couple of unused symbols.jhb2003-04-172-4/+0
|
* - Use a local variable to close a minor race when determining if the wmesgjhb2003-04-171-9/+15
| | | | | | printed out needs a prefix such as when a thread is blocked on a lock. - Use another local variable to close another race for the td_wmesg and td_wchan members of struct thread.
* Protect p_flag with the proc lock. The sched_lock is not needed to turnjhb2003-04-171-2/+2
| | | | off P_STOPPED_SIG in p_flag.
* - P_SHOULDSTOP just needs proc lock now, so don't acquire sched_lock unlessjhb2003-04-171-6/+4
| | | | | it is needed. - Add a proc lock assertion.
* Add a proc lock assertion and move another assertion up to the top of thejhb2003-04-171-2/+4
| | | | function.
* The proc lock is sufficient to test p_state against PRS_ZOMBIE, so don'tjhb2003-04-171-4/+0
| | | | needlessly lock sched_lock.
OpenPOWER on IntegriCloud