summaryrefslogtreecommitdiff
path: root/sys/coda/coda_psdev.c
Commit message (Collapse)AuthorAgeFilesLines
* Back our kernel support for reliable signal queues.Juli Mallett2002-10-011-11/+7
| | | | | | | Requested by: rwatson, phk, and many others Notes: svn path=/head/; revision=104306
* When working with sigset_t's, and needing to perform masking operations basedJuli Mallett2002-10-011-7/+11
| | | | | | | | | on a process's pending signals, use the signal queue flattener, ksiginfo_to_sigset_t, on the process, and on a local sigset_t, and then work with that as needed. Notes: svn path=/head/; revision=104264
* More s/file system/filesystem/gTom Rhodes2002-05-161-1/+1
| | | | Notes: svn path=/head/; revision=96755
* Moved signal handling and rescheduling from userret() to ast() so thatBruce Evans2002-04-041-0/+1
| | | | | | | | | | | | | | they aren't in the usual path of execution for syscalls and traps. The main complication for this is that we have to set flags to control ast() everywhere that changes the signal mask. Avoid locking in userret() in most of the remaining cases. Submitted by: luoqi (first part only, long ago, reorganized by me) Reminded by: dillon Notes: svn path=/head/; revision=93793
* Update to C99, s/__FUNCTION__/__func__/,David E. O'Brien2001-12-101-1/+1
| | | | | | | also don't use ANSI string concatenation. Notes: svn path=/head/; revision=87599
* Backed out vestiges of the quick fixes for the transient breakage ofBruce Evans2001-10-131-1/+0
| | | | | | | | <sys/mount.h> in rev.1.106 of the latter (don't include <sys/socket.h> just to work around bugs in <sys/mount.h>). Notes: svn path=/head/; revision=84873
* Use the passed in thread to selrecord() instead of curthread.John Baldwin2001-09-211-1/+1
| | | | Notes: svn path=/head/; revision=83804
* KSE Milestone 2Julian Elischer2001-09-121-11/+12
| | | | | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha Notes: svn path=/head/; revision=83366
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inMark Murray2001-05-011-5/+6
| | | | | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations) Notes: svn path=/head/; revision=76166
* fix it so it compiles againMatt Jacob2001-04-231-0/+2
| | | | Notes: svn path=/head/; revision=75877
* Protect accesses to member of struct proc with the proc lock.John Baldwin2000-12-061-2/+5
| | | | Notes: svn path=/head/; revision=69652
* Remove ~25 unneeded #include <sys/conf.h>Poul-Henning Kamp2000-04-191-1/+0
| | | | | | | Remove ~60 unneeded #include <sys/malloc.h> Notes: svn path=/head/; revision=59391
* sigset_t change (part 2 of 5)Marcel Moolenaar1999-09-291-24/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- The core of the signalling code has been rewritten to operate on the new sigset_t. No methodological changes have been made. Most references to a sigset_t object are through macros (see signalvar.h) to create a level of abstraction and to provide a basis for further improvements. The NSIG constant has not been changed to reflect the maximum number of signals possible. The reason is that it breaks programs (especially shells) which assume that all signals have a non-null name in sys_signame. See src/bin/sh/trap.c for an example. Instead _SIG_MAXSIG has been introduced to hold the maximum signal possible with the new sigset_t. struct sigprop has been moved from signalvar.h to kern_sig.c because a) it is only used there, and b) access must be done though function sigprop(). The latter because the table doesn't holds properties for all signals, but only for the first NSIG signals. signal.h has been reorganized to make reading easier and to add the new and/or modified structures. The "old" structures are moved to signalvar.h to prevent namespace polution. Especially the coda filesystem suffers from the change, because it contained lines like (p->p_sigmask == SIGIO), which is easy to do for integral types, but not for compound types. NOTE: kdump (and port linux_kdump) must be recompiled. Thanks to Garrett Wollman and Daniel Eischen for pressing the importance of changing sigreturn as well. Notes: svn path=/head/; revision=51791
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Remove the RCS "Log" and all the verbiage it has generated.Poul-Henning Kamp1999-07-211-135/+1
| | | | Notes: svn path=/head/; revision=48960
* Missed a stray LKM #ifdefPeter Wemm1999-01-171-5/+8
| | | | Notes: svn path=/head/; revision=42770
* coda_lookup now passes up an extra flag. But old veni willRobert V. Baron1998-11-111-4/+28
| | | | | | | | | | be ok; new veni will check /dev/cfs0 to make sure that a new kernel is running. Also, a bug in vc_nb_close iff CODA_SIGNAL's were seen has been fixed. Notes: svn path=/head/; revision=41095
* Change the way unmounting happens to guarantee that theRobert V. Baron1998-10-281-20/+51
| | | | | | | | | | client programs are allowed to finish up (coda_call is forced to complete) and release their locks. Thus there is a reasonable chance that the vflush implicit in the unmount will not get hung on held locks. Notes: svn path=/head/; revision=40708
* Fixes for lkm:Robert V. Baron1998-09-291-2/+5
| | | | | | | | 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL 2. don't pass -DCODA to lkm build Notes: svn path=/head/; revision=39778
* Cleanup and fix THE bugRobert V. Baron1998-09-281-5/+10
| | | | Notes: svn path=/head/; revision=39728
* Put "stray" printouts under DIAGNOSTIC. Make everything buildRobert V. Baron1998-09-251-11/+27
| | | | | | | | with DEBUG on. Add support for lkm. (The macro's don't work for me; for a good chuckle look at the end of coda_fbsd.c.) Notes: svn path=/head/; revision=39650
* Finish conversion of cfs -> codaRobert V. Baron1998-09-131-7/+11
| | | | Notes: svn path=/head/; revision=39126
* All the references to cfs, in symbols, structs, and stringsRobert V. Baron1998-09-111-81/+84
| | | | | | | have been changed to coda. (Same for CFS.) Notes: svn path=/head/; revision=39085
* Pass2 completeRobert V. Baron1998-09-021-99/+42
| | | | Notes: svn path=/head/; revision=38759
* Very Preliminary CodaRobert V. Baron1998-08-291-0/+756
Notes: svn path=/cvs2svn/branches/CODA/; revision=38625