[BusyBox-cvs] [BusyBox 0000282]: The mount atime and diratime options set all the mount flags
bugs at busybox.net
bugs at busybox.net
Fri Jun 3 07:47:09 UTC 2005
The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=282>
======================================================================
Reported By: jbowler
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 282
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 06-03-2005 00:47 PDT
Last Modified: 06-03-2005 00:47 PDT
======================================================================
Summary: The mount atime and diratime options set all the
mount flags
Description:
If mount -o atime or mount -o diratime is used the mount proceeds with all
the mount flags (such as noexec etc) set.
This is because of the following lines from mount.c in the mount_options
structure initialisation:
{"atime", http://busybox.net/bugs/view.php?id=#0, ~MS_NOATIME},
{"diratime", http://busybox.net/bugs/view.php?id=#0, ~MS_NODIRATIME},
They should be {foo, ~foo, 0} - the arguments are {name, and, or}, and
http://busybox.net/bugs/view.php?id=#0
does nothing, or ~MS_NOATIME sets everything except MS_NOATIME.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-03-05 00:47 jbowler New Issue
======================================================================
More information about the busybox-cvs
mailing list