From a1705d0337fd955cd248ab4022d464ccb09d852b Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Wed, 20 Aug 2025 05:52:59 +0200 Subject: [PATCH] Add libsigsegv --- chapter03/packages.xml | 9 +++ chapter08/chapter08.xml | 1 + chapter08/libsigsegv.xml | 130 +++++++++++++++++++++++++++++++++++++++ packages.ent | 8 +++ 4 files changed, 148 insertions(+) create mode 100644 chapter08/libsigsegv.xml diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 3251d3239..42fda37fb 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -448,6 +448,15 @@ + + Libsigsegv (&libsigsegv-version;) - &libsigsegv-size;: + + Home page: + Download: + MD5 sum: &libsigsegv-md5; + + + Libtool (&libtool-version;) - &libtool-size;: diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index e50ecea85..cf274d26b 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -23,6 +23,7 @@ + diff --git a/chapter08/libsigsegv.xml b/chapter08/libsigsegv.xml new file mode 100644 index 000000000..102e6c270 --- /dev/null +++ b/chapter08/libsigsegv.xml @@ -0,0 +1,130 @@ + + + %general-entities; +]> + + + + + + libsigsegv + &libsigsegv-version; +
&libsigsegv-url;
+
+ + libsigsegv-&libsigsegv-version; + + + libsigsegv + + + + + + <para> + libsigsegv is a library for handling page faults in user mode. A page fault + occurs when a program tries to access to a region of memory that is + currently not available. Catching and handling a page fault is a useful + technique for implementing pageable virtual memory, memory-mapped access + to persistent databases, generational garbage collectors, stack overflow + handlers, and distributed shared memory. + </para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&libsigsegv-fin-sbu;</seg> + <seg>&libsigsegv-fin-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of libsigsegv + + + Prepare libsigsegv for compilation: + + +./configure --prefix=/usr \ + --enable-shared \ + --disable-static + + + The meaning of the configure parameters: + + + --enable-shared + + This switch ensures that shared + libraries are compiled. + + + + + Compile the package: + +make + + + To test the results, issue: + + +make check + + + Now, as the root user: + + +make install + + + + + Contents of libsigsegv + + + Installed Program + Installed Library + Installed Directory + + + + None + + + libsigsegv.so + + + None + + + + + + Short Descriptions + + + + + libsigsegv.so + + + is a library for handling page faults in user mode + + + libsigsegv.so + + + + + + + + +
diff --git a/packages.ent b/packages.ent index 53840b88a..c78f221a2 100644 --- a/packages.ent +++ b/packages.ent @@ -415,6 +415,14 @@ + + + + + + + +