Month: September 2017

Linux 4.10 ARM System Calls Table

As a result of continues changes in linux kernel, new system calls are added all the time. In version 4.9, to support a new system call we need to change a source assembly file (arch/arm/kernel/calls.S) and to add the source file with SYSCALL_DEFINEx macro and the function declaration From version 4.10 it is done by […]

Read more

Linux Shared Libraries

While writing applications in linux , the developer can use tons of libraries. Each library can packs functions, classes and variables and it is very  important to understand how to create and work with it. Lets start with simple example: Implicit link

To compile the library we use:

Here we use -g3 to […]

Read more

Angular 2+ Components

One great thing with Angular is the ability to build a component for reuse There are a lot of components and libraries you can find in npm You can find some interesting libraries in this blog post

Read more

Using mprotect system call to debug memory problems

One of the decisions you need to take when you write a multi tasking application is whether to use processes (using fork system call) or threads (using posix library) The main benefit of using multiple threads is the memory that is shared between them but this feature can also make problems while one thread for […]

Read more