06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · YouTux Channel · · 25:18 runtime

The Most Secure Operating System in the World

In the wiki LinuxQNXWindowsUNIXmacOSAT&T Also namedQuantum Software Systems Limited, IBM PC, Icon
Transcript 3760 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

You probably have at least one computer in front of you right now. Maybe you're watching this from Windows, maybe Mac OS. And if you're on this channel, probably Linux. So, let me ask you a question. What is the most important operating system in history? Windows, Unix, Linux, Mac OS, maybe BSD. We could argue for hours, but there is another operating system more than 40 years old. one that never conquered the desktop, never conquered the server, never conquered the smartphone, and that you have almost certainly never installed on your computer. Yet, its technology can now be found in more than 275 million vehicles. And we are not

talking only about the thing showing Spotify on your dashboard. We are talking about computers controlling cars, industrial machines, robots, medical equipment, and embedded systems. machines where the difference between the program was a little slow and the program missed its deadline can be enormous. Its name is QX and it is

frequently described as one of the most reliable, robust and secure operating systems ever created. But I do not want to spend 20 minutes telling you how wonderful QX is. I want to understand why it exists and more importantly whether calling something secure actually means what we think it means. Because security, safety and reliability are not the same thing. And the story begins almost half a century ago. Not in Silicon Valley, not at MIT, not at Bell Labs, but in Waterlue, Ontario. At the end of the 1970s, Dan Dodge was studying at the University of Waterlue. And before QX existed, there

was another operating system there called Thoth. Almost nobody mentions it. But Thoth is important because it was designed around an idea that would eventually become part of QX's DNA. Message passing. Instead of imagining the operating system as one enormous block in which everything directly manipulates everything else, components communicate by exchanging messages. Dan Dodge worked directly on Thoth. And decades later, message passing remains one of the fundamental principles behind QX. Dodge then Gordon Bell. And no, not the famous Gordon Bell from Deck, another Gordon Bell. After university, the two worked as programmers at Bell Northern Research. And in their spare time, they continued developing their own operating system. It was 1980. Microprocessors

were becoming powerful enough to bring capabilities once associated with much larger computers into completely new machines. Dodge and Bell saw an opportunity, a multitasking real-time operating system for microcomputers. So they founded a tiny Canadian company, Quantum Software Systems Limited. Their operating system was called Unix. Quantum Unix. There was just one small problem. Unix was a trademark controlled by AT&T. According to QX's own historical documentation, a rather polite letter arrived from AT&T's lawyers. You can probably imagine the message. Kunix lost a few letters and became QX. Then in 1982, QX appeared on

the IBM PC using the Intel 8088 family.

Think about the date, 1982. Linux does not exist. Windows does not yet exist as a commercial product. The Macintosh does not exist. MS DOS is still extremely primitive. And these two Canadians are selling a multitasking, multi-user, real-time operating system for personal computers. They did not invent multitasking. They did not invent realtime computing. Unix already existed, but bringing these ideas into the emerging micro computer world was remarkable. And then something happened that sounds almost fictional. The Bionic Beaver. No, seriously. At the beginning of the 1980s, the Ontario government wanted computers in schools. Britain had the BBC Micro. Ontario wanted its own machine. So, a company called CM Corp developed the Icon Intel 886. 384

kilobyt of RAM in early versions, graphics, networking, a track ball, even speech synthesis, and underneath Q&X. Its network server was called the Lexicon. The Ontario Ministry of Education awarded CMC Corp a $10 million contract for the project. And this apparently obscure school computer may have helped push QX toward the market that would eventually define its entire future. Computers hidden inside other things. QX continued evolving. QNX 2, then QNX4. PZIX compatibility improved, but underneath QNX kept doing things differently. One of the strangest examples was networking. In the Q&X model, message passing did not necessarily stop at the edge of one computer. Processes on different machines could participate in this model. A service did not necessarily have to live locally. Conceptually, the network could become an extension of the operating system itself. local message passing could become distributed processing. And then around 1995, QX

rebuilt the foundation again. A new generation appeared. QX Nutrino, new micro kernel, better portability, multiprocessor support, PZIX, an architecture intended for increasingly complex embedded systems. But four years later, QX produced perhaps the most ridiculous demonstration of its philosophy in the best possible way. One floppy disc, 1.4 44 megabytes. Inside

it, a real-time operating system, networking, a graphical interface, utilities, and even a web browser. Insert the floppy, boot the computer, [music] network, browser, everything. 1.44

megabytes. Today, a web page can transfer many times that amount just to show you cookie banners. But the interesting thing is not that QX was small. The interesting thing is why it could be small. The system was built to be composable. Use the components you need. Leave out the components you do not. That floppy was not just a demo. It was almost a technical insult. Look how much we can do with so little. And now we need to understand the part that explains why QX survived. The kernel. Take Linux. Linux uses a modular monolithic kernel. Drivers, file systems, networking, and many fundamental mechanisms operate with very high privilege. And before someone starts typing furiously, monolithic does not mean primitive. Linux has modules, namespaces, capabilities, isolation mechanisms, and decades of sophisticated engineering. QX simply starts from a different philosophy. Keep the micro kernel responsible for a relatively small set of fundamental mechanisms.

Threads, scheduling, timers, interrupts, synchronization, and especially message passing. Many things we normally imagine as being the operating system can instead run as separate processes. drivers, file systems, services, resource managers. [music] And this changes one extremely important question. What happens when one of them breaks? If a driver executes directly inside privileged kernel space and corrupts memory, the damage can potentially affect the whole kernel. If the driver lives as a restricted user space process with its own address space, you at least have the possibility of containing part of that failure. The driver may die but the kernel may survive and perhaps that service can be restarted. This does not mean QX cannot crash. It does not mean micro kernels are magically secure. It means something more interesting. You have created natural boundaries around failure. The question becomes not how can we make software that never contains a bug because that is fantasy. Software will contain bugs. The real question is when something breaks, how far can the damage spread?

That idea is fundamental in safety critical systems, fault containment. [music] And this is one of the concepts that explains QNX better than almost any marketing slogan. But QX is also a realtime operating system. And real time is one of the most abused expressions in computing. Real time does not mean very fast. A task completing in one microcond is not automatically real time. A task taking 10 milliseconds may be. The important word is determinism. You want to know that a particular operation can complete within a required timing constraint, not merely that it is fast on average. On your desktop, a window opening after 30 milliseconds instead of 80 milliseconds is nice. If occasionally it takes half a second, you swear at the computer. Then you continue your life.

But imagine a thread reading a sensor and needing to react within a defined period. [music] usually fast enough is suddenly a completely different property from I understand the timing behavior of this system. QX uses preemptive priority based scheduling. A high priority thread becoming runnable can preempt a lower priority thread and it also deals with a wonderfully absurd problem called priority inversion. Imagine the most important task in the machine waiting for a resource controlled by a low priority task. other medium priority tasks keep running. The low priority task cannot finish and indirectly the supposedly critical task becomes blocked by something less important that is priority inversion

on a desktop. It can create annoying behavior in a real-time system. It can destroy your timing guarantees. So QX provides priority inheritance mechanisms to help deal with situations like this. This is why scheduling here is not nerd trivia. It is part of the reliability model. And now we arrive at the word in the title, security. Traditional Unix historically had one enormously powerful concept, root. You are root [music] or you are not. Modern Unix like systems obviously developed far more sophisticated controls, but QX has something called process manager abilities. Privileged operations are divided into roughly 70 separate permissions. A process can receive specific powers without automatically receiving everything else. And QNX documentation says something surprisingly aggressive.

Ideally, apart from the system process procto, no process should run as root. QX8 goes further with security policies. A centralized policy can control abilities. It can restrict where particular resource managers register. And critically, in a system based around message passing, it can restrict which services a process is allowed to communicate with. Think about that. If communication between components happens through messages, controlling who can talk to whom creates extremely interesting isolation boundaries. But here is the part many marketing presentations conveniently forget. QX's own documentation makes essentially the opposite point from install QX and you are secure. A production system without appropriate security policies and PZIX access controls cannot simply be considered secure.

That sentence is enormously important because QNX is not magic. Someone still has to design the system, configure privileges, build boundaries, maintain software, understand the threat model, apply patches. If you run everything with excessive privilege and expose unnecessary services, the QX logo is not going to save you. Security is not a product you install. It is a property you attempt to build. And then we need to separate another pair of words, security and safety. Security is about preventing unauthorized access, manipulation, and malicious behavior. Safety is about preventing the system from producing dangerous conditions. A software bug can be a safety problem even if no hacker exists. And QX has an enormous presence in precisely this world. There are dedicated products such as QXOS for safety. The current QXOs for safety 8.x X family is assessed against standards including IEC61508 SIL 3 and ISO2662 ASL D for automotive

applications as well as standards relevant to medical software and automotive cyber security. ASELD is the highest automotive safety integrity level in ISO 26262. But this gets explained badly all the time. QX is ASELD. Then someone imagines that installing QX magically certifies the car. No, there are specific products, configurations, tool chains, development processes, documentation, and safety artifacts. A certification is not a papal blessing applied to every application carrying the same logo. And if QX is so secure, has it ever had vulnerabilities? Of course. In 2021, QX

was involved in the group of vulnerabilities known as bad Alec. CVE 2021-22156 affected Calok in older versions of the Qunx C runtime under specific conditions. An integer overflow could have serious consequences. SISA issued an advisory because QX existed and embedded in industrial infrastructure and vulnerabilities did not magically disappear afterwards. Modern QX versions have also received CVEEs. So place that next to the provocative title, the most secure operating system in history. Contradiction? No, that is the point. A serious secure system architecture does not begin by pretending bugs will disappear. It begins by asking what can this bug reach? What privileges does this component possess? Can the failure be isolated? Can the system recover? QX even had a component built around this philosophy. The high availability manager or ham. Monitor processes, detect failures, define recovery actions, process dies, restart it.

Service stops responding, react. There are obviously limits. If software already drove a physical machine into an irreversible state, restarting a process does not reverse physics. But the philosophy is powerful. Do not design only for success. Design what happens after failure. And perhaps the best description of QX reliability is simply this. Reliability is not the absence of failure. It is the management of failure. So how did this obscure Canadian operating system end up in hundreds of millions of cars? The answer is more complicated than BlackBerry. [music] QX was already important in automotive before BlackBerry arrived. Then in 2004, Harmon International bought QX. That makes perfect sense.

Cars were becoming computers, navigation, multimedia, telephony, communication, telematics, and QNX already had decades of experience building embedded systems. Then comes 2010, another company from Waterlue. Research in motion. BlackBerry. RIM looks at QX and sees the foundation of its future. On April 9th, 2010, an agreement is signed. BlackBerry buys QX from Harmon for $200 million in cash. QX

becomes the foundation first for the BlackBerry Playbook and then for [music] BlackBerry 10. The Z10, Q10 Passport.

BlackBerry 10 had gestures, genuine multitasking, the hub, and an interface radically different from Android and iOS. and underneath Q&X. But the smartphone war goes badly. The ecosystem problem becomes brutal. Too few applications. Developers go where the users are. Users go where the applications are. BlackBerry smartphones disappear. And here comes one of my favorite paradoxes in technology. BlackBerry bought QX partly to help build its smartphone future. The BlackBerry smartphone died. QX survived

and arguably became more important. Today, BlackBerry says, "Quinx technology is present in more than 275 million vehicles." Be careful with the sentence. That does not mean 275 million cars run entirely on QX. A modern vehicle may contain dozens of ECUs, microcontrollers, and processors using QX, Linux, Android, AutoSAR, proprietary

firmware, and other operating systems simultaneously. QNX might run the cockpit, telematics, a domain controller, a virtualization layer, but 275 million vehicles is still an astonishing footprint for an operating system most people have never heard of. And financially, BlackBerry is not quite the dead company people imagine either. For the fiscal year ending February 28th, QNX generated $268

million in revenue, growth of 14%. The

royalty backlog reached roughly $950 million and Qunx represented almost $ 49% of BlackBerry's total revenue. So while the internet remembers BlackBerry as that company that made phones with keyboards, almost half of its revenue now comes from an operating system that most consumers never see. That is an incredible transformation and it may become even more important because cars themselves are changing. For years, we added a new computer every time the vehicle needed a new function. Another ECU, another controller, another processor. Now, the industry is moving toward the softwaredefined vehicle, larger centralized computers, domain controllers, zone controllers, software updates, more functions consolidated onto fewer powerful processors. And that creates a fascinating problem. How do you put a highly complex system like Android on the same processor as software performing much more critical functions? One answer is virtualization.

QX hypervisor can allow multiple environments to exist on one SOC. QX

Android the graphical infotainment interface might run Android, Spotify, Google Maps, animations, applications. Meanwhile, another isolated environment handles something far more important. And here is where QX becomes fascinating again because saying we isolate Android sounds simple. Actually implementing it means dealing with CPU isolation, memory interrupts, scheduling, [music] device ownership, boot recovery, DMA. Even a

peripheral capable of direct memory access can potentially bypass ordinary CPU memory operations. That is why mechanisms such as an MU or SMMU matter. Devices can be restricted to particular regions of memory. This is the kind of detail hidden behind a simple marketing sentence like critical and non-critical workloads can share the same processor. The future may not be QX versus Linux versus Android. The future may be QX Linux and Android running inside the same computer at the same time. And there is another almost forgotten chapter open source. QX today is proprietary. For someone coming from Linux, including me, that is a major limitation. You cannot simply fork the operating system and build your own QX distribution. But in 2007, QX experimented with something unusual called Foundry 27.

Important source code was made available, including system components, libraries, BSPs, and a networking stack substantially based on NetBSD4. QX described this as a hybrid software model. [music] It was never equivalent to Linux becoming free software, but the company experimented seriously with source access and outside collaboration. That window eventually became much smaller. And then, strangely enough, in 2026, QX started reaching outward again. The program is called QX everywhere. A non-commercial QX SDP8 license is available for students, hobbyists, experimentation, and personal projects. And there is something I never expected to see. QX8 running XFCE officially in

QIMU or even on Raspberry Pi 4 and 5. You can boot QX, open a desktop, inspect processes, use Pedin, compile software, experiment with message passing. So after decades of existing almost invisibly inside industrial equipment and cars, enthusiasts can finally touch the thing. And frankly, that deserves another video. So let us return to the original question. Is QX the most secure operating system in history? The rigorous answer is we cannot prove that. There is no scientific leaderboard where QX, OpenBSD, CL4, Linux, Windows Integrity and VX works receive one universal security score. Security depends on the threat model. Configuration, hardware, code, integration, and even on what we mean by the word itself. Counting CVE alone tells us very little. Less popular or closed software may simply receive less independent research. Counting kernel lines tells us very little. Smaller does not automatically mean correct. Counting certifications also does not solve the problem. A certified foundation does not magically certify everything built on top of it. But we can ask a better question. Which operating systems were designed from the beginning around ideas such as isolation, determinism, message passing, lease privilege, fault containment, recovery, [music] and reducing the amount of software that must be trusted. And QNX unquestionably belongs in that conversation. Maybe that is the real reason it survived. QX never needed to win the war everyone was watching. It did not need the best desktop. It did not need Photoshop, Steam, Office. It did not need millions of people buying QX laptops. While Windows fought Mac OS, while Linux spent decades trying to gain desktop market share, QX moved into another category of computer entirely. The computer that disappears inside something else. The car, the factory, the robot, the medical device, the controller. And there is something almost philosophical about that. The greatest success of QX is precisely the fact that you do not see it. Windows wants you to know you are using Windows. Apple absolutely wants you to know you are using a Mac. And we Linux users spend half our lives reminding everybody that we use Linux.

QX can work inside a machine for 10 years without the user ever learning its name. It does not need to be the product. It needs to make the product work. Think again about that floppy disc. 1999 1.44 megabytes. [music]

Operating system guey networking browser. An almost arrogant technical statement. Look how much we can do with so little. Today, the hardware is unrecognizable. 64-bit processors, multiple cores, GPUs, hypervisors, Android 8 softwaredefined vehicles. But underneath all those layers, some remarkably old ideas remain recognizable. Processes, messages, priorities, isolation, small components communicating through controlled interfaces. Ideas connected to work. Dan Dodge was doing at Waterlue before QX even had a name. more than 40 years of evolution and the fundamental questions remain almost unchanged. How do I know when a task will execute? How do I prevent one broken component from destroying the others? How do I give software only the privileges it needs?

How do I separate critical and non-critical workloads? What do I do when something inevitably fails? How much code do I actually need to trust? Those questions mattered in 1980. They matter enormously in 2026. And they may matter even more in a world filled with autonomous vehicles, robots, and physical AI. Because when a chatbot gets one sentence wrong, we laugh. When a physical machine misunderstands the world around it, the error belongs to a completely different category. And maybe after researching Q&X, I would change the original question. Not is this the most secure operating system in history, but what happens when you design an operating system starting from the assumption that software cannot be blindly trusted?

QX has spent more than 40 years developing one answer. Divide, isolate, limit, prioritize, contain, recover, and

above all accept that software will never be perfect. Maybe that is the most important idea in the entire story. The most reliable system is not the one designed by engineers who believe nothing will ever go wrong. It is the one designed by engineers who know that sooner or later something will. I will always personally prefer systems that I can study, modify, rebuild and fully verify as free software. QX remains proprietary and for me that remains a major limitation. But philosophical preference should not blind us to technical reality because QX is one of the strangest engineering stories in computing. A small Canadian company founded in 1980. An operating system influenced by university research into message passing. A machine called the Bionic Beaver. A polite letter from AT&T's lawyers. A complete graphical operating system on a floppy. A micro kernel rebuilt for embedded computing.

Cars. Blackberry. a failed smartphone empire. And then instead of disappearing with Blackberry phones, silent expansion into hundreds of millions of vehicles. QX lost almost every technology war that makes headlines. It did not win the desktop. It did not win the smartphone. It did not win the server. It did not win the cloud. [music] And yet, it is still here. Because QX won a war, almost

nobody was watching. The war to become the operating system of the computer you never see. behind the display, inside the controller, inside the vehicle, inside the machine, the machine that quite simply has to keep working. And

maybe the greatest compliment we can give Q&X is this. You may already have been using it for years without ever knowing it existed.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks