In this article, I'll talk about some of the ideas on which high-level parts of Android are built, about several of its predecessors and about the basic mechanisms of security.
I'm used to looking for problems in code or in the system, using logs or monitoring indicators, which are displayed on pretty control panels with a simple and intuitive interface. However, if for some reason the data does not arrive to the control panel, or the logs of some service are unavailable, debugging becomes more complicated. Now there are few such problems, they are rare, but they do happen. Therefore, in our time is very valuable knowledge of tools that help to understand what is wrong with a certain process on any computer.
In this series of articles, I'll talk about the internal Android device - about the boot process, about the contents of the file system, about Binder and Android Runtime, about what they consist of, how the applications are installed, running, interacting with each other, about the Android Framework, and on how Android provides security.
The development team working on PVS-Studio has finally started developing its product for Linux. That was the news that the CTO Andrey Karpov wrote about in the article. Long disputes and requests of the readers on habrahabr.ru, discussions on Reddit, Linux.org and other places can now gain a new round of comments. As it is mentioned in the article, you can volunteer to help the developers to test this product and improve it to a better level.
There are many tasks on the way of PVS-Studio to Linux, that the technical director is talking about. Put briefly, these are:
- more complete support of GCC and Clang;
- a new system of regression tests in Linux, so that you can track the changes results in the analyzer kernel and add new diagnostics;
- compiler monitoring to help programmers quickly and easily check the project without distracting people who support makefiles and the build system in general;
- documentation improvement, so that the user can get information with the examples about any diagnostic;
- testing, distribution, support organization.
In this article you will find more details about the abilities of PVS-Studio for Windows and the tasks it can already solve on Linux.
I do not know why I may need it, but suddenly I wanted to have two mouse pointers in Linux, after all I already have two mice, one is a wireless mouse and the other is a touchpad one. The idea came at a time when I hooked up a second mouse, namely, a third cursor control device.
I want each mouse to get a cursor, but how do I get it?
Let's see what xinput will tell us:
max 23:20:19 ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ Genius 2.4G Wireless Mouse id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Villem id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ HP WMI hotkeys id=15 [slave keyboard (3)]
Finally, Linux has shown growth of the rates that are expected for a long time. The market share of Linux increased by 64% on the desktop OS since May to December 2011, according to a global monitoring service Net Market Share, which collects statistics about visitors from over 40,000 websites. The unique audience makes about 160 million people per month, therefore, the measurement error is very small.
Linux origin can be traced back to the 70s of the 20th century. Its starting point began from the first release of Unix operating system in 1969 by Bell Laboratories, subsidiary of AT & T in the U.S. Unix has become the basic one for a large number of industrial-grade operating systems. The most basic of them showed on this timescale:
Linux is mostly indebted to two projects - GNU and Minix.
The story of the GNU project started in September 1983. The founder of GNU project, Richard M. Stallman worked at that time in the Artificial Intelligence Laboratory at Massachusetts Institute of Technology, Cambridge, Massachusetts. Stallman is considered as one of the most leading programmers of these days.
Today we are happy to present you Ajenti 0.6.0 is in our studio.
We remind you that Ajenti is a web-based admin panel for servers.
First, we would like to thank all 560 users, who are with us despite the fact that the project was in beta-stage, as well as all our wonderful developers;)
Breaking news – we provide almost full support for the following systems:
FreeBSD 8.0 +
Review of almost all *top utilities for linux (atop, iotop, htop, foobartop, etc.)
We all know that top is the simplest and most common utility in this list. It shows roughly the same as vmstat utility in addition to that it provides rating of processes for the consumption of the memory or the CPU. It does not know anything about the network loading or discs. It allows a minimal set of operations with the process: renice and kill. A suffix "top" got all the other similar utilities in this review.
Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks, and network layers, and for every active process it shows the CPU utilization, the memory growth, priority, username, state, and exit code.
In contrast to the top, it knows about the existence of block devices and network interfaces, as well it is capable to show their loading as a percentage (at 10G, however, a percentage does not work, but at least it shows the number of megabytes).
When I opened a mail for the domain on Yandex, I decided to open a free registration for unauthorized users to the mailboxes on mine “fancy” domain. In addition, I enabled catch-all feature, which directs all incoming mail of nonexistent mailboxes of my domain to my main mailbox. I faced necessity to reserve all the “standard” names of mailboxes for myself in order to avoid confusion, when some name already has been reserved by another user, and all “service” mail goes to someone else. Of course, you can any time expropriate any mailbox that is under control of domain. I'm puzzled: what are the names of mailboxes standard and system-defined? Yandex technical support said that they reserve for themselves only the name of postmaster @ for each domain to keep track of complaints and problems with the mail. Further, the search of results on the Internet was a bit predictable.
(On the picture is: the famous black mailbox, a place of pilgrimage for UFO enthusiasts)
First, I wanted to find RFC, which is RFC 2142, MAILBOX NAMES FOR COMMON SERVICES, ROLES AND FUNCTIONS (mailbox names for the public services, roles and functions), which was last amended in 1997. Here is just interesting information for us. Based on the document, the following mailboxes should exist and have the following functions: