Re: [PATCH] FIx 'noexec' behavior

From: Ulrich Drepper
Date: Sat Dec 06 2003 - 14:36:59 EST

Hash: SHA1

Jon Smirl wrote:

> /dev/sda5 / ext3 defaults 1 1
> /dev/sda1 /boot ext3 defaults 1 2
> LABEL=/dos /rh9 ext3 defaults 1 2
> /dev/sda2 swap swap defaults 0 0
> /dev/hda3 swap swap defaults 0 0
> /dev/cdrom /mnt/cdrom udf,iso9660
> noauto,owner,kudzu,ro 0 0
> /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
> none /sys sysfs defaults 0 0
> tmpfs /tmp tmpfs defaults,size=800M 0 0
> none /dev/pts devpts gid=5,mode=620 0 0
> none /proc proc defaults 0 0
> none /dev/shm tmpfs defaults 0 0
> /dev/md0 /home ext3 defaults 1 2
> /dev/cdrom1 /mnt/cdrom1 udf,iso9660
> noauto,owner,kudzu,ro 0 0

Unless one of the filesystems does something funny and sets the noexec
bit automatically, I see nothing which could cause the problem since
there is no "noexec" anywhere. Maybe you have additional mounts.
Instead of looking at fstab, send the output of running "mount" without
any parameter.

Also, you can try running mozilla with strace -f. Redirect the strace
output to a file with the -o option. Mozilla should work if you use an
updated RHL9 or FC1 installation. This will show where the program
tries to use mmap in a way conflicting with the patch.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
Version: GnuPG v1.2.3 (GNU/Linux)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at