hg: bsd-port/bsd-port/hotspot: . Ownership of the temporary java_pid.XXXX file is checked before

glewis at eyesbeyond.com glewis at eyesbeyond.com
Sat Aug 4 10:31:36 PDT 2012


Changeset: 0813fa17749b
Author:    Greg Lewis <glewis at eyesbeyond.com>
Date:      2012-08-04 10:30 -0700
URL:       http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0813fa17749b

. Ownership of the temporary java_pid.XXXX file is checked before
  attachment can proceed.  Since /tmp is normally a sticky directory
  (see sticky(8)), the group ownership of files created there don't
  usually match the user's group.  So chown the temporary file to
  the user's user and group before the attachment occurs.

  This fixes jstack on *BSD.

! src/os/bsd/vm/attachListener_bsd.cpp




More information about the bsd-port-dev mailing list