Print this page
NEX-5177 backport illumos 6345 remove xhat support
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
6345 remove xhat support
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
NEX-5164 backport illumos 6514 AS_* lock macros simplification
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
6514 AS_* lock macros simplification
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
re #13613 rb4516 Tunables needs volatile keyword

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/vm/seg_vn.c
          +++ new/usr/src/uts/common/vm/seg_vn.c
↓ open down ↓ 300 lines elided ↑ open up ↑
 301  301   * ABI-compliant execution environment, though practically speaking,
 302  302   * most everything works.  The exceptions are generally some interpreters
 303  303   * and debuggers that create executable code on the stack and jump
 304  304   * into it (without explicitly mprotecting the address range to include
 305  305   * PROT_EXEC).
 306  306   *
 307  307   * One important class of applications that are disabled are those
 308  308   * that have been transformed into malicious agents using one of the
 309  309   * numerous "buffer overflow" attacks.  See 4007890.
 310  310   */
 311      -int noexec_user_stack = 0;
      311 +volatile int noexec_user_stack = 0;
 312  312  int noexec_user_stack_log = 1;
 313  313  
 314  314  int segvn_lpg_disable = 0;
 315  315  uint_t segvn_maxpgszc = 0;
 316  316  
 317  317  ulong_t segvn_vmpss_clrszc_cnt;
 318  318  ulong_t segvn_vmpss_clrszc_err;
 319  319  ulong_t segvn_fltvnpages_clrszc_cnt;
 320  320  ulong_t segvn_fltvnpages_clrszc_err;
 321  321  ulong_t segvn_setpgsz_align_err;
↓ open down ↓ 10012 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX