summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | New files in OpenPAM Cineraria.des2002-04-141-0/+2
| | | | | | | | | | | | Sponsored by: DARPA, NAI Labs
* | | Cosmetic nit.des2002-04-141-1/+1
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r94670,des2002-04-1454-346/+608
|\ \ \ | | |/ | |/| | | | which included commits to RCS files with non-trunk default branches.
| * | Vendor import of OpenPAM Cineraria.des2002-04-1454-346/+608
| | |
* | | The new Compaq DS20L is a direct derivative of the CS20 so we supportwilko2002-04-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it with FreeBSD/alpha. Pictures of DS20L will be available soon at http://people.freebsd.org/~wilko/Alpha-gallery/ Along with pictures of a ES80 'Marvel' EV7 box (which we don't support yet :-P )
* | | Use 'struct callout' instead of 'struct callout_handle' to avoidarchie2002-04-141-25/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exhausting the kernel timeout table. Perform the usual gymnastics to avoid race conditions between node shutdown and timeouts occurring. Also fix a bug in handling ack delays < PPTP_MIN_ACK_DELAY. Before, we were ack'ing immediately. Instead, just impose a minimum ack delay time, like the name of the macro implies. MFC after: 1 week
* | | Don't allow one to trace an ancestor when already traced.alfred2002-04-141-1/+14
| | | | | | | | | | | | | | | | | | | | | PR: kern/29741 Submitted by: Dave Zarzycki <zarzycki@FreeBSD.org> Fix from: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC After: 2 weeks
* | | Actually add the UDF files!scottl2002-04-1411-0/+3225
| | |
* | | Cast a ptrdiff_t to int before using it as a printf field width.des2002-04-141-2/+2
| | |
* | | Cosmetical change: remove empty line to reduce diffs to RELENG_4fjoe2002-04-141-1/+0
| | |
* | | Add a filesystem driver for the Universal Disk Format. For more info,scottl2002-04-146-1/+8
| | | | | | | | | | | | | | | | | | | | | see http://people.freebsd.org/~scottl/udf MFC after: when asmodai gets the backport done Prodded by: phk asmodai des
* | | Fix some warnings. Don't record logins twice in USE_PAM case. Stripdes2002-04-141-4/+22
| | | | | | | | | | | | | | | | | | | | | "/dev/" off the tty name before passing it to auth_ttyok or PAM. Inspired by: dinoex Sponsored by: DARPA, NAI Labs
* | | Fix a witness warning when expanding a hash table. We were allocating the newjeff2002-04-141-38/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash while holding the lock on a zone. Fix this by doing the allocation seperately from the actual hash expansion. The lock is dropped before the allocation and reacquired before the expansion. The expansion code checks to see if we lost the race and frees the new hash if we do. We really never will lose this race because the hash expansion is single threaded via the timeout mechanism.
* | | Protect the initial list traversal in sysctl_vm_zone() with the uma_mtx.jeff2002-04-141-0/+2
| | |
* | | Remove the hard-coded limit of 3 bytes for EUC encodings.asmodai2002-04-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to any arbitrary number. We now set the limit to the maximum octet length of the codeset and it is locale-specific. Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
* | | Fix the play / record rate setting so that it actually works.jhay2002-04-141-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | The extra microphone channel capability is part of the "normal" ac97 capabilities and not an extended ac97 capability. Now recording on codecs without a seperate mic channel works. MFC after: 1 week
* | | Use VOP_GETVOBJECT instead of accessing the member directly. This fixedjeff2002-04-141-1/+1
| | | | | | | | | | | | | | | | | | an issue with nullfs and NAMEI shared. Submitted by: Alexander Kabaev
* | | Modernize SCM ID.obrien2002-04-141-4/+1
| | |
* | | Dotting the i-s:marcel2002-04-142-18/+28
| | | | | | | | | | | | | | | | | | | | | o Use chunk instead of region when we talk about a memory range. Region can be confused with region register and we already call it chunk in machdep.c o Update the twiddle every 16MB
* | | Regenalc2002-04-145-6/+6
| | |
* | | Remove the requirement that Giant be held around sigreturn().alc2002-04-141-1/+1
| | |
* | | Allow a kernel to be compiled with both SKI and acpica and stillpeter2002-04-142-2/+15
| | | | | | | | | | | | work on real hardware. (SKI used to break the sapic probes)
* | | Back out rev 1.17, it breaks dependencies.obrien2002-04-141-15/+11
| | | | | | | | | | | | | | | | | | | | | With rev 1.7 one cannot build src/bin/sh -- because make fails to create the buildtools before trying to use them. Actually it does compile the buildtools into .o's before trying to use them, but not all the way into binaries.
* | | Remove stale XXX comment.jhb2002-04-141-1/+0
| | |
* | | o Use aiocblist::fd_file in the AIO threads rather than recomputingalc2002-04-141-45/+3
| | | | | | | | | | | | | | | | | | the file * from the calling process's descriptor table. o Eliminate sharing of the calling process's descriptor table with the AIO threads.
* | | Correct markup.dd2002-04-141-1/+2
| | |
* | | Fix the calculation that determines uz_maxpages. It was off for large zones.jeff2002-04-142-28/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fortunately we have no large zones with maximums specified yet, so it wasn't breaking anything. Implement blocking when a zone exceeds the maximum and M_WAITOK is specified. Previously this just failed like the old zone allocator did. The old zone allocator didn't support WAITOK/NOWAIT though so we should do what we advertise. While I was in there I cleaned up some more zalloc logic to further simplify that code path and reduce redundant code. This was needed to make the blocking work properly anyway.
* | | Clean up the 1/2 a** committing from Thu, 3 May 2001 11:05:39 -0700 (PDT).obrien2002-04-142-4/+1010
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since then we have living with a GPL'ed find(1) due to grabbing getdate.y from src/contrib/cvs and its user of the GPL'ed xtime.h. I don't even want to think about how this could have affected people using our source base. Would it have been too much trouble to do then what I did now? Copied getdate.y (public domain) to usr.bin/find and change to use standard system headers. find(1) now compiles simply with out having to go to extra effort to do so. Pointed hat to: phk Build fixed on: gcc 3.1 using platforms
* | | Do not use perl where sed is more than adequate.obrien2002-04-131-1/+4
| | |
* | | Add comment that sigreturn() is MPSAFE.alc2002-04-132-0/+5
| | |
* | | - Change killpg1()'s first argument to be a thread instead of a process sojhb2002-04-131-36/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we can use td_ucred. - In killpg1(), the proc lock is sufficient to check if p_stat is SZOMB or not. We don't need sched_lock. - Close some races in psignal(). In psignal() there is a big switch statement based on p_stat. All the different cases are assuming that the process (or thread) isn't going to change state out from under it. To ensure this is true, just lock sched_lock for the entire switch. We practically held it the entire time already anyways. This also simplifies the locking somewhat and actually results in fewer lock operations. - Allow signotify() to be called with the sched_lock held since psignal() now does that. - Use td_ucred in a couple of places.
* | | Remove bogus dependency on rlogin.des2002-04-131-4/+3
| | |
* | | - Change donice() to take a thread as the first argument instead of ajhb2002-04-131-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | process so it can use td_ucred. - Require the target process of donice() to be locked when donice() is called. - Use td_ucred. - Lock the target process of p_cansee() and while reading the credentials of a process. - Change the logic of rtprio() slightly so it does it's copyin() if needed prior to locking the target process. - rtprio() no longer needs Giant. In theory with full KSE it would still need Giant to protect p_ucred of curproc for the p_canfoo() functions but p_canfoo() will be changing to using td_ucred of curthread before full KSE hits the tree.
* | | - Change procfs_control()'s first argument to be a thread pointer insteadjhb2002-04-131-47/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a process pointer. - Move the p_candebug() at the start of procfs_control() a bit to make locking feasible. We still perform the access check before doing anything, we just now perform it after acquiring locks. - Don't lock the sched_lock for TRACE_WAIT_P() and when checking to see if p_stat is SSTOP. We lock the process while setting p_stat to SSTOP so locking the process is sufficient to do a read to see if p_stat is SSTOP or not.
* | | Lock the target process for p_candebug().jhb2002-04-131-3/+4
| | |
* | | Lock the target process in procfs_doproc*regs() for p_candebug and whilejhb2002-04-133-9/+23
| | | | | | | | | | | | reading/writing the registers.
* | | Rework logic of syscalls that modify process credentials as described injhb2002-04-133-29/+55
| | | | | | | | | | | | rev 1.152 of sys/kern/kern_prot.c.
* | | - p_cansee() needs the target process locked.jhb2002-04-132-35/+32
| | | | | | | | | | | | - We need the proc lock held for more of procfs_doprocstatus().
* | | - Change the algorithms of the syscalls to modify process credentials tojhb2002-04-131-83/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allocate a blank cred first, lock the process, perform checks on the old process credential, copy the old process credential into the new blank credential, modify the new credential, update the process credential pointer, unlock the process, and cleanup rather than trying to allocate a new credential after performing the checks on the old credential. - Cleanup _setugid() a little bit. - setlogin() doesn't need Giant thanks to pgrp/session locking and td_ucred.
* | | - Change the first argument of ktrcanset(), ktrsetchildren(), and ktrops()jhb2002-04-131-32/+57
| | | | | | | | | | | | | | | to a thread pointer so that ktrcanset() can use td_ucred. - Add some proc locking to partially protect p_tracep and p_traceflag.
* | | Turn on TGA support.obrien2002-04-1313-29/+102
| | | | | | | | | | | | Submitted by: Andrew M. Miklic <AndrwMklc@cs.com>
* | | Install digittoint.3 (forgotten in rev 1.21)des2002-04-131-1/+1
| | | | | | | | | | | | | | | PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* | | Quiet GCC 3.1 warning.obrien2002-04-131-1/+1
| | |
* | | libstand needs _setjmp/_longjmp for FICL.obrien2002-04-131-0/+100
| | | | | | | | | | | | Submitted by: jake
* | | Style nit and modernize SCM ID.obrien2002-04-131-8/+2
| | |
* | | If the receiver runs out of space for an received frame in the internalphk2002-04-132-22/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FIFO or the in-RAM descriptors it will switch to RX_IDLE from where it is not restarted. We used to deal with RX_IDLE by doing a total reinit but this lost our link and caused a potential 30sec autonegotiation against switches. This was changed to a less heavyhanded approach, but this failed to restart the receiver it it were in the RX_IDLE state. This change adds the RX_IDLE and the RX_FIFO_OFLOW conditions as triggers for interrupts and receive side processing, and restarts the receiver when it is RX_IDLE. Remove the #ifdef notyet'ed nge_rxeoc() function. Sponsored by: Cybercity Internet, Denmark. MFC after: 7 days
* | | Warns cleanups:dwmalone2002-04-131-6/+9
| | | | | | | | | | | | | | | | | | | | | 1) Add missing initialisers. 2) Avoid shadowing rcswhich. 3) Use intmax_t and %j for printing rather than quad_t and %q. 4) Don't modify a variable twice between sequence points.
* | | Remove previously unneeded and now incorrect cast of user_from_uid()dwmalone2002-04-131-7/+7
| | | | | | | | | | | | | | | to a char *. Fix up vendor ID.
* | | Fix up vendor IDs.dwmalone2002-04-131-7/+10
| | | | | | | | | | | | Put a sequence point between writing to a variable and using it.
* | | Use pmap_extract() instead of pmap_kextract() to retrieve the physicaltmm2002-04-131-1/+2
| | | | | | | | | | | | | | | | | | | | | address associated with a user virtual address in pipe_build_write_buffer(). Reviewed by: alc
OpenPOWER on IntegriCloud