When a C program is compiled, the compiler generates object code. After generating the object code, the compiler also invokes linker. One of the main tasks for linker is to make code of library functions (eg printf(), scanf(), sqrt(), ..etc) … 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
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
1. WAP to convert lowercase latter in uppercase without calling the toupper(). 2. WAP to execute the above program . 3. WAP to obtain the process id and parent id of the process. 4. Duplicate a process using fork() system … Continue reading
When I list the processes executing on my system it displays many kworker/ processes with interruptible sleep (waiting for an event to complete) , an unknown value of tty and many different pids (even if my system is idle). Also … Continue reading
Dear Friends, I Have Successfully Run 508 Clients in my project without using any SLEEP in server or client , But when I am trying to Run More Clients than this i got an error “multiply: error while loading shared … Continue reading
I have completed the following topics:: Fedora installation Kernel compilation Gcc installation Configure Raid all servers Created Usb media Dual Boot Debiyan installation
All E11 trainees, Kindly update the status of Multiple Data Compression and any queries regarding the same should be posted here only.
Dear E12 Trainees, Update the status/issues pertaining to MDC project on daily basis through this post only.
Here is the code snippet of a prog ************** START ********************** #include <stdio.h> #include <sys/types.h> #include <stdlib.h> #include <unistd.h> int glob_var = 100; int main(void) { int var; pid_t pid; var = 200; printf(“++Before Fork()\n”); if((pid = fork()) < 0) … Continue reading
Signal Number Default Action Remarks SIGWAITING 32 Ignore Cocurrancy signal used by threads library SIGLWP 33 Ignore Inter LWP signal used by thread library Where LWP: light … Continue reading
I have implemented :- write_operation for single quantum(working on multiple quantums). Implemented Threads
while compiling kernel 2.6.27.62 following error is generated CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC [M] arch/x86/kvm/svm.o In file included from include/linux/kvm_host.h:21:0, from arch/x86/kvm/svm.c:16: include/linux/kvm.h:240:9: error: duplicate member ‘padding’ make[1]: *** [arch/x86/kvm/svm.o] Error 1 make: *** [arch/x86/kvm] Error … Continue reading
Unable to implement Shared Memory……. one process has created Shared Memory and another is using it with same return value…. but problem arises when first and second process attached with the shared memory with different address…………. PLZZZZZZZZZZZZZZ reply soon further … Continue reading
I have done following: – Process Management – 3 (Process Replacing) IPC PIPES Single Client-Server with single PIPE in different terminal ….. working on Multiple Client-Server with single PIPE and FIFO………..