EmbLogic's Blog

Category Archives: Uncategorized

process management

Assignment to Create a file ,Write into it, fork a child process , Use execl in the child process to call a new process , Read from the file in new process . Status– Execution Successful

Posted in Uncategorized | Leave a comment

Testing Pipeling flow and wait command

Program is created. Forked the process . Goes to parent first , execute its command , WAIT system call used to go into child process. Child prints the system time and returns back to parent ending the wait status. preventing … Continue reading →

Posted in Uncategorized | Leave a comment

Replacing Processes

Assignment- Create a file ,  Write into the file , Fork a child process , Use EXECL in the child process to call a new process , Read from the file in new process and Observe. Status– Execution Successful and … Continue reading →

Posted in Uncategorized | Leave a comment

Replacing Processes

Assignment- Create a file , Write into the file , Using EXECL to call a new process and passing FD as an argument , And Reading the file in the new process using the FD obtained.(without fork) Status– Executed Successfully!

Posted in Uncategorized | Leave a comment

Flash Player Installation Script for Fedora

#!/bin/bash if [[ $(uname -a | grep x86_64) ]] then rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux else rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux fi yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl

Posted in Uncategorized | Leave a comment

AVR-USB-LINUX

Posted in Uncategorized | Leave a comment

Implementation of signal and wait operation on a semaphore

RCS file: signalandwait.c,v Working file: signalandwait.c head: 1.6 branch: locks: strict root: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: Implementing wait and signal operation in a program. —————————- revision 1.6    locked by: … Continue reading →

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

Understanding The Fork Bomb

The fork bomb is a form of denial-of-service (DoS) attack against a Linux based system. It makes use of the fork operation. the processes recursively fork until a denial of service or a crash occurs Fork bombs count as wabbits … Continue reading →

Posted in Linux Internals and System Programming, Uncategorized | Leave a comment

An introduction to block device drivers

It is customary for authors explaining device drivers to start with a complete explanation of character devices, saving block device drivers for a later chapter. To explain why this is, I need to briefly introduce character devices as well. To … Continue reading →

Posted in Uncategorized | Leave a comment

tool chain Macro

Here we discuss about the variables/Macro use to make tool chains 1.SRCDIR:- This directory home all sources downloaded. e.g. export SRCDIR=/root/chaine/sources 2.BULIDDIR:- It is in this directory that will compile all source packages e.g. export BUILDDIR=/root/chaine/build 3.TARGETMACH:- This variable specifies … Continue reading →

Posted in Project 9: Embedded Linux on ARM, Uncategorized | Leave a comment

Open and Close File operations

head    1.3; access; symbols; locks; strict; comment    @ * @; 1.3 date    2014.01.10.09.25.47;    author root;    state Exp; branches; next    1.2; 1.2 date    2014.01.09.11.09.19;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.06.10.23.58;    author root;    state Exp; branches; next    ; … Continue reading →

Posted in Uncategorized | Leave a comment

Mutexes provide a high level of safety for mutual exclusion

Unbounded Priority Inversion Problem with using counting or binary semaphores for controlling access to critical resources is called unbounded priority inversion. Priority inversion occurs when a low-priority task owns a semaphore, and a high-priority task is forced to wait on … Continue reading →

Posted in Linux Internals and System Programming, Uncategorized | Leave a comment

ARTICLE ON LODABLE KERNEL MODULE

Loadable kernel module In computing, a loadable kernel module (or LKM) is an object file that contains code to extend the running kernel, or so-called base kernel, of an operating system. LKMs are typically used to add support for new … Continue reading →

Posted in Uncategorized | Leave a comment

KERNEL SYMBOL TABLE

In programming language, a symbol is either a variable or a function. Or more generally, we can say, a symbol is a name representing an space in the memory, which stores data (variable, for reading and writing) or instructions (function, … Continue reading →

Posted in Uncategorized | Leave a comment

INTODUCTION TO CHARACTER DEVICE DRIVER

Character special files or character devices relate to devices through which the system transmits data one character at a time by, for example, getchar. These device nodes often serve for stream communication with devices such as mice, keyboards, virtual terminals, … Continue reading →

Posted in Uncategorized | Leave a comment