├── .gitignore ├── A_fileio ├── Makefile ├── assignments_A_fileio.txt ├── fork_printf_1.c ├── fork_printf_2.c ├── io_setbuf.c ├── iobuf.c ├── mode_def.c ├── perf_runs.sh ├── redirct.c ├── simpcp1.c ├── simpcp2.c ├── streamio1.c ├── test_simpcp.sh └── trc_iobuf.sh ├── B_daemon ├── Makefile ├── assignments_B_daemons.txt └── daemon_trad.c ├── Further_reading.md ├── Hardware_Software_List.pdf ├── LICENSE ├── README.md ├── ch1 ├── Makefile ├── assignments_ch1.txt ├── getreg.c ├── getreg_cr0.c ├── getreg_cr3.c ├── getreg_rcx.c ├── hello.c └── helloworld.c ├── ch10 ├── Makefile ├── assignments_ch10.txt ├── fork1.c ├── fork2.c ├── fork3.c ├── fork4.c ├── fork4_prnum.c ├── fork5.c ├── fork_malloc_test.c ├── fork_r6_of.c ├── run_fork_r6_of.sh ├── simpsh_v1.c ├── simpsh_v2.c └── simpsh_v3.c ├── ch11 ├── Makefile ├── altstack.c ├── assignments_ch11.txt ├── bombard_sig.sh ├── defer_or_not.c ├── query_mask.c ├── sig1.c ├── sig2.c └── zombies_clear_linux26.c ├── ch12 ├── Makefile ├── assignments_ch12.txt ├── bombard_sigrt.sh ├── handle_segv.c ├── rtsigs_waiter.c ├── sigq_ipc │ ├── Makefile │ ├── sigq_recv.c │ └── sigq_sender.c ├── sigwt │ ├── Makefile │ ├── bombard.sh │ └── sigwt.c └── sleeping_beauty.c ├── ch13 ├── Makefile ├── alarm1.c ├── alarm2_rep.c ├── assignments_ch13.txt ├── intv_clksimple.c ├── react.c └── runwalk_timer.c ├── ch14 ├── Makefile ├── assignments_ch14.txt ├── cr8_so_many_threads.c ├── disp_defattr_pthread.c ├── param_passing │ ├── Makefile │ ├── pthreads1_wrong.c │ └── struct_as_param.c ├── pthreads1.c ├── pthreads2.c ├── pthreads3.c ├── pthreads_joiner1.c ├── pthreads_joiner2.c ├── speed_multiprcs_vs_multithrd_simple │ ├── create_destroy │ │ ├── Makefile │ │ ├── fork_test.c │ │ ├── perf_runs.sh │ │ └── pthread_test.c │ └── matrixmul │ │ ├── Makefile │ │ ├── prcs_matrixmul.c │ │ └── thrd_matrixmul.c └── stack_test.c ├── ch15 ├── Makefile ├── assignments_ch15.txt ├── cv_simple.c ├── facto.c ├── mutex1.c └── pshared_mutex_demo.c ├── ch16 ├── Makefile ├── assignments_ch16.txt ├── cancelit.c ├── cleanup_hdlr.c ├── mt_iobuf_mtx.c ├── mt_iobuf_rfct.c ├── mt_iobuf_tls.c ├── pthreads_app_template.c └── tsig.c ├── ch17 ├── Makefile ├── assignments_ch17.txt ├── query_sched_allprcs.sh └── sched_rt_eg.c ├── ch18 ├── Makefile ├── assignments_ch18.txt ├── diskspc.c ├── mmap_file_simple.c └── sgio_simple.c ├── ch2 ├── Makefile ├── assignments_ch2.txt ├── mem_app1buggy.c ├── stacker.c └── tst ├── ch3 ├── Makefile ├── assignments_ch3.txt ├── rlimit_primes.c └── rlimits_show.c ├── ch4 ├── Makefile ├── alloca_try.c ├── assignments_ch4.txt ├── malloc_brk_test.c ├── mallocmax.c ├── memprot.c ├── memprot_arm.c ├── mlock_try.c └── show_curbrk.c ├── ch5 ├── Makefile ├── assignments_ch5.txt ├── membugs.c └── runall ├── ch6 └── assignments_ch6.txt ├── ch7 ├── Makefile ├── assignments_ch7.txt ├── hello_pause.c ├── myfile ├── query_creds.c ├── rootsh_hack1.c ├── rootsh_hack2.c ├── savedset_demo.c └── show_setuidgid.sh ├── ch8 ├── Makefile ├── assignments_ch8.txt ├── hello_pause.c ├── query_pcap.c ├── set_pcap.c └── show_caps.sh ├── ch9 ├── Makefile ├── assignments_ch9.txt ├── execl_eg.c ├── pdfrdr_exec.c ├── predcs_name.c └── successor_setnm.c ├── common.c ├── common.h ├── misc ├── Makefile └── simple_feature_test_macros.c └── solutions_to_assgn ├── A_fileio ├── Makefile └── redirct2.c ├── ch1 ├── Makefile ├── ch1_solutions.txt └── getreg_cr2.c ├── ch10 ├── Makefile ├── cleanup.sh ├── fork2c.c ├── forkbomb.c ├── pdf_rdr.c ├── smallbomb.c └── zombie.c ├── ch11 ├── Makefile ├── atomic_A.c ├── atomic_B.c └── donthup.c ├── ch12 ├── Makefile ├── bombard_sig.sh ├── killer.c ├── murder.c ├── segv_altstack.c └── sigtmwtinfo.c ├── ch13 ├── 3intv.c └── Makefile ├── ch14 ├── Makefile ├── ans_1.txt ├── named_threads.c ├── pthreads_joiner3.c ├── pthreads_joiner4.c ├── pthreads_joiner_BUGGY_3.c └── see_tid.c ├── ch15 ├── Makefile └── bankacc.c ├── ch16 ├── Makefile ├── mt_primes1.c └── mt_primes2.c ├── ch17 ├── Makefile └── assgn2.c ├── ch18 ├── Makefile └── mt_copy.c ├── ch3 ├── Makefile └── segflt_nocore.c ├── ch4 └── memprot.c ├── ch5 ├── qa1.txt └── qa2.txt ├── ch7 ├── Makefile └── query_creds.c ├── ch8 ├── Makefile └── assgn1.c └── ch9 └── exec_pid_poc.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/.gitignore -------------------------------------------------------------------------------- /A_fileio/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/Makefile -------------------------------------------------------------------------------- /A_fileio/assignments_A_fileio.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/assignments_A_fileio.txt -------------------------------------------------------------------------------- /A_fileio/fork_printf_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/fork_printf_1.c -------------------------------------------------------------------------------- /A_fileio/fork_printf_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/fork_printf_2.c -------------------------------------------------------------------------------- /A_fileio/io_setbuf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/io_setbuf.c -------------------------------------------------------------------------------- /A_fileio/iobuf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/iobuf.c -------------------------------------------------------------------------------- /A_fileio/mode_def.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/mode_def.c -------------------------------------------------------------------------------- /A_fileio/perf_runs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/perf_runs.sh -------------------------------------------------------------------------------- /A_fileio/redirct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/redirct.c -------------------------------------------------------------------------------- /A_fileio/simpcp1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/simpcp1.c -------------------------------------------------------------------------------- /A_fileio/simpcp2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/simpcp2.c -------------------------------------------------------------------------------- /A_fileio/streamio1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/streamio1.c -------------------------------------------------------------------------------- /A_fileio/test_simpcp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/test_simpcp.sh -------------------------------------------------------------------------------- /A_fileio/trc_iobuf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/A_fileio/trc_iobuf.sh -------------------------------------------------------------------------------- /B_daemon/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/B_daemon/Makefile -------------------------------------------------------------------------------- /B_daemon/assignments_B_daemons.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/B_daemon/assignments_B_daemons.txt -------------------------------------------------------------------------------- /B_daemon/daemon_trad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/B_daemon/daemon_trad.c -------------------------------------------------------------------------------- /Further_reading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/Further_reading.md -------------------------------------------------------------------------------- /Hardware_Software_List.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/Hardware_Software_List.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/README.md -------------------------------------------------------------------------------- /ch1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/Makefile -------------------------------------------------------------------------------- /ch1/assignments_ch1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/assignments_ch1.txt -------------------------------------------------------------------------------- /ch1/getreg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/getreg.c -------------------------------------------------------------------------------- /ch1/getreg_cr0.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/getreg_cr0.c -------------------------------------------------------------------------------- /ch1/getreg_cr3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/getreg_cr3.c -------------------------------------------------------------------------------- /ch1/getreg_rcx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/getreg_rcx.c -------------------------------------------------------------------------------- /ch1/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/hello.c -------------------------------------------------------------------------------- /ch1/helloworld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch1/helloworld.c -------------------------------------------------------------------------------- /ch10/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/Makefile -------------------------------------------------------------------------------- /ch10/assignments_ch10.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/assignments_ch10.txt -------------------------------------------------------------------------------- /ch10/fork1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork1.c -------------------------------------------------------------------------------- /ch10/fork2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork2.c -------------------------------------------------------------------------------- /ch10/fork3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork3.c -------------------------------------------------------------------------------- /ch10/fork4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork4.c -------------------------------------------------------------------------------- /ch10/fork4_prnum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork4_prnum.c -------------------------------------------------------------------------------- /ch10/fork5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork5.c -------------------------------------------------------------------------------- /ch10/fork_malloc_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork_malloc_test.c -------------------------------------------------------------------------------- /ch10/fork_r6_of.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/fork_r6_of.c -------------------------------------------------------------------------------- /ch10/run_fork_r6_of.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/run_fork_r6_of.sh -------------------------------------------------------------------------------- /ch10/simpsh_v1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/simpsh_v1.c -------------------------------------------------------------------------------- /ch10/simpsh_v2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/simpsh_v2.c -------------------------------------------------------------------------------- /ch10/simpsh_v3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch10/simpsh_v3.c -------------------------------------------------------------------------------- /ch11/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/Makefile -------------------------------------------------------------------------------- /ch11/altstack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/altstack.c -------------------------------------------------------------------------------- /ch11/assignments_ch11.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/assignments_ch11.txt -------------------------------------------------------------------------------- /ch11/bombard_sig.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/bombard_sig.sh -------------------------------------------------------------------------------- /ch11/defer_or_not.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/defer_or_not.c -------------------------------------------------------------------------------- /ch11/query_mask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/query_mask.c -------------------------------------------------------------------------------- /ch11/sig1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/sig1.c -------------------------------------------------------------------------------- /ch11/sig2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/sig2.c -------------------------------------------------------------------------------- /ch11/zombies_clear_linux26.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch11/zombies_clear_linux26.c -------------------------------------------------------------------------------- /ch12/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/Makefile -------------------------------------------------------------------------------- /ch12/assignments_ch12.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/assignments_ch12.txt -------------------------------------------------------------------------------- /ch12/bombard_sigrt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/bombard_sigrt.sh -------------------------------------------------------------------------------- /ch12/handle_segv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/handle_segv.c -------------------------------------------------------------------------------- /ch12/rtsigs_waiter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/rtsigs_waiter.c -------------------------------------------------------------------------------- /ch12/sigq_ipc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigq_ipc/Makefile -------------------------------------------------------------------------------- /ch12/sigq_ipc/sigq_recv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigq_ipc/sigq_recv.c -------------------------------------------------------------------------------- /ch12/sigq_ipc/sigq_sender.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigq_ipc/sigq_sender.c -------------------------------------------------------------------------------- /ch12/sigwt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigwt/Makefile -------------------------------------------------------------------------------- /ch12/sigwt/bombard.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigwt/bombard.sh -------------------------------------------------------------------------------- /ch12/sigwt/sigwt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sigwt/sigwt.c -------------------------------------------------------------------------------- /ch12/sleeping_beauty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch12/sleeping_beauty.c -------------------------------------------------------------------------------- /ch13/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/Makefile -------------------------------------------------------------------------------- /ch13/alarm1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/alarm1.c -------------------------------------------------------------------------------- /ch13/alarm2_rep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/alarm2_rep.c -------------------------------------------------------------------------------- /ch13/assignments_ch13.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/assignments_ch13.txt -------------------------------------------------------------------------------- /ch13/intv_clksimple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/intv_clksimple.c -------------------------------------------------------------------------------- /ch13/react.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/react.c -------------------------------------------------------------------------------- /ch13/runwalk_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch13/runwalk_timer.c -------------------------------------------------------------------------------- /ch14/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/Makefile -------------------------------------------------------------------------------- /ch14/assignments_ch14.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/assignments_ch14.txt -------------------------------------------------------------------------------- /ch14/cr8_so_many_threads.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/cr8_so_many_threads.c -------------------------------------------------------------------------------- /ch14/disp_defattr_pthread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/disp_defattr_pthread.c -------------------------------------------------------------------------------- /ch14/param_passing/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/param_passing/Makefile -------------------------------------------------------------------------------- /ch14/param_passing/pthreads1_wrong.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/param_passing/pthreads1_wrong.c -------------------------------------------------------------------------------- /ch14/param_passing/struct_as_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/param_passing/struct_as_param.c -------------------------------------------------------------------------------- /ch14/pthreads1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/pthreads1.c -------------------------------------------------------------------------------- /ch14/pthreads2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/pthreads2.c -------------------------------------------------------------------------------- /ch14/pthreads3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/pthreads3.c -------------------------------------------------------------------------------- /ch14/pthreads_joiner1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/pthreads_joiner1.c -------------------------------------------------------------------------------- /ch14/pthreads_joiner2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/pthreads_joiner2.c -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/Makefile -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/fork_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/fork_test.c -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/perf_runs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/perf_runs.sh -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/pthread_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/create_destroy/pthread_test.c -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/Makefile -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/prcs_matrixmul.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/prcs_matrixmul.c -------------------------------------------------------------------------------- /ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/thrd_matrixmul.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/speed_multiprcs_vs_multithrd_simple/matrixmul/thrd_matrixmul.c -------------------------------------------------------------------------------- /ch14/stack_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch14/stack_test.c -------------------------------------------------------------------------------- /ch15/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/Makefile -------------------------------------------------------------------------------- /ch15/assignments_ch15.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/assignments_ch15.txt -------------------------------------------------------------------------------- /ch15/cv_simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/cv_simple.c -------------------------------------------------------------------------------- /ch15/facto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/facto.c -------------------------------------------------------------------------------- /ch15/mutex1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/mutex1.c -------------------------------------------------------------------------------- /ch15/pshared_mutex_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch15/pshared_mutex_demo.c -------------------------------------------------------------------------------- /ch16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/Makefile -------------------------------------------------------------------------------- /ch16/assignments_ch16.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/assignments_ch16.txt -------------------------------------------------------------------------------- /ch16/cancelit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/cancelit.c -------------------------------------------------------------------------------- /ch16/cleanup_hdlr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/cleanup_hdlr.c -------------------------------------------------------------------------------- /ch16/mt_iobuf_mtx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/mt_iobuf_mtx.c -------------------------------------------------------------------------------- /ch16/mt_iobuf_rfct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/mt_iobuf_rfct.c -------------------------------------------------------------------------------- /ch16/mt_iobuf_tls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/mt_iobuf_tls.c -------------------------------------------------------------------------------- /ch16/pthreads_app_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/pthreads_app_template.c -------------------------------------------------------------------------------- /ch16/tsig.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch16/tsig.c -------------------------------------------------------------------------------- /ch17/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch17/Makefile -------------------------------------------------------------------------------- /ch17/assignments_ch17.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch17/assignments_ch17.txt -------------------------------------------------------------------------------- /ch17/query_sched_allprcs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch17/query_sched_allprcs.sh -------------------------------------------------------------------------------- /ch17/sched_rt_eg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch17/sched_rt_eg.c -------------------------------------------------------------------------------- /ch18/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch18/Makefile -------------------------------------------------------------------------------- /ch18/assignments_ch18.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch18/assignments_ch18.txt -------------------------------------------------------------------------------- /ch18/diskspc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch18/diskspc.c -------------------------------------------------------------------------------- /ch18/mmap_file_simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch18/mmap_file_simple.c -------------------------------------------------------------------------------- /ch18/sgio_simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch18/sgio_simple.c -------------------------------------------------------------------------------- /ch2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch2/Makefile -------------------------------------------------------------------------------- /ch2/assignments_ch2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch2/assignments_ch2.txt -------------------------------------------------------------------------------- /ch2/mem_app1buggy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch2/mem_app1buggy.c -------------------------------------------------------------------------------- /ch2/stacker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch2/stacker.c -------------------------------------------------------------------------------- /ch2/tst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch2/tst -------------------------------------------------------------------------------- /ch3/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch3/Makefile -------------------------------------------------------------------------------- /ch3/assignments_ch3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch3/assignments_ch3.txt -------------------------------------------------------------------------------- /ch3/rlimit_primes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch3/rlimit_primes.c -------------------------------------------------------------------------------- /ch3/rlimits_show.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch3/rlimits_show.c -------------------------------------------------------------------------------- /ch4/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/Makefile -------------------------------------------------------------------------------- /ch4/alloca_try.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/alloca_try.c -------------------------------------------------------------------------------- /ch4/assignments_ch4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/assignments_ch4.txt -------------------------------------------------------------------------------- /ch4/malloc_brk_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/malloc_brk_test.c -------------------------------------------------------------------------------- /ch4/mallocmax.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/mallocmax.c -------------------------------------------------------------------------------- /ch4/memprot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/memprot.c -------------------------------------------------------------------------------- /ch4/memprot_arm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/memprot_arm.c -------------------------------------------------------------------------------- /ch4/mlock_try.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/mlock_try.c -------------------------------------------------------------------------------- /ch4/show_curbrk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch4/show_curbrk.c -------------------------------------------------------------------------------- /ch5/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch5/Makefile -------------------------------------------------------------------------------- /ch5/assignments_ch5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch5/assignments_ch5.txt -------------------------------------------------------------------------------- /ch5/membugs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch5/membugs.c -------------------------------------------------------------------------------- /ch5/runall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch5/runall -------------------------------------------------------------------------------- /ch6/assignments_ch6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch6/assignments_ch6.txt -------------------------------------------------------------------------------- /ch7/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/Makefile -------------------------------------------------------------------------------- /ch7/assignments_ch7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/assignments_ch7.txt -------------------------------------------------------------------------------- /ch7/hello_pause.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/hello_pause.c -------------------------------------------------------------------------------- /ch7/myfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/myfile -------------------------------------------------------------------------------- /ch7/query_creds.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/query_creds.c -------------------------------------------------------------------------------- /ch7/rootsh_hack1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/rootsh_hack1.c -------------------------------------------------------------------------------- /ch7/rootsh_hack2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/rootsh_hack2.c -------------------------------------------------------------------------------- /ch7/savedset_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/savedset_demo.c -------------------------------------------------------------------------------- /ch7/show_setuidgid.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch7/show_setuidgid.sh -------------------------------------------------------------------------------- /ch8/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/Makefile -------------------------------------------------------------------------------- /ch8/assignments_ch8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/assignments_ch8.txt -------------------------------------------------------------------------------- /ch8/hello_pause.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/hello_pause.c -------------------------------------------------------------------------------- /ch8/query_pcap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/query_pcap.c -------------------------------------------------------------------------------- /ch8/set_pcap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/set_pcap.c -------------------------------------------------------------------------------- /ch8/show_caps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch8/show_caps.sh -------------------------------------------------------------------------------- /ch9/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/Makefile -------------------------------------------------------------------------------- /ch9/assignments_ch9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/assignments_ch9.txt -------------------------------------------------------------------------------- /ch9/execl_eg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/execl_eg.c -------------------------------------------------------------------------------- /ch9/pdfrdr_exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/pdfrdr_exec.c -------------------------------------------------------------------------------- /ch9/predcs_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/predcs_name.c -------------------------------------------------------------------------------- /ch9/successor_setnm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/ch9/successor_setnm.c -------------------------------------------------------------------------------- /common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/common.c -------------------------------------------------------------------------------- /common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/common.h -------------------------------------------------------------------------------- /misc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/misc/Makefile -------------------------------------------------------------------------------- /misc/simple_feature_test_macros.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/misc/simple_feature_test_macros.c -------------------------------------------------------------------------------- /solutions_to_assgn/A_fileio/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/A_fileio/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/A_fileio/redirct2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/A_fileio/redirct2.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch1/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch1/ch1_solutions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch1/ch1_solutions.txt -------------------------------------------------------------------------------- /solutions_to_assgn/ch1/getreg_cr2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch1/getreg_cr2.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/cleanup.sh -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/fork2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/fork2c.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/forkbomb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/forkbomb.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/pdf_rdr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/pdf_rdr.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/smallbomb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/smallbomb.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch10/zombie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch10/zombie.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch11/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch11/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch11/atomic_A.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch11/atomic_A.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch11/atomic_B.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch11/atomic_B.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch11/donthup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch11/donthup.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/bombard_sig.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/bombard_sig.sh -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/killer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/killer.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/murder.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/murder.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/segv_altstack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/segv_altstack.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch12/sigtmwtinfo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch12/sigtmwtinfo.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch13/3intv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch13/3intv.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch13/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch13/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/ans_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/ans_1.txt -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/named_threads.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/named_threads.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/pthreads_joiner3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/pthreads_joiner3.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/pthreads_joiner4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/pthreads_joiner4.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/pthreads_joiner_BUGGY_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/pthreads_joiner_BUGGY_3.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch14/see_tid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch14/see_tid.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch15/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch15/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch15/bankacc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch15/bankacc.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch16/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch16/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch16/mt_primes1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch16/mt_primes1.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch16/mt_primes2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch16/mt_primes2.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch17/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch17/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch17/assgn2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch17/assgn2.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch18/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch18/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch18/mt_copy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch18/mt_copy.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch3/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch3/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch3/segflt_nocore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch3/segflt_nocore.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch4/memprot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch4/memprot.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch5/qa1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch5/qa1.txt -------------------------------------------------------------------------------- /solutions_to_assgn/ch5/qa2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch5/qa2.txt -------------------------------------------------------------------------------- /solutions_to_assgn/ch7/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch7/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch7/query_creds.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch7/query_creds.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch8/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch8/Makefile -------------------------------------------------------------------------------- /solutions_to_assgn/ch8/assgn1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch8/assgn1.c -------------------------------------------------------------------------------- /solutions_to_assgn/ch9/exec_pid_poc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-on-System-Programming-with-Linux/HEAD/solutions_to_assgn/ch9/exec_pid_poc.c --------------------------------------------------------------------------------