diff options
author | ariff <ariff@FreeBSD.org> | 2006-03-21 06:35:48 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2006-03-21 06:35:48 +0000 |
commit | 6e1625d978780bd70c4f4750f23107d69f3ebd43 (patch) | |
tree | 838fdc3d7f5c9fe3b44fdd03d03852a0f53e98d2 /lib/libc/stdlib/radixsort.c | |
parent | c23b0abf4fcbb6ab099ab3c21e9dcd0887797b8e (diff) | |
download | FreeBSD-src-6e1625d978780bd70c4f4750f23107d69f3ebd43.zip FreeBSD-src-6e1625d978780bd70c4f4750f23107d69f3ebd43.tar.gz |
Apply more thorough fixes while dealing with device opening and closing:
- Determine open direction using 'flags', not 'mode'. This bug exist since
past 4 years.
- Don't allow opening the same device twice, be it in a same or different
direction.
- O_RDWR is allowed, provided that it is done by a single open (for example
by mixer(8)) and the underlying hardware support true full-duplex operation.
- Do various paranoid checking in case other process/thread trying to hijack
the same device twice (or more).
MFC after: 5 days
Diffstat (limited to 'lib/libc/stdlib/radixsort.c')
0 files changed, 0 insertions, 0 deletions