[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #26960] firmlink opens target with client specified flags
From: |
Kalle Olavi Niemitalo |
Subject: |
[bug #26960] firmlink opens target with client specified flags |
Date: |
Tue, 20 Sep 2016 22:54:10 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #1, bug #26960 (project hurd):
Someone should write test cases for whether the patch causes problems with the
following flags.
* O_APPEND: Open a firmlink with O_APPEND and then use io_get_openmodes and
verify that the O_APPEND bit is there.
* O_NOATIME: Open a firmlink with O_NOATIME, use io_read, close the file_t and
check that the atime of the target file remains unchanged.
* O_NONBLOCK
* O_ASYNC
* others?
If the firmlink translator doesn't pass O_APPEND to the dir_lookup call, but
its caller ends up doing another dir_lookup and setting O_APPEND there, then
it's okay, provided that the RPC responses from the firmlink translator are
such that the caller cannot expect the file_t to work right if it omits the
second dir_lookup.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26960>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #26960] firmlink opens target with client specified flags,
Kalle Olavi Niemitalo <=