~ubuntu-branches/ubuntu/lucid/util-linux/lucid-security

« back to all changes in this revision

Viewing changes to mount/devname.c

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2010-12-03 15:30:33 UTC
  • Revision ID: james.westby@ubuntu.com-20101203153033-0mseuou9ilpsu846
Tags: 2.17.2-0ubuntu1.10.04.1
* SECURITY UPDATE: arbitrary unmount with fuse (LP: #670622)
  - This update adds support for new options required by the fuse
    security update.
  - mount/umount.{c,8}: Add --fake option to umount(8), which omits
    calling the actual umount syscall (and the loop device deletion) but
    modifies /etc/mtab.
    - http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=97a3cef4f1
  - mount/devname.c: "Spec" was still canonicalized despite
    --no-canonicalize.  This resulted in a hang during login with
    pam_encfs. (Debian Bug #593336)
  - http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=1cf4c20b19
  - CVE-2010-3879

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
{
9
9
        if (!spec)
10
10
                return NULL;
11
 
        if (is_pseudo_fs(spec))
 
11
        if (nocanonicalize || is_pseudo_fs(spec))
12
12
                return xstrdup(spec);
13
13
        return fsprobe_get_devname_by_spec(spec);
14
14
}