<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+== 0.10.1 (future)
+* Fixed a potential privilege escalation issue &lt;jdamato@alumni.cmu.edu&gt;
+
 == 0.10.0
 * Solved compatibility issues with the new (and awesome, thanks mperham) Memcache client
 * Fixed the old rspec tests.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -182,8 +182,8 @@ module StarlingServer
     end
 
     def drop_privileges
-      Process.egid = options[:group] if options[:group]
-      Process.euid = options[:user] if options[:user]
+      Process::Sys.setresgid(options[:group], options[:group], options[:group]) if options[:group]
+      Process::Sys.setresuid(options[:user], options[:user], options[:user]) if options[:user]
     end
 
     def shutdown</diff>
      <filename>lib/starling/server_runner.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>76ff9ca587960151329f7204589049b7c9682f61</id>
    </parent>
  </parents>
  <author>
    <name>Joe Damato</name>
    <email>ice799@gmail.com</email>
  </author>
  <url>http://github.com/starling/starling/commit/cbb07c4e7af7f831512a70a926f80dbced94d2ff</url>
  <id>cbb07c4e7af7f831512a70a926f80dbced94d2ff</id>
  <committed-date>2009-04-10T08:29:54-07:00</committed-date>
  <authored-date>2009-04-09T16:47:04-07:00</authored-date>
  <message>drop privs permanently.</message>
  <tree>627021b00c9321286d95c970ce925ef741927347</tree>
  <committer>
    <name>Chris Gaffney</name>
    <email>cgaffney@crayoninterface.com</email>
  </committer>
</commit>
