Re: non-exec stacks on solaris.

From: Casper Dik (casperat_private)
Date: Wed Jul 01 1998 - 06:17:22 PDT

  • Next message: Darren Reed: "non-exec stacks on solaris."

    >
    >not long ago, someone posted that you can disable execution of
    >instructions on the stack via /etc/system for solaris.  There
    >appears to be three variables for this:
    >
    >noexec_user_stack
    >noexec_user_stack_log
    >noexec_zfod_argsp
    >
    >The first two are pretty obvious, but what about the third ?
    
    
    The first two (new in 2.6) are, indeed, obvious.  (Note that they
    exist in all kernels but only work on sun4m/sun4d and Ultras)
    
    Noexec_zfod_argsp is the variable used by the mechanism internally;
    it's the argument pointer used to initialize the page protection
    by the stack.  It's not a variable you can set.
    
    (i.e., the variable contains the protection bits as used on a
    "noexec" zero-fill-on-demand page.
    
    Casper
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:01:22 PDT