C and Low-level Storage (was: I need a new compiler...



<much debate snipped>

Michael Wojick,
I can't tell. Have you been debating a "real-world" issue or a philosophical
one?

In other words, are there existing implementations of C that (as required)
support "pointers" but do NOT allow (or support) pointers that "get the
program" to system-level storage?

I am NOT a C programmer, but when I have interacted with those that do use it,
it seems to me that all implementations that they use DO allow the C program to
access (at least "read") data at "system controlled" (low-level?) storage.

It is also true, that some "systems" do NOT allow the "average" C (or Assembler
or whatever) program to MODIFY "system-controlled" storage, but that is a
different question (to me) than accessing such storage.

If there are C implementations that do not allow programmers to "read" the
storage where "system control blocks, etc" reside, I would be interested in
which C and on what platforms these exist.

If you are just stating that the C Standard does not REQUIRE this, then that may
be "nice to know" - but is different from what actual implementations DO.

--
Bill Klein
wmklein <at> ix.netcom.com


.



Relevant Pages

  • Re: C and Low-level Storage (was: I need a new compiler...
    ... are there existing implementations of C that ... program" to system-level storage? ... Practially speaking, the Operating System, and sometimes the hardware, protects some areas of memory. ... Take the same chunk of real memory, attach it to one or more applications - at different virtual addresses. ...
    (comp.lang.cobol)
  • Re: C and Low-level Storage (was: I need a new compiler...
    ... are there existing implementations of C that ... Many, the world is no longer running on Z80s, or even 8086s. ... Any program has the potential to read system controlled storage to the ... If the only way to access the 'system control blocks' is by making a ...
    (comp.lang.cobol)
  • Re: C and Low-level Storage
    ... William M. Klein wrote: ... are there existing implementations of C that ... execute in virtual storage and cannot read data at arbitrary locations. ...
    (comp.lang.cobol)
  • Re: Memory allocation by malloc
    ... >>which old IBM programmers used to distinguish ... >>of free storage that is large enough ... > - Some malloc() implementations search for free ... > - Some freeimplementations merge the released ...
    (comp.lang.c)
  • Re: C and Low-level Storage (was: I need a new compiler...
    ... program" to system-level storage? ... be "nice to know" - but is different from what actual implementations DO. ... protects some areas of memory. ... usually *does* have access to every real memory ...
    (comp.lang.cobol)