Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 09:23:52 -0700 (PDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/sparc64 rwindow.c
Message-ID:  <200204201623.g3KGNqe09261@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2002/04/20 09:23:52 PDT

  Modified files:
    sys/sparc64/sparc64  rwindow.c 
  Log:
  Check the alignment of the stack pointer before copying in windows from the
  user stack in response to a failed window fill, allowing the process to be
  killed if its wrong.  This caused user programs which misalign their stack
  pointer to get stuck in an infinite loop at the kernel-userland boundary,
  which is mostly harmless.
  
  The same thing causes a fatal RED state exception on OpenBSD and probably
  NetBSD.
  
  Inspired by:    art@openbsd.org
  
  Revision  Changes    Path
  1.6       +4 -0      src/sys/sparc64/sparc64/rwindow.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204201623.g3KGNqe09261>