From owner-freebsd-current Sun Aug 11 19:41:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9CA437B401 for ; Sun, 11 Aug 2002 19:41:40 -0700 (PDT) Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDB5943E77 for ; Sun, 11 Aug 2002 19:41:31 -0700 (PDT) (envelope-from kan@mail.ru) Received: from mx7.mail.ru (mx7.int [10.0.0.44]) by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id 4C8131A1F02 for ; Mon, 12 Aug 2002 06:41:12 +0400 (MSD) Received: from [141.154.55.197] (helo=kan.dnsalias.net) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17e57y-000E5Y-00; Mon, 12 Aug 2002 06:40:28 +0400 Received: from kan.dnsalias.net (localhost [IPv6:::1]) by kan.dnsalias.net (8.12.5/8.12.5) with ESMTP id g7C2dsnd013399; Sun, 11 Aug 2002 22:39:59 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.5/8.12.5/Submit) id g7C2dIH5013396; Sun, 11 Aug 2002 22:39:18 -0400 (EDT) Date: Sun, 11 Aug 2002 22:39:18 -0400 From: Alexander Kabaev To: Julian Elischer Cc: bsddiy@yahoo.com, ache@nagual.pp.ru, current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) Message-Id: <20020811223918.686276ff.kabaev@bellatlantic.net> In-Reply-To: <3D571562.B7CDC954@elischer.org> References: <20020811132854.99343.qmail@web20907.mail.yahoo.com> <3D571562.B7CDC954@elischer.org> Reply-To: ak03@gte.com X-Mailer: Sylpheed version 0.8.1claws52 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 > David Xu wrote: > > want, and all job control gets weird. I suguest this job control > > assumption should be removed, strange thing is why su calls fork()? > > why doesn't call directly execvl()? I don't see su calls fork() in > > OpenBSD. This has to do with PAM, AFAIK. Someone has to call PAM session cleanup hooks, that's why another process for the command is forked. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message