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
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@forge.provo.novell.com ReportedBy: pgunreben@lucent.com QAContact: qa@suse.de Here's my small experiment: ==== 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.