| #
c55795d0 |
| 06-Jun-2001 |
thorpej <thorpej@NetBSD.org> |
Change fdalloc() to return ERESTART if we had to reallocate the descriptor array, which may have blocked. Change callers of fdalloc() to restart whatever they\'re doing if this condition happens. (
Change fdalloc() to return ERESTART if we had to reallocate the descriptor array, which may have blocked. Change callers of fdalloc() to restart whatever they\'re doing if this condition happens. (XXX unp_externalize() needs some work, but that will be tackled later.)
Change finishdup() to close the descriptor in the `new\' slot if one exists, and change sys_dup2() accordingly.
Closes a race condition when using kernel-assisted user threads.
While here, garbage-collect UF_MAPPED -- it is not used anywhere.
show more ...
|
| #
7c6fe713 |
| 26-Feb-2001 |
lukem <lukem@NetBSD.org> |
convert to ANSI KNF
|
| #
dabbfde7 |
| 23-Mar-2000 |
thorpej <thorpej@NetBSD.org> |
Implement fdremove() which is used in place of all the code that did the "fdp->fd_ofiles[fd] = 0" assignment; fdremove() make sure the fd_freefiles hints stay in sync.
From OpenBSD.
|
| #
65776a5a |
| 05-May-1999 |
thorpej <thorpej@NetBSD.org> |
Make dupfdopen() take a proc * instead of a filedesc *.
|
| #
16936c95 |
| 30-Apr-1999 |
thorpej <thorpej@NetBSD.org> |
Break cdir/rdir/cmask info out of struct filedesc, and put it in a new substructure, `cwdinfo'. Implement optional sharing of this substructure.
This is required for clone(2).
|
| #
6382d6dd |
| 05-Jan-1998 |
thorpej <thorpej@NetBSD.org> |
Implement file descriptor table sharing. Partially from FreeBSD.
|
| #
6bd4a3a7 |
| 22-Jan-1997 |
mikel <mikel@NetBSD.org> |
add multiple inclusion protection
|
| #
c40712b4 |
| 09-Apr-1996 |
cgd <cgd@NetBSD.org> |
fix extra spaces at ends of lines, etc. (all spacing nits.)
|
| #
84cc73f7 |
| 14-Mar-1996 |
christos <christos@NetBSD.org> |
filedesc.h, proc.h: Rename fdopen() to filedescopen() so that it does not conflict with the floppy driver. conf.h: Protect against multiple inclusions. The reason will become apparent soon. sy
filedesc.h, proc.h: Rename fdopen() to filedescopen() so that it does not conflict with the floppy driver. conf.h: Protect against multiple inclusions. The reason will become apparent soon. systm.h: Bring Debugger() prototype into scope.
show more ...
|
| #
22ca27a0 |
| 09-Feb-1996 |
christos <christos@NetBSD.org> |
Filesystem prototype changes
|
| #
7c042338 |
| 26-Mar-1995 |
jtc <jtc@NetBSD.org> |
KERNEL -> _KERNEL
|
| #
47f89a54 |
| 03-Dec-1994 |
mycroft <mycroft@NetBSD.org> |
Change fd_lastfile and fd_freefile to ints.
|
| #
fccfa11a |
| 29-Jun-1994 |
cgd <cgd@NetBSD.org> |
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
|
| #
f2125498 |
| 27-Jun-1994 |
cgd <cgd@NetBSD.org> |
new standard, minimally intrusive ID format
|
| #
d6a47464 |
| 21-May-1994 |
cgd <cgd@NetBSD.org> |
update to 4.4-lite; minor local changes
|
| #
ba67215d |
| 04-Jan-1994 |
cgd <cgd@NetBSD.org> |
generalize dupfdopen() to allow dups and moves. from jsp
|
| #
78cc61f8 |
| 23-Dec-1993 |
cgd <cgd@NetBSD.org> |
fix that last (for now)
|
| #
11d6f259 |
| 23-Dec-1993 |
cgd <cgd@NetBSD.org> |
add proto for dupfdopen()
|
| #
cd1bcbc8 |
| 20-May-1993 |
cgd <cgd@NetBSD.org> |
add rcs ids as necessary, and also clean up headers
|
| #
bcbf85df |
| 19-Apr-1993 |
mycroft <mycroft@NetBSD.org> |
Add consistent multiple-inclusion protection.
|
| #
61f28255 |
| 21-Mar-1993 |
cgd <cgd@NetBSD.org> |
initial import of 386bsd-0.1 sources
|