LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-17-2011, 10:22 AM   #1
johnifanx98
LQ Newbie
 
Registered: Jan 2008
Posts: 26

Rep: Reputation: 0
A question from reading a textbook


Operating System Concepts: SILBERSCHATZ 6th ed

In the part of "Protection and Security", the first two paragraphs are as below,

Quote:
Protection mechanisms provide controlled access by limiting the types of file access permitted to users. In addition, protection must also ensure that only those processes that have gained proper authorization from the operating system can operate on memory segments, the CPU, and other resources.


Protection is provided by a mechanism that controls the access of programs, processes, or users to the resources defined by a computer system. This mechanism must provide a means for specification of the controls to be imposed, together with a means of enforcement.
It seems like the two paragraphs are not very consistent. The first paragraph seems discussing protection with proceses, while the second extends to users and programs. Is it necessary redundancy?

Last edited by johnifanx98; 01-17-2011 at 10:29 AM.
 
Old 01-17-2011, 10:32 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I have found that people who write technical books are often not very good writers.

It seems that the two quotes are very similar. I don't know why you say that they are not consistent.
 
Old 01-18-2011, 12:52 AM   #3
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
Quote:
Protection mechanisms provide controlled access by limiting the types of file access permitted to users.
One such protection mechanism in Linux is the standard Unix access control mechanism: in most file systems every file, directory, device et cetera has an owner-user, an owner-group, and a separate patterns defining the access types (read, write, execute/traverse) allowed for the owner-user, any user belonging to the owner-group, and all others.

Quote:
In addition, protection must also ensure that only those processes that have gained proper authorization from the operating system can operate on memory segments, the CPU, and other resources.
In Linux, each process has their own memory space. Other processes' memory segments are not visible to the process, even if it tried every possible memory address. (Bugs and MMU-less platforms exist, though.)
CPU and I/O priorities are enforced by the kernel, totally invisibly to the process (other than the resulting effects). The kernel also enforces a large number of per-process limits: for example, the kernel will terminate any process which runs longer (uses more CPU time) than a set limit.

Quote:
Protection is provided by a mechanism that controls the access of programs, processes, or users to the resources defined by a computer system.
This is a repeat of the first quoted sentence, but extends the scope to cover all resources a computer system has.

Quote:
This mechanism must provide a means for specification of the controls to be imposed, together with a means of enforcement.
In Linux, this specification is done via utility programs like chmod, chown, nice, ionice, su and sudo and so on, but also via detailed configuration files in the /etc/ tree.

Hope this helps,
Nominal Animal

Last edited by Nominal Animal; 03-21-2011 at 06:25 AM.
 
Old 01-24-2011, 01:16 PM   #4
johnifanx98
LQ Newbie
 
Registered: Jan 2008
Posts: 26

Original Poster
Rep: Reputation: 0
Super! Thank you!

Quote:
Originally Posted by Nominal Animal View Post
One such protection mechanism in Linux is the standard Unix access control mechanism: in most file systems every file, directory, device et cetera has an owner-user, an owner-group, and a separate patterns defining the access types (read, write, execute/traverse) allowed for the owner-user, any user belonging to the owner-group, and all others.


In Linux, each process has their own memory space. Other processes' memory segments are not visible to the process, even if it tried every possible memory address. (Bugs and MMU-less platforms exist, though.)
CPU and I/O priorities are enforced by the kernel, totally invisibly to the process (other than the resulting effects). The kernel also enforces a large number of per-process limits: for example, the kernel will terminate any process which runs longer (uses more CPU time) than a set limit.


This is a repeat of the first quoted sentence, but extends the scope to cover all resources a computer system has.


In Linux, this specification is done via utility programs like chmod, chown, nice, ionice, su and sudo and so on, but also via detailed configuration files in the /etc/ tree.

Hope this helps,
Nominal Animal
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] qt 4.5 vs qt 3.8 (textbook says qt 4.3) icecubeflower Slackware 6 04-13-2010 11:22 PM
Online Textbook palisetty_suman Linux - General 4 02-05-2009 09:55 PM
koffice textbook or workbook tsergeetho Linux - Software 3 04-17-2007 11:30 PM
IPV6 security question (from textbook). schitzo1978 Linux - Security 3 03-21-2006 09:44 AM
LISP Online textbook/references. frob23 Programming 5 01-28-2005 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration