[glib] Add some blacklisted mount directories
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add some blacklisted mount directories
- Date: Wed, 20 Jul 2011 08:55:12 +0000 (UTC)
commit 06941419e347a8a37711e65873b6c59729873ddc
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Jul 20 10:52:07 2011 +0200
Add some blacklisted mount directories
Another long-carried Debian patch. No reason that we should not have
these few extra items in the (already long) upstream list.
gio/gunixmounts.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index acbffb4..3ab20fa 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -243,6 +243,8 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
"/home",
"/lib",
"/lib64",
+ "/live/cow",
+ "/live/image",
"/media",
"/mnt",
"/opt",
@@ -253,7 +255,12 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
"/usr",
"/usr/local",
"/var",
+ "/var/crash",
+ "/var/local",
+ "/var/log",
"/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */
+ "/var/mail",
+ "/var/run",
"/var/tmp", /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */
"/proc",
"/sbin",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]