Bug#296201: mount: unprivileged user can mount partition without updating mtab

2005-02-21 Thread Andreas Barth
* Justin Pryzby ([EMAIL PROTECTED]) [050221 16:40]: I can't reproduce this. mount.c:856 blocks all signals, then tries to mount the fs, then updates mtab, then unblocks signals. I tested and this appears to ensure atomicity of the mount,mtab block WRT signals. This won't help if you e.g.

Bug#296201: mount: unprivileged user can mount partition without updating mtab

2005-02-20 Thread Tyler MacDonald
Package: mount Version: 2.12p-2 Severity: grave Justification: user security hole If a non-root user mounts media (in my case, a CD-ROM), and attempts to kill the process (in my case, a mad combination of ^C and ^\), the filesystem can be mounted, yet not appear in /etc/mtab. This means that