Deutsch English Français Italiano |
<ut7v2u$3psog$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Robert Finch <robfi680@gmail.com> Newsgroups: comp.arch Subject: Re: Capabilities, Anybody? Date: Sun, 17 Mar 2024 19:41:15 -0400 Organization: A noiseless patient Spider Lines: 21 Message-ID: <ut7v2u$3psog$1@dont-email.me> References: <Ory*7U4Ez@news.chiark.greenend.org.uk> <memo.20240317115228.20436F@jgd.cix.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 17 Mar 2024 23:41:18 -0000 (UTC) Injection-Info: dont-email.me; posting-host="5280bff1fd19b5bc8b41f0090b93cf70"; logging-data="3994384"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19riuHTOO8/e6X2lEiU34+NsIEd2bovfdE=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:xq9T+nxOljVU9CtFJ0zkGcUAeyQ= In-Reply-To: <memo.20240317115228.20436F@jgd.cix.co.uk> Content-Language: en-US Bytes: 1933 Busily working away on adding capabilities to the current project, and decided to add the operating mode / privilege ring (two bits) to the capabilities instead of 'permit access system registers' (one bit). I think this makes it possible for capabilities to work outside of the current operating mode. The 'permit access system registers' was within the current operating mode. Adding the operating mode makes the capability mode agnostic. However, I am unsure of the access implications. One could then give a capability with the highest privilege mode to a user app. I was going to try and eliminate the operating mode concept from the current project and rely on capabilities instead. But there are different levels of instructions and registers that could be allowed in a capability. Using the operating mode acts as an indirect means to specify these.