From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 12 17:49:26 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FE9A1065671; Sat, 12 Apr 2008 17:49:26 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB328FC17; Sat, 12 Apr 2008 17:49:26 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m3CHo0bT074277; Sat, 12 Apr 2008 13:50:00 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Jeremy Messenger In-Reply-To: References: <47FD09AC.2020907@FreeBSD.org> <1207776230.61729.28.camel@shumai.marcuscom.com> <47FD34E8.2000005@FreeBSD.org> <1207807915.61729.40.camel@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SE0XQKN12yu/O6M0uL2z" Organization: MarcusCom, Inc. Date: Sat, 12 Apr 2008 13:49:23 -0400 Message-Id: <1208022563.82222.22.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org, cokane@freebsd.org Subject: Re: Seahorse issues X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2008 17:49:26 -0000 --=-SE0XQKN12yu/O6M0uL2z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-04-12 at 12:42 -0500, Jeremy Messenger wrote: > On Thu, 10 Apr 2008 01:11:55 -0500, Joe Marcus Clarke =20 > wrote: >=20 > > > The problem is the fact that FreeBSD's mlock() requires setuid > > privileges, and thus seahorse cannot allocate secure memory. The >=20 > Yesterday, I have found archives about mlock() in freebsd-arch@. >=20 > http://lists.freebsd.org/pipermail/freebsd-arch/2006-July/005496.html Yes, this thread talks about the problem exactly. The patch I just sent out attempts to address this concern using a user-settable sysctl. Peter is suggesting this be handled automatically by setting a reasonable default limit on RLIMIT_MEMLOCK. >=20 > It leads to: >=20 > http://people.freebsd.org/~kib/overcommit/index.html >=20 > I am not sure if it's useful for this issue. This doesn't look like it will help this issue. This is dealing with overcommitting swap. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-SE0XQKN12yu/O6M0uL2z Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgA9iMACgkQb2iPiv4Uz4cOdwCfUfuJn2+Jaic1TleYoJRmCaCI wUkAn3sOfTNyrM8lfC6JKpOBV0UrPjmB =x70p -----END PGP SIGNATURE----- --=-SE0XQKN12yu/O6M0uL2z--