Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.