1 # Fix borrowed from mandriva
2 # disable umount -r for non-root users to fix privilege escalation (CAN-2005-2876)
4 --- util-linux-2.12a/mount/umount.c.can-2005-2876 2005-09-19 20:18:32.011686865 -0600
5 +++ util-linux-2.12a/mount/umount.c 2005-09-19 20:19:02.699173130 -0600
8 if (getuid () != geteuid ()) {
10 - if (all || types || nomtab || force)
11 + if (all || types || nomtab || force || remount)
12 die (2, _("umount: only root can do that"));