Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd August 2006, 11:44 PM
sgbotsford Offline
Registered User
 
Join Date: Aug 2006
Location: Near Edmonton Canada
Posts: 5
Sysctl for W^X?

I have a legacy application that would run on RH 6-9, and FC 2, and maybe 4.

When I upgraded to FC5, it segfaults. A friend interpreting the results says that I've been bitten by the Write xor Execute bug/feature. Is there a way to turn this off? If the answer is no, then I have to revert to a previous version.

strace -f ./maker
{delete a bazillion lines or so.}
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0 \0 \373\221"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9776, ...}) = 0
mmap2(0x91f000, 11252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x91f000
mmap2(0x921000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x921000
close(3) = 0
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2 20\177"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=20312, ...}) = 0
mmap2(0x917000, 21780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x917000
mmap2(0x91c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x91c000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x112000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x113000
set_thread_area({entry_number:-1 -> 6, base_addr:0x112d90, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x72a000, 4096, PROT_READ) = 0
mprotect(0x6f8000, 12288, PROT_READ) = 0
mprotect(0x724000, 4096, PROT_READ) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 12810 detached
Reply With Quote
  #2  
Old 25th August 2006, 04:15 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You've probably run into selinux memory protections, try
Code:
setenforce 0
and try again. I'm not sure how you could continue with selinux on ignoring that one thing.
Reply With Quote
  #3  
Old 25th August 2006, 11:17 PM
sgbotsford Offline
Registered User
 
Join Date: Aug 2006
Location: Near Edmonton Canada
Posts: 5
It's more subtle than that. I currently have selinux set as disabled, type targeted,
Reply With Quote
Reply

Tags
sysctl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about /etc/sysctl.conf icanfly0307 Using Fedora 2 4th February 2009 02:18 AM
Fedora 5 sysctl vegas congestion control mike v Servers & Networking 0 20th November 2006 11:36 PM
sysctl ibbo Servers & Networking 2 23rd June 2006 12:50 PM
list of keywords used in /etc/sysctl.conf fire-fly Using Fedora 2 20th May 2005 02:56 AM


Current GMT-time: 04:04 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat