Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 73407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:11:48+00:00 2026-05-10T20:11:48+00:00

When using copy-on-write semantics to share memory among processes, how can you test if

  • 0

When using copy-on-write semantics to share memory among processes, how can you test if a memory page is writable or if it is marked as read-only? Can this be done by calling a specific assembler code, or reading a certain spot in memory, or through the OS’s API?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:11:49+00:00Added an answer on May 10, 2026 at 8:11 pm

    On Linux you can examine /proc/pid/maps:

    $ cat /proc/self/maps  002b3000-002cc000 r-xp 00000000 68:01 143009   /lib/ld-2.5.so 002cc000-002cd000 r-xp 00018000 68:01 143009   /lib/ld-2.5.so 002cd000-002ce000 rwxp 00019000 68:01 143009   /lib/ld-2.5.so 002d0000-00407000 r-xp 00000000 68:01 143010   /lib/libc-2.5.so 00407000-00409000 r-xp 00137000 68:01 143010   /lib/libc-2.5.so 00409000-0040a000 rwxp 00139000 68:01 143010   /lib/libc-2.5.so 0040a000-0040d000 rwxp 0040a000 00:00 0 00c6f000-00c70000 r-xp 00c6f000 00:00 0        [vdso] 08048000-0804d000 r-xp 00000000 68:01 379298   /bin/cat 0804d000-0804e000 rw-p 00004000 68:01 379298   /bin/cat 08326000-08347000 rw-p 08326000 00:00 0 b7d1b000-b7f1b000 r--p 00000000 68:01 226705   /usr/lib/locale/locale-archive b7f1b000-b7f1c000 rw-p b7f1b000 00:00 0 b7f28000-b7f29000 rw-p b7f28000 00:00 0 bfe37000-bfe4d000 rw-p bfe37000 00:00 0        [stack] 

    The first column is the virtual memory address range, the second column contains the permissions (read, write, execute, and private), columns 3-6 contain the offset, major and minor device numbers, the inode, and the name of memory mapped files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 201k
  • Answers 201k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The syntax you present in your question is correct. There… May 12, 2026 at 8:04 pm
  • Editorial Team
    Editorial Team added an answer I was unable to find answer to this question, the… May 12, 2026 at 8:04 pm
  • Editorial Team
    Editorial Team added an answer Note that you should check the return value to be… May 12, 2026 at 8:04 pm

Related Questions

When copying large files using shutil.copy() , you get no indication of how the
I tried to write a Utility Manager application, and I am trying to test
I am writing a simple web service using .NET, one method is used to
I have setup svnserve and for now now I am testing a repository with

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.