Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2002 22:39:18 -0400
From:      Alexander Kabaev <kabaev@bellatlantic.net>
To:        Julian Elischer <julian@elischer.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020811223918.686276ff.kabaev>