From dc0f28631047fa21a0d294a29603fe0319ffc740 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 26 Aug 2011 13:09:40 -0400 Subject: [PATCH] Revert "Update comment about validating requested filesystem type" This reverts commit 81cb4740de3ac2a790f1c093eba5f064ced0a2a5. --- src/device.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/device.c b/src/device.c index 261e45e..bee68e0 100644 --- a/src/device.c +++ b/src/device.c @@ -6353,13 +6353,12 @@ device_filesystem_mount_authorized_cb (Daemon *daemon, * filesystem type is * * - well-known [1]; or - * - in the /proc/filesystems file; or - * - in the /etc/filesystems file + * - in the /etc/filesystems file; or + * - in the /proc/filesystems file * - * 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... + * 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. -- 2.7.4