summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-30regen now that setreuid/setregid have moved out of compat and into kernTodd C. Miller
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
2003-01-30real meat in audio_device; discussed w/ jason@Michael Shalayeff
2003-01-30AD1849 not AD1848, also give the name of the AD1849 chip now that I have the ↵Jason Wright
datasheet.
2003-01-30Check the codec revision... if it's >=CS4215E or >=AD1849K (same valueJason Wright
strangely =) the make ulinear (native) and slinear (emulated) available. Also, while here, make ulinear_le:16 available via emulation. (Btw, the LASI docs say that the format code for ulinear is a reserved value... Probably just wasn't available in the early CS4215/AD1849's)
2003-01-29check the uvm_fault_wire() for failure, just like other calls; art@ okMichael Shalayeff
2003-01-29save fpregs in coredumpMichael Shalayeff
2003-01-29enable scsi and sync w/ genericMichael Shalayeff
2003-01-29oops, test-compiled the wrong source, missing parenMichael Shalayeff
2003-01-29make it work on both yamaha and ensoniq mpus; from hunter@dg.net.uaMichael Shalayeff
2003-01-29moved some stuff into hppa.htmlMichael Shalayeff
2003-01-29ref bit is reverse meaning in the pte, therefore should beMichael Shalayeff
set on initial mapping (both enter and kenter), this seems to repair numerous userland issues. do not play DIRTY games either. repair border condition on the batch unmap (as well).
2003-01-29typos;Jason McIntyre
many tweaks by millert@ (thanks) thanks mpech@ for help with adduser(8) ok millert@
2003-01-29Align this char array accessed as double, for paranoia reasons.Dale Rahn
2003-01-29correct part #, from sunsolve.sun.comHenning Brauer
ok theo
2003-01-29do setprocticle; ok camieldTheo de Raadt
2003-01-29/usr/share/doc/html/bind; ok deraadt@Jakob Schlyter
2003-01-29print out the codec revision in dmesgMichael Shalayeff
2003-01-29fix typo. majver should be minverTed Unangst
ok mickey@
2003-01-28add a rule to built bzero.po as wellMichael Shalayeff
2003-01-28a lost ntohs() caused tcpdump not to print the action.Henning Brauer
debugging session with and ok'd by dhartmei@
2003-01-28some more meatMichael Shalayeff
2003-01-28Mention type 5 Japanese keyboard layout.Miod Vallat
2003-01-28Japanese type 5 layout; from a picture of the actual layout on sunsolve,Miod Vallat
checked against prom behaviour with a jumpered type 5.
2003-01-28add a license goo; pt out by ray@securityfoo.netMichael Shalayeff
2003-01-28harmony is there, 10x to jasonMichael Shalayeff
2003-01-28remove example not pertinent with -1 addition; ok markus@Kevin Steves
2003-01-28document -l; pekkas@netcore.fiMarkus Friedl
2003-01-28typos; added white boldface to examplesJason McIntyre
ok deraadt@
2003-01-28compile without propolice on sparc64 for nowJakob Schlyter
2003-01-28harmony supportJason Wright
2003-01-28Ok, you can only set the HE/SE/LE/IS bits in GAINCTL when reset is asserted ↵Jason Wright
(why? I have no clue, but not abding this causes the chip to wedge). So, you can now switch input/output ports to your hearts content... oh did I mention several commits ago that capture works?
2003-01-28thread safer libc (note: safer, not safe)Marco S Hyman
Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@
2003-01-28Document the rest of cu's options; from Andrey SmaginTodd C. Miller
We should probably split tip and cu into separate man pages with the common bits included.
2003-01-28Move device driver specific stuff to *var.h and add most of the code forJason Wright
dealing with output source selection (doesn't work right yet, so its disabled).
2003-01-28Remove (now) bogus diagnostic check and set the output length correctly (why ↵Jason Wright
this was done in -two- places is beyone me); spotted and tested by Nick.
2003-01-28pad < minimal length packets with 0's; based on netbsd; tested by miodJason Wright
2003-01-28fix fd_set overflowVincent Labrecque
ok hin@
2003-01-27Do not clean too far.Miod Vallat
2003-01-27Stupid stupid stupid... DMA will not start until the capture next registerJason Wright
is written. I'm not sure how to -correctly- handle this for the fullduplex case, but this seems to make playback sound MUCH better...
2003-01-27M_VMPVENT bites the dust; requested by art@ long ago.Miod Vallat
2003-01-27pthreads signal handling improvements. With these changes allMarco S Hyman
of the thread regressions tests pass on i386, sparc, sparc64 (save the siginfo test on sparc64 due to a kernel issue) and alpha. The tests should also pass on ppc. In addition, it fixes the problems with the "mysql torture test" provided by one of our users. The python port also appears to work correctly with these changes. Summary of changes: * check_pending removed from thread structure, no longer used. * unused elements of sigstatus structure removed. The sigstatus structure is now used to keep track of siginfo data instead of defining a local array in uthread_sig.c. * _thread_kern_sched_sig removed * _thread_sig_process goes away -- can't have a lock active when signal handlers are called. Functions now call _thread_sig_handle directly. * _thread_clear_pending now used lib wide to clear pending flags. It was named _clean_pending_flag and only used in uthread_sig.c. The function clears both per thread signals, and per process signals. * _thread_sig_handle now returns a value. * unused debugging macros removed from the thread kernel * dispatch pending signals after switching to a thread providing that signal handling hasn't been deferred by the thread. * process thread switchhooks before dispatching pending sigs * check for thread cancellation before dispatching pending sigs * re-wrote pthread-kill to do the correct thing. It now does minimal thread-kill-specific processing and then calls the existing code in uthread_sig to process the generated signal. * shut the compiler up when compiling uthread_mutex.c * no more "signal_lock". It does more harm than good. * keep track of "per-process" signals. * don't bother saving siginfo_t data for the scheduling signal. * per posix: SIGSTOP cleared when SIGCONT received and vice versa. * add _dispatch_signal to properly dispatch a signal to a thread. It sets the appropriate signal mask, something that was missing in the previous implementation. This fixes several bugs. The previous method held a lock. If the signal handler longjmp-ed the lock was never cleared and no more signals were processed.
2003-01-27Save all floating point registers to full register sized fields, notDale Rahn
half-sized areas. fixes preemption_float on powerpc.
2003-01-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
2003-01-27pad minimum frames with 0's; based on netbsdJason Wright
2003-01-27pad tx buffer on < minimum length frames; based on NetBSD; tested on hppa.Jason Wright
2003-01-27KNFTheo de Raadt
2003-01-27bit KNFHenning Brauer
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-27As promised, I got some sleep and rewrote most of the driver... playbackJason Wright
is still a bit spotty, but at least interrupts are not enabled constantly any more. Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has the side effect of wedging the chip under some circumstances, but I think this can be worked around by resetting the codec... later.