From mi@aldan.algebra.com  Fri Jun  1 16:47:33 2007
Return-Path: <mi@aldan.algebra.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A80BB16A468
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Jun 2007 16:47:33 +0000 (UTC)
	(envelope-from mi@aldan.algebra.com)
Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224])
	by mx1.freebsd.org (Postfix) with ESMTP id 640C013C455
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Jun 2007 16:47:33 +0000 (UTC)
	(envelope-from mi@aldan.algebra.com)
Received: from aldan.algebra.com (aldan [127.0.0.1])
	by aldan.algebra.com (8.13.8/8.13.8) with ESMTP id l51GRBvd091905
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 1 Jun 2007 12:27:11 -0400 (EDT)
	(envelope-from mi@aldan.algebra.com)
Received: (from mi@localhost)
	by aldan.algebra.com (8.13.8/8.13.8/Submit) id l51GRBqb091904;
	Fri, 1 Jun 2007 12:27:11 -0400 (EDT)
	(envelope-from mi)
Message-Id: <200706011627.l51GRBqb091904@aldan.algebra.com>
Date: Fri, 1 Jun 2007 12:27:11 -0400 (EDT)
From: "Mikhail T." <mi@aldan.algebra.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: const-ify PAM-headers
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113230
>Category:       bin
>Synopsis:       [pam] [patch] const-ify PAM-headers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 01 16:50:04 GMT 2007
>Closed-Date:    
>Last-Modified:  Fri Aug 22 22:00:10 UTC 2008
>Originator:     Mikhail T.
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD aldan.algebra.com 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Mar 26 18:05:02 EDT 2007 mi@aldan.algebra.com:/meow/obj/var/src/sys/SILVER amd64

>Description:
	As currently declared, the pam_* functions don't guarantee
	the read-onlyness of the passed in data, even where no
	modifications could happen.

	The declarations also differ from those used of Solaris
	and Linux, leading to increased porting burden of 3rd-party
	PAM-modules (such as Samba's winbind).

	It is possible, that a newer version of OpenPAM will bring
	in these changes, but we can update the headers (without
	functional changes) now to introduce the updated API and
	ease the porting efforts.

>How-To-Repeat:
>Fix:

	The up-to-date patch can be found at

		http://aldan.algebra.com/~mi/pam-const.patch

	or -- color-coded -- at:

		http://aldan.algebra.com/~mi/pam-const.patch.html

	It does not, at the moment, touch the relevant man-pages. These
	will be updated soon, but testing/review of the code can begin
	now.

	The changes only add const-ness here and there -- no functional
	changes.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 2 18:38:07 UTC 2007 
Responsible-Changed-Why:  
des, can you state your views on this one? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113230 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 3 17:34:28 UTC 2007 
State-Changed-Why:  
mi, des cannot access your site right now.  Can you take a look? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113230 

From: "Mikhail T." <mi+metlife@aldan.algebra.com>
To: bug-followup@FreeBSD.org,  des@FreeBSD.org
Cc:  
Subject: Re: bin/113230: [pam] [patch] const-ify PAM-headers
Date: Mon, 04 Jun 2007 11:54:37 -0400

 Sorry, all. A CPU fan stopped working on Saturday, and I was only able 
 to procure replacement on Sunday. The server is back up now.
 
 Yours,
 
     -mi

From: Mikhail Teterin <mi+kde@aldan.algebra.com>
To: Mark Linimon <linimon@freebsd.org>
Cc: des@freebsd.org, bug-followup@freebsd.org
Subject: Re: bin/113230: [pam] [patch] const-ify PAM-headers
Date: Fri, 29 Jun 2007 19:07:41 -0400

 = http://www.freebsd.org/cgi/query-pr.cgi?pr=113230
 
 Is there anything else I can do to speed this up? Thanks!
 
 	-mi 
 
 
State-Changed-From-To: feedback->open  
State-Changed-By: brucec 
State-Changed-When: Thu Aug 21 01:08:08 UTC 2008 
State-Changed-Why:  
Feedback was received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113230 

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: bin/113230: [pam] [patch] const-ify PAM-headers
Date: Thu, 21 Aug 2008 13:51:24 +0200

 AFAIK, this was committed ages ago.  Mikhail, is there any reason to
 keep this PR open?
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Mikhail Teterin <mi+mill@aldan.algebra.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/113230: [pam] [patch] const-ify PAM-headers
Date: Thu, 21 Aug 2008 11:34:14 -0400

 Has it been committed to all of the branches supported by ports? The 
 main idea was to make it easier to port third-party
 pam-modules... If that's been done, then yes, it can be closed. Thanks!
 
     -mi

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: bin/113230: [pam] [patch] const-ify PAM-headers
Date: Fri, 22 Aug 2008 23:51:27 +0200

 Mikhail Teterin <mi+mill@aldan.algebra.com> writes:
 > Has it been committed to all of the branches supported by ports?
 
 It's not in 6.  I can merge it back to stable/6, which will help 6.4 but
 won't make a difference for 6.3,
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no
>Unformatted:
