| From | Sent On | Attachments |
|---|---|---|
| Sergey Babkin | Jul 6, 2008 10:30 pm | |
| Robert Watson | Jul 6, 2008 11:05 pm | |
| Poul-Henning Kamp | Jul 7, 2008 7:50 am | |
| Sergey Babkin | Jul 7, 2008 3:05 pm | |
| Sergey Babkin | Jul 7, 2008 3:12 pm | |
| Robert Watson | Jul 7, 2008 3:29 pm | |
| Coleman Kane | Jul 7, 2008 3:39 pm | |
| Poul-Henning Kamp | Jul 7, 2008 4:03 pm | |
| Poul-Henning Kamp | Jul 7, 2008 4:05 pm | |
| Robert Watson | Jul 7, 2008 4:33 pm | |
| Sergey Babkin | Jul 7, 2008 5:28 pm | |
| Sergey Babkin | Jul 7, 2008 5:32 pm | |
| Sergey Babkin | Jul 7, 2008 6:49 pm | |
| David Schultz | Jul 7, 2008 6:52 pm | |
| Ken Smith | Jul 7, 2008 7:32 pm | |
| Poul-Henning Kamp | Jul 7, 2008 7:55 pm | |
| Bruce Evans | Jul 7, 2008 8:03 pm | |
| Sergey Babkin | Jul 7, 2008 9:50 pm | |
| Sergey Babkin | Jul 7, 2008 9:56 pm | |
| Robert Watson | Jul 7, 2008 11:06 pm | |
| Robert Watson | Jul 7, 2008 11:15 pm | |
| Robert Watson | Jul 7, 2008 11:22 pm | |
| Poul-Henning Kamp | Jul 8, 2008 6:09 am | |
| Dag-Erling Smørgrav | Jul 8, 2008 11:16 am | |
| Sergey Babkin | Jul 8, 2008 12:27 pm | |
| Sergey Babkin | Jul 8, 2008 2:45 pm | |
| Robert Watson | Jul 8, 2008 3:26 pm | |
| Ed Schouten | Jul 8, 2008 3:36 pm | |
| David Schultz | Jul 8, 2008 4:46 pm | |
| Robert Watson | Jul 8, 2008 4:54 pm | |
| John Baldwin | Jul 10, 2008 2:24 am |
| Subject: | Proposal: a revoke() system call | |
|---|---|---|
| From: | Robert Watson (rwat...@FreeBSD.org) | |
| Date: | Jul 8, 2008 4:54:34 pm | |
| List: | org.freebsd.freebsd-arch | |
On Tue, 8 Jul 2008, Ed Schouten wrote:
I also noticed similar constructs inside the stat() calls, to translate device major/minor numbers. As you can see, some stat() routines call translate_path_major_minor_at() after performing the regular stat() operation. The translate_path_major_minor_at() is implemented by calling kern_openat(). This has three disadvantages:
- It is non-atomic.
- It can only perform the translation on nodes it has O_RDONLY access to. This shouldn't be a big problem, but may cause inconsistencies when users look around in devfs.
- The translation may not always work when the calling process is out of file descriptors.
- Opening a device node can have side effects, such as rewinding tapes, raising DTR on serial lines, triggering errors, or denying access to other consumers due to exclusive access requirements.
Robert N M Watson Computer Laboratory University of Cambridge





