Update comment about validating requested filesystem type
authorDavid Zeuthen <davidz@redhat.com>
Tue, 15 Mar 2011 13:39:26 +0000 (09:39 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 15 Mar 2011 13:39:26 +0000 (09:39 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/device.c

index bee68e0..261e45e 100644 (file)
@@ -6353,12 +6353,13 @@ device_filesystem_mount_authorized_cb (Daemon *daemon,
    * filesystem type is
    *
    * - well-known [1]; or
-   * - in the /etc/filesystems file; or
-   * - in the /proc/filesystems file
+   * - in the /proc/filesystems file; or
+   * - in the /etc/filesystems file
    *
-   * We do this because mount(8) on Linux allows loading any arbitrary
-   * kernel module (when invoked as root) by passing something appropriate
-   * to the -t option. So we have to validate whatever we pass.
+   * in that order. We do this because mount(8) on Linux allows
+   * loading any arbitrary kernel module (when invoked as root) by
+   * passing something appropriate to the -t option. So we have to
+   * validate whatever we pass...
    *
    * See https://bugs.freedesktop.org/show_bug.cgi?id=32232 for more
    * details.