From owner-cvs-games Sat Feb 1 13:56:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA11076 for cvs-games-outgoing; Sat, 1 Feb 1997 13:56:34 -0800 (PST) Received: from rayearth.rim.or.jp (uucp@rayearth.rim.or.jp [202.247.130.242]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA11070; Sat, 1 Feb 1997 13:56:28 -0800 (PST) Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.5/3.4W3-uucp1) with UUCP id GAA24349; Sun, 2 Feb 1997 06:56:21 +0900 (JST) Received: from tky007.tth.expo96.ad.jp (localhost [127.0.0.1]) by mail.aslm.rim.or.jp (8.8.5/3.4W4-SMTP) with ESMTP id GAA04072; Sun, 2 Feb 1997 06:48:34 +0900 (JST) Message-Id: <199702012148.GAA04072@mail.aslm.rim.or.jp> To: max@freefall.freebsd.org Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-games@freefall.freebsd.org Cc: max@wide.ad.jp Subject: Re: cvs commit: src/games/backgammon/backgammon main.c src/games/backgammon/teachgammon teach.c src/games/backgammon/common_source save.c From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= In-Reply-To: Your message of "Sat, 1 Feb 1997 13:30:52 -0800 (PST)" References: <199702012130.NAA10374@freefall.freebsd.org> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 02 Feb 1997 06:48:32 +0900 Sender: owner-cvs-games@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > max 97/02/01 13:30:52 > Modified: games/backgammon/backgammon main.c > games/backgammon/common_source save.c > games/backgammon/teachgammon teach.c > Log: > Instead of swapping ruid and euid before and after touching user's file, > simply drop the privilege right after the program is started. > Thanks to bde for giving me good suggestion about this problem. > > Revision Changes Path > 1.5 +5 -0 src/games/backgammon/backgammon/main.c > 1.4 +0 -4 src/games/backgammon/common_source/save.c > 1.5 +7 -0 src/games/backgammon/teachgammon/teach.c This should go into 2.2 together with all other recent changes I made to backgammon. Max