Deutsch English Français Italiano |
<va4dkl$3qlqh$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: The Natural Philosopher <tnp@invalid.invalid> Newsgroups: comp.os.linux.misc Subject: Re: memory managment and (its) protection under Linux Date: Wed, 21 Aug 2024 10:56:37 +0100 Organization: A little, after lunch Lines: 44 Message-ID: <va4dkl$3qlqh$1@dont-email.me> References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me> <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Aug 2024 11:56:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7665d9bddf1aa89590fd90bf28892d4c"; logging-data="4020049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19my81zokJb8WPGJcV/pKzNBnDeIY+yMAU=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:tso2qeoymns40PXQbg5egI3m4Kc= In-Reply-To: <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com> Content-Language: en-GB Bytes: 2839 On 21/08/2024 05:11, 186282@ud0s4.net wrote: > On 8/20/24 2:27 PM, The Natural Philosopher wrote: >> On 20/08/2024 14:09, MarioCCCP wrote: >>> >>> partially OT : programming task >>> Scenario : Debian Bookworm, XFCE4 >>> Very often GUI programs show their results in the form of ListBoxes, >>> whose content is mainly textual semantically, but very often cannot >>> be copied/pasted as text and neither is easy to export as text. I >>> have one case in FreeFileSync, that shows lists of files upwards of >>> 500'000 items, and other deduplicators programs. >>> I am having a general curiosity about this problem in linux. >>> Can a root user access, in read only mode, to memory associated to >>> another (plain user mode) process ? Or the outcome is invariably a >>> seg_fault ? Has a root user the right to inquire the memory of non >>> root programs ? >> I believe not. >> In such cases it is usual to write a daemon to handle *all* requests. >> >> I am not speaking about disk files, but specifically in >>> physical memory >> >> Well thereby hangs a tale. In fact i deliberately created a RAMDISK in >> one application purely to handle communications between synchronous >> processes. >> >> One process writes it, others may read > > In many Linux distros now, /tmp is a de-facto > ramdisk - all disappears on reboot. IF you have > the space in your / partition then you need not > specifically create a NEW ramdisk to achieve the > effect. > Not /tmp oddly, but various other stuff like /run is, yes. -- For every complex problem there is an answer that is clear, simple, and wrong. H.L.Mencken