set noexec_user_stack=1 in /etc/system

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default set noexec_user_stack=1 in /etc/system


    While this works nice on a sparc based system, it does not seem to
    work on Solaris x86.

    This has been noticed while trying to convert a Linux based Web server to
    Solaris.

    --
    EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
    [email]js@cs.tu-berlin.de[/email] (uni) If you don't have iso-8859-1
    [email]schilling@fokus.fraunhofer.de[/email] (work) chars I am J"org Schilling
    URL: [url]http://www.fokus.fraunhofer.de/usr/schilling[/url] [url]ftp://ftp.berlios.de/pub/schily[/url]
    Joerg Schilling Guest

  2. Similar Questions and Discussions

    1. Some 'System Calls' was Capturing system call output value
      On Friday, Nov 14, 2003, at 18:39 US/Pacific, Jerry Rocteur wrote: Wiggins is the one who deserves the point, since he was the one with the...
    2. System.Net.WebException occurred in system.web.services.dll - HTTP status 405: Method not allowed.
      Hi, Have anyone ever encountered an exception error: The request failed with HTTP status 405: Method not allowed when trying to remotely invoke a...
    3. Finding system data with system calls.
      I'd like to obtain some data about a machine that runs AIX in a C program. Hence I don't want to use utilities at the command line, but system...
    4. The type System.Web.UI.WebControls.TextBox in Assembly System.Web...error
      I've been getting this error every since I installed InstallSqlState to handle my viewState Sessions. it only happens on 1 section of my asp.net...
    5. Method not found: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_QueryString().
      I just recently started getting the above error on a page I am posting MULTIPART/FORM-DATA. We have SoftArtisans FileUp component and Filter...
  3. #2

    Default Re: set noexec_user_stack=1 in /etc/system

    [email]js@cs.tu-berlin.de[/email] (Joerg Schilling) writes:

    >While this works nice on a sparc based system, it does not seem to
    >work on Solaris x86.
    >This has been noticed while trying to convert a Linux based Web server to
    >Solaris.
    That's because the Intel CPU can't distinguish between "read" and
    "execute" permissions of individual pages.

    You could tinker with segment permissions but then the issue is that
    mprotect() no longer works on those pages.

    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper H.S. Dik Guest

  4. #3

    Default Re: set noexec_user_stack=1 in /etc/system

    Joerg Schilling wrote:
    > While this works nice on a sparc based system, it does not seem to
    > work on Solaris x86.
    From the Solaris Tunable Parameters Reference Manual:

    A Solaris system running a 64-bit kernel makes the stacks of all 64-bit
    applications non-executable by default. Setting this variable is
    necessary to make 32-bit applications non-executable on systems running
    64-bit or 32-bit kernels.

    Note –

    This variable exists on all systems running the Solaris 2.6, 7, 8, or 9
    releases, but it is only effective on sun4u and sun4m architectures.

    Oscar del Rio Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139