OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: pam_getenv

From: Andrew G. Morgan (morgankernel.org)
Date: Fri Nov 28 2008 - 19:18:57 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thorsten Kukuk wrote:
> XSSO (http://www.opengroup.org/onlinepubs/008329799/pam_getenv.htm#tagcjh_07_08)
> says, that the application has to free the return variable. Means
> Solaris is right and Linux-PAM wrong according to XSSO.
>
> But: openpam as used on *BSD and MacOS claims to be conform to XSSO,
> but they also don't use a copy of the value.
> Means currently Solaris is incompatible to openpam and Linux-PAM in
> this regard.

Just to be clear, according to the credits file on my Mac
(Acknowledgements.rtf), MAC uses a derivative of Linux PAM.

====
Andrew Morgan, et al. ( PAM )
Copyright © 1996 – 2001 Andrew Morgan, et al. All rights reserved.
Redistribution and use in source and binary forms of Linux-PAM, with or
without modification, are permitted provided that the following
conditions are met: 1. Redistributions of source code must retain any
existing copyright notice, and this entire permission notice in its
entirety, including the disclaimer of warranties. 2. Redistributions in
binary form must reproduce all prior and current copyright notices, this
list of conditions, and the following disclaimer in the documentation
and/or other materials provided with the distribution. 3. The name of
any author may not be used to endorse or promote products derived from
this software without their specific prior written permission.
ALTERNATIVELY, this product may be distributed under the terms of the
GNU General Public License, in which case the provisions of the GNU GPL
are required INSTEAD OF the above restrictions. (This clause is
necessary due to a potential conflict between the GNU GPL and the
restrictions contained in a BSD-style copyright.)
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
====

Cheers

Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJMJh/+bHCR3gb8jsRAqKgAJ99SOkBszIddaVy42tpbNEHDe64RwCeORwO
bO1bDWI7uDr/rO5tsMjyze4=
=PHbZ
-----END PGP SIGNATURE-----

_______________________________________________
Pam-list mailing list
Pam-listredhat.com
https://www.redhat.com/mailman/listinfo/pam-list