From owner-freebsd-arch Fri Aug 3 23:50:26 2001 Delivered-To: freebsd-arch@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 83D5937B408 for ; Fri, 3 Aug 2001 23:50:10 -0700 (PDT) (envelope-from ben@FreeBSD.org) Received: from strontium.shef.vinosystems.com ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.30 #1) id 15SvFZ-0009G5-00; Sat, 04 Aug 2001 07:49:29 +0100 Received: (from ben@localhost) by strontium.shef.vinosystems.com (8.11.4/8.11.4) id f746nSI74006; Sat, 4 Aug 2001 07:49:29 +0100 (BST) (envelope-from ben@FreeBSD.org) X-Authentication-Warning: strontium.shef.vinosystems.com: ben set sender to ben@FreeBSD.org using -f Date: Sat, 4 Aug 2001 07:49:28 +0100 From: Ben Smithurst To: Dima Dorfman Cc: arch@freebsd.org Subject: Re: Library routine to load a kld if it already isn't Message-ID: <20010804074928.A66860@strontium.shef.vinosystems.com> References: <20010803203106.447343E35@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010803203106.447343E35@bazooka.unixfreak.org> X-PGP-Key: http://www.smithurst.org/ben/pgp-key.txt Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dima Dorfman wrote: > X.Sh ERRORS > XAn attempt to load the module may fail for the following reasons: > X.Bl -tag -width Er > X.It Bq Er EPERM I think I'd prefer this section be reduced to kldmaybeload() may fail and set errno for any of the errors specified for the routines modfind(2) and kldload(2). in the way other libc manual pages do. That way, there's just one less place to update when additional error possibilities are added to those functions. --=20 Ben Smithurst / ben@FreeBSD.org FreeBSD: The Power To Serve http://www.FreeBSD.org/ --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7a5r2bPzJ+yzvRCwRAt7nAJ4/JFvQN1ewPdXVzocltbEu7nhYwACguBBb jv+6Ggf8IizqfK9DDrT1d9c= =sTKj -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message