Mailinglist Archive: opensuse-bugs (8080 mails)

< Previous Next >
[Bug 241082] New: additional mount of proc filesystem may change access rights of /proc
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 1 Feb 2007 06:50:12 -0700 (MST)
  • Message-id: <bug-241082-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=241082

Summary: additional mount of proc filesystem may change access
rights of /proc
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: SuSE Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: pgunreben@xxxxxxxxxx
QAContact: qa@xxxxxxx


Here's my small experiment:
====
> echo 1 > /proc/sys/kernel/randomize_va_space
> mkdir /tmp/bla
> mount -oro -tproc none /tmp/bla
> echo 1 > /proc/sys/kernel/randomize_va_space
-bash: /proc/sys/kernel/randomize_va_space: Read-only file system
> mount | grep proc
proc on /proc type proc (rw)
none on /tmp/bla type proc (ro)
> mount -oremount,rw /proc
> echo 1 > /proc/sys/kernel/randomize_va_space
> echo 1 > /tmp/bla/sys/kernel/randomize_va_space
====
Bottom line: The 2nd mount changes the access rights of the 1st mount and vice
versa!


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >