From owner-freebsd-current Wed Jun 6 2:18:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 098FE37B403 for ; Wed, 6 Jun 2001 02:18:36 -0700 (PDT) (envelope-from Alexander@leidinger.net) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 157ZSU-00058S-00 for current@freebsd.org; Wed, 06 Jun 2001 11:18:34 +0200 Received: from b85ca.pppool.de ([213.7.133.202] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.22 #2) id 157ZSU-0000XT-00 for current@freebsd.org; Wed, 06 Jun 2001 11:18:34 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.4/8.11.4) with ESMTP id f569IG003175 for ; Wed, 6 Jun 2001 11:18:17 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200106060918.f569IG003175@Magelan.Leidinger.net> Date: Wed, 6 Jun 2001 11:18:15 +0200 (CEST) From: Alexander Leidinger Subject: set*uid broken? To: current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, (3) root@ttyp0 # ktrace fetchnews fetchnews: must be run as news or root (4) root@ttyp0 # id uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) (5) root@ttyp0 # ll `which fetchnews` -r-xr-xr-x 1 root wheel 58996 Apr 6 15:32 /usr/local/sbin/fetchnews* (6) root@ttyp0 # ldd `which fetchnews` /usr/local/sbin/fetchnews: libc.so.5 => /usr/lib/libc.so.5 (0x28074000) (7) root@ttyp0 # kdump |grep -e "[ug]id" 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 0 1860 fetchnews CALL getuid 1860 fetchnews RET getuid 0 1860 fetchnews CALL getegid 1860 fetchnews RET getegid 0 1860 fetchnews CALL getgid 1860 fetchnews RET getgid 0 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 0 1860 fetchnews CALL setregid(0xffffffff,0x8) 1860 fetchnews RET setregid 0 1860 fetchnews CALL setreuid(0xffffffff,0x8) 1860 fetchnews RET setreuid 0 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 8 1860 fetchnews CALL getegid 1860 fetchnews RET getegid 0 -current from yesterday, leafnode+-2.12, ktrace.out available on request (I didn't want to mail 21k to everyone). I noticed some mails about changed set*uid behavior, is this a buggy program, or is it a bug in -current? Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message