[Pkg-sysvinit-devel] Bug#386368: initscripts: please don't mount /dev/shm noexec

Ritesh Raj Sarraf rrs at researchut.com
Wed Nov 1 18:53:25 CET 2006


And now add user-mode-linux also.

rrs at learner:~ $ dpkg -l | grep sysvinit
ii  sysvinit                                  2.86.ds1-34                 
System-V-like init utilities
ii  sysvinit-utils                            2.86.ds1-34                 
System-V-like utilities


23:17:15
rrs at learner:~ $ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/deb-root / ext3 rw,data=ordered 0 0
/dev/mapper/deb-root /dev/.static/dev ext3 rw,data=ordered 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/hda1 /boot ext3 rw,data=ordered 0 0
/dev/mapper/deb-home /home ext3 rw,data=ordered 0 0
/dev/mapper/deb-usrlocal /usr/local ext3 rw,data=ordered 0 0
automount(pid4197) /mnt autofs 
rw,fd=4,pgrp=4197,timeout=120,minproto=2,maxproto=4,indirect 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0


rrs at learner:~ $ linux
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...failed: Operation not permitted
/dev/shm/ must be not mounted noexec

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
"Stealing logic from one person is plagiarism, stealing from many is 
research."
"The great are those who achieve the impossible, the petty are those who 
cannot - rrs"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20061101/8212fcf4/attachment.pgp


More information about the Pkg-sysvinit-devel mailing list