• Breaking News

    Monday, October 4, 2021

    How does OS ensure that a process does not access the address space of another process? Computer Science

    How does OS ensure that a process does not access the address space of another process? Computer Science


    How does OS ensure that a process does not access the address space of another process?

    Posted: 04 Oct 2021 12:46 AM PDT

    I was reading about segmentation in 32-bit x86 and found that there is a segment table where every entry stores a base and limit value corresponding to a particular process. These values are used by the MMU to map the virtual address given by the process to a physical address of the process. The location of this entry for a process is given by the segment registers.

    I have 2 questions:-

    1. Can processes change the segment registers? I would not think so but I read somewhere that they can so now I'm confused.

    2. If they can change the segment registers, then how does the OS make sure that a process doesn't just change the segment register so now it'll point to a different entry in the segment table thereby using base, limit values of another process and hence, would be able to access the address space of another process?

    P.S. sorry if I've made any mistake, I've just started to learn OS.

    submitted by /u/-HoldMyBeer--
    [link] [comments]

    In theory, could a computer ever stop using bits?

    Posted: 03 Oct 2021 12:24 PM PDT

    Computers use bits of 0 and 1, but is it possible to ever step away from that and use something more efficient (by any means)? Theres got to be something more efficient somehow, and I feel like something better COULD be out there.

    submitted by /u/ShadyYeet
    [link] [comments]

    Game where you build a CPU and assembly language from circuits

    Posted: 03 Oct 2021 10:11 AM PDT

    Types of Coding languages

    Posted: 04 Oct 2021 05:20 AM PDT

    Scripts bundle error caused by Bootstrap 5.x in .net mvc application

    Posted: 04 Oct 2021 12:51 AM PDT

    Conditionally-Perfect Secrecy and a Provably-Secure Randomized Cipher [PDF]

    Posted: 03 Oct 2021 07:04 AM PDT

    Tips for codility?

    Posted: 03 Oct 2021 02:39 PM PDT

    Hi, I started practising and learning programming in JS and Python. I've done some codility tests for jobs but I want to know how I can improve. Not for jobs but in general for problem solving, I quite enjoy codility tests but I find myself stuck on some of them and the solutions look so neat compared to mine. Is there a method I should look into or a guide to understand what I am doing wrong? Thanks

    submitted by /u/Typical_Branch_7965
    [link] [comments]

    No comments:

    Post a Comment