From owner-cvs-all Wed Jun 6 9:32:44 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 0714E37B408; Wed, 6 Jun 2001 09:32:33 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f56GW6O58191; Wed, 6 Jun 2001 19:32:06 +0300 (EEST) (envelope-from ru) Date: Wed, 6 Jun 2001 19:32:06 +0300 From: Ruslan Ermilov To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_prot.c Message-ID: <20010606193206.A55540@sunbay.com> Mail-Followup-To: Warner Losh , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200106061358.f56Dw3o13468@freefall.freebsd.org> <200106061619.f56GJEl00183@billy-club.village.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106061619.f56GJEl00183@billy-club.village.org>; from imp@village.org on Wed, Jun 06, 2001 at 10:19:14AM -0600 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 06, 2001 at 10:19:14AM -0600, Warner Losh wrote: > In message <200106061358.f56Dw3o13468@freefall.freebsd.org> Ruslan Ermilov writes: > : ru 2001/06/06 06:58:03 PDT > : Modified files: > : sys/kern kern_prot.c > : Log: > : Unbreak setregid(2). > > What was wrong with setregid? > It was a no-op after rwatson's recent ucred changes. You may also want to run the attached program. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="setregid.c" #include #include #include int main(int argc, char *argv[]) { if (setregid((gid_t)-1, (gid_t)8) == -1) err(1, "setregid()"); printf("egid=%d\n", getegid()); exit(0); } --4Ckj6UjgE2iN1+kY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message