Why can't Linux security software be used on other OS platforms.

Posted on 2003-03-01
Medium Priority
Last Modified: 2010-04-22
I am a student taking my first course in Web design but am confused as to why there are Operating System (OS) specific security software. Why is it that some OS security software do not operate on other OS's (ie., Linux, Windows, Unix, Mac).  I have searched and searched but, I am even more confused.  What are the differences between OS's that causes conflicts.  Please help clear the spider webs out of my head.
Question by:stormybrock
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

majorwoo earned 100 total points
ID: 8047727
In order for something to run on a computer you must have a program, this program starts off as source code.  A test file like this

#include <stdio.h>

int main()

now in order to run that program, we must compile it.  For that we need a compiler.  Your compiler turns that code into what is called a binary (or .exe under windows) so that your OS can execute it.  It turns the code ino a instruction format that your OS can understand.  Now each OS has a different format for its binaries which makes part of the problem, so if you compile a program under windows it will not run under linux.

Ok, souliton would seem to be them to just compile your code for each OS and be done right? Well it doesnt work like that.  Companies that write code don't what to share it with everyone for various reasons.  And to make matters worse, there are OS specific things you can do that make your code unportable.  The program I showed you above just prints hello  on the screen, it would compile just find under windows or linux.  The problem becomes when you get into more complex things and use OS specific features/libraries -- now your code can not be ported to the other OS without rewriting parts of it (which many people dont want to do/dont know how and for commercial companies often isnt profitable enough as so many people use windows)

Does that help?

Assisted Solution

Fummacious earned 100 total points
ID: 8049178
More specifically, each OS has its own set of low-level commands called the "Native API (Application Program Interface"). Individually, these are called "System calls", because they are direct calls into the operating system.

Unfortunately, each flavor of OS has its own set of these calls. While they do effectively the same things, they do so in different ways and under different names.

This isn't quite as painful as it sounds because C and C++ define a set of system libraries that sit on top of the native API. The system libraries allow developers to call "fopen" to open a file without consideration for the underlying OS.

Each OS has its own features that fall outside the system libraries. Since you mentioned security, I'll touch on that.

Unix can allow/deny read, write, or execute permission on a file-by-file basis. Delete permission is restricted by removing write permission from the enclosing directory.

Windows 95/98/ME, etc can manipulate 3 security-related bits associated with a file: Read-Only, Hidden, System.

NT/2000 still has these, but also adds ACLs (Access Control Lists) that allow you to define exactly what each user and/or group can do with a file.

The result is controlling access to a file is very different from one OS to another. This is even true between the various flavors of *nix. For that matter, it's even true for different distros of Linux.

Oracle 9i will install and run flawlessly on SuSE 7, but RedHat 7 uses a newer, incompatible version of binutils and Oracle won't even install.

Assisted Solution

LamerSmurf earned 100 total points
ID: 8056932
Ill try to put it in a non-geek version, as i can in no way compete with the other two answers, very good answers. :)

if you look at it language.. OS's are like languages..
some languages are only used inside the country and by scholars who wants to learn of other languages(emulators).
and some languages are universal, like math and science. in computers that will be programming language that are not used specifically with one OS.

So, if a program or security program/software is coded in a 'local language' it cannot be moved directly to another OS.

The reason for ever putting a program in a local language is that is only ment to be used on this OS and therefor it is used to make things easier on the programmer.

just my way of looking at it. :)


Featured Post

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question