Lennart Poettering
f7c9f4a2a9
btrfs-util: when opening subvolume fds, always set O_NOFOLLOW
...
Some of the btrfs utility functions already used O_NOFOLLOW others
didn't. Let's streamline this, and refuse operation when we are called
for symlinks on "remove" and "snapshot" too.
In particular in the "remove" case following symlinks is a bad idea, and
is quite different from how unlink() and friends work, which always
remove the symlink, and not the destination, a logic we should follow
here too.
2017-10-26 17:54:56 +02:00
..
2017-10-04 12:09:29 +02:00
2017-10-26 17:54:56 +02:00
2017-09-13 11:42:31 +02:00
2017-10-04 12:09:29 +02:00
2017-10-26 10:56:44 +02:00
2017-10-04 12:09:29 +02:00
2017-10-17 19:15:58 +02:00
2017-10-04 12:09:29 +02:00
2017-09-13 11:42:31 +02:00
2017-10-04 19:25:30 +02:00
2017-10-04 12:09:29 +02:00
2017-10-04 12:09:29 +02:00
2017-09-13 11:42:31 +02:00
2017-10-04 19:25:30 +02:00
2017-10-04 19:25:30 +02:00
2017-10-26 10:54:30 +02:00
2017-10-04 19:25:30 +02:00
2017-10-23 18:39:07 +02:00
2017-09-28 19:24:16 +02:00
2017-10-04 19:25:30 +02:00
2017-10-18 17:14:05 +02:00
2017-10-06 16:03:33 +09:00
2017-10-08 22:29:45 +02:00
2017-09-07 16:16:47 -03:00
2017-10-23 18:39:07 +02:00
2017-10-24 19:40:50 +02:00
2017-10-02 13:09:56 +02:00
2017-09-14 09:20:27 +02:00
2017-10-04 16:01:32 +02:00
2017-10-04 19:29:36 +02:00
2017-10-04 12:09:29 +02:00
2017-10-25 11:47:04 +02:00
2017-10-18 17:39:54 +02:00
2017-09-26 23:51:14 +02:00
2017-10-24 17:21:27 +09:00
2017-09-22 20:55:34 +02:00
2017-10-04 16:01:32 +02:00
2017-09-08 18:21:37 +02:00
2017-09-13 11:42:31 +02:00
2017-10-15 12:22:47 +02:00
2017-10-06 12:30:27 +03:00
2017-10-04 19:25:30 +02:00
2017-10-02 13:09:54 +02:00
2017-10-18 11:27:23 +02:00
2017-10-18 16:30:37 +02:00
2017-10-06 16:05:20 +09:00
2017-10-04 19:25:30 +02:00
2017-10-04 16:01:32 +02:00
2017-10-08 22:04:07 +02:00
2017-10-04 19:25:30 +02:00
2017-10-04 12:09:29 +02:00
2017-10-02 13:09:54 +02:00