aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/filedesc.h
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
committerJulian Elischer <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
commitb40ce4165d5eb3a5de1515245055350ae3dbab8e (patch)
treeb1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/sys/filedesc.h
parent9b36a30ee46a7766f269fe832ef3a2daa2ec04f0 (diff)
downloadsrc-b40ce4165d5eb3a5de1515245055350ae3dbab8e.tar.gz
src-b40ce4165d5eb3a5de1515245055350ae3dbab8e.zip
KSE Milestone 2
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
Notes: svn path=/head/; revision=83366
Diffstat (limited to 'sys/sys/filedesc.h')
-rw-r--r--sys/sys/filedesc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h
index feebb622a099..3c1cb8d2cbad 100644
--- a/sys/sys/filedesc.h
+++ b/sys/sys/filedesc.h
@@ -125,16 +125,16 @@ struct sigio {
SLIST_HEAD(sigiolst, sigio);
#ifdef _KERNEL
-int closef __P((struct file *fp, struct proc *p));
-int dupfdopen __P((struct proc *p, struct filedesc *fdp, int indx, int dfd, int mode,
+int closef __P((struct file *fp, struct thread *p));
+int dupfdopen __P((struct thread *td, struct filedesc *fdp, int indx, int dfd, int mode,
int error));
-int falloc __P((struct proc *p, struct file **resultfp, int *resultfd));
-int fdalloc __P((struct proc *p, int want, int *result));
-int fdavail __P((struct proc *p, int n));
-void fdcloseexec __P((struct proc *p));
-struct filedesc *fdcopy __P((struct proc *p));
-void fdfree __P((struct proc *p));
-struct filedesc *fdinit __P((struct proc *p));
+int falloc __P((struct thread *p, struct file **resultfp, int *resultfd));
+int fdalloc __P((struct thread *p, int want, int *result));
+int fdavail __P((struct thread *td, int n));
+void fdcloseexec __P((struct thread *td));
+struct filedesc *fdcopy __P((struct thread *td));
+void fdfree __P((struct thread *td));
+struct filedesc *fdinit __P((struct thread *td));
struct filedesc *fdshare __P((struct proc *p));
void ffree __P((struct file *fp));
pid_t fgetown __P((struct sigio *sigio));
@@ -143,7 +143,7 @@ void funsetown __P((struct sigio *sigio));
void funsetownlst __P((struct sigiolst *sigiolst));
struct file *holdfp __P((struct filedesc *fdp, int fd, int flag));
int getvnode __P((struct filedesc *fdp, int fd, struct file **fpp));
-void setugidsafety __P((struct proc *p));
+void setugidsafety __P((struct thread *td));
#endif /* _KERNEL */