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
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
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
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!
#!/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
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
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
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
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
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
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
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
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