Kevin Wolf
6ceabe6f77
file-posix: Prepare permission code for fd switching
...
In order to be able to dynamically reopen the file read-only or
read-write, depending on the users that are attached, we need to be able
to switch to a different file descriptor during the permission change.
This interacts with reopen, which also creates a new file descriptor and
performs permission changes internally. In this case, the permission
change code must reuse the reopen file descriptor instead of creating a
third one.
In turn, reopen can drop its code to copy file locks to the new file
descriptor because that is now done when applying the new permissions.
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2019-03-12 20:30:14 +01:00
..
2018-03-19 14:58:37 -05:00
2019-02-22 09:42:13 +00:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2018-09-25 17:26:18 +02:00
2019-02-25 15:11:27 +01:00
2019-02-26 19:04:47 +00:00
2019-01-11 15:46:56 +01:00
2018-11-05 15:09:55 +01:00
2019-02-26 19:04:47 +00:00
2018-08-15 12:50:39 +02:00
2018-08-31 16:28:33 +02:00
2019-02-25 15:11:27 +01:00
2018-06-29 14:20:56 +02:00
2019-02-25 15:11:27 +01:00
2019-02-19 17:49:43 -05:00
2018-12-14 11:52:40 +01:00
2019-01-04 11:15:09 +00:00
2018-12-14 11:52:40 +01:00
2019-03-12 20:30:14 +01:00
2019-01-11 15:46:56 +01:00
2019-03-12 14:26:49 +01:00
2019-02-22 09:42:13 +00:00
2018-02-09 13:52:16 +01:00
2019-03-11 16:33:49 +01:00
2019-01-11 15:46:56 +01:00
2018-12-14 11:52:40 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:03:19 +01:00
2019-02-25 15:03:19 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-22 09:42:13 +00:00
2019-03-12 20:30:08 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-03-08 12:26:46 +01:00
2019-02-26 19:04:47 +00:00
2018-03-09 15:17:47 +01:00
2019-02-22 09:42:13 +00:00
2019-02-26 19:04:47 +00:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:03:18 +01:00
2019-02-25 15:11:27 +01:00
2019-02-22 09:42:13 +00:00
2019-01-24 10:02:28 +00:00
2019-02-25 15:11:27 +01:00
2019-01-31 00:38:19 +01:00
2019-02-01 13:46:45 +01:00
2018-11-05 15:09:54 +01:00
2019-02-25 15:11:25 +01:00
2018-11-05 15:09:54 +01:00
2019-01-11 15:46:55 +01:00
2019-02-26 19:04:47 +00:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2019-02-25 15:11:27 +01:00
2018-05-15 16:11:41 +02:00
2018-08-28 18:21:38 +02:00