From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Package file indexing Date: Tue, 14 Jan 2020 10:21:10 +0100 Message-ID: <87a76qz94p.fsf@ambrevar.xyz> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87imw7cpe7.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <87pnqdhkpf.fsf@gnu.org> <87imlt3hr2.fsf@ambrevar.xyz> <87png11xgi.fsf@cbaines.net> <87tv5cpypp.fsf@gnu.org> <874kx4anch.fsf@ambrevar.xyz> <87blrc1sos.fsf@cbaines.net> <87h813wktw.fsf@ambrevar.xyz> <878smf1lrr.fsf@cbaines.net> <87o8v9j1df.fsf@ambrevar.xyz> <871rs4g5vd.fsf@cbaines.net> <87ftgjqvln.fsf@ambrevar.xyz> <87k15vck8w.fsf@cbaines.net> <87lfqbp68t.fsf@ambrevar.xyz> <87imlfcf9d.fsf@cbaines.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56437) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irINz-0001n2-Jf for guix-devel@gnu.org; Tue, 14 Jan 2020 04:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irINu-00050O-Vp for guix-devel@gnu.org; Tue, 14 Jan 2020 04:21:18 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:35951) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irINu-00050I-Q2 for guix-devel@gnu.org; Tue, 14 Jan 2020 04:21:14 -0500 In-Reply-To: <87imlfcf9d.fsf@cbaines.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Christopher Baines Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Christopher Baines writes: > Not specifically, it just becomes more complex as you have to consider > more issues. Like the mundane "what if one user is using a file, and > another deletes it" to the more unusual "what if you can modify the file > to crash or exploit processes run by other users". What I have in mind is that only the daemon could update the database. Regarding the concurrency issue, a mutex should do it I think. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4diAYACgkQm9z0l6S7 zH/L/gf/VTsPYB/BgnQTO3tnM8Dy6jUz8aIDcZO/EUgMpegW/WWcGdVQ1UGpcSRO IhF3jYUYTe6+Teujc09pnwyKZdWwb6UIFN/+ReiYY5joAWVxjVKfrVOn7YP/Aosb tIod5pCi4To9t0UQjn8j4+9gHyg3uRBxjmplTn/iSilzxVsl3YpUaYMixhZrf7mf EQhZ/CvCQZdYb/85KMeTKNF01Yc/xCUSsoM03hb8JitBAiEex3lqc69H2P+QSjC6 im2jqaBvrcPmib9uwsUh1OWCuXuGwFJzNIf3QMEK5AIpF6AQgi/2IsRPVSfwRQ9C FgnyKqtjUIUo1yAHEIAnXFU6/IeKxg== =tSEO -----END PGP SIGNATURE----- --=-=-=--