<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/unpack, branch v0.5</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.5</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.5'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-07-25T21:22:50+00:00</updated>
<entry>
<title>Add assertion around canonicalize_name in rdsquashfs</title>
<updated>2019-07-25T21:22:50+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T21:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b0ed8c9a3ee74ff2ab428beaf42819d1d0974215'/>
<id>urn:sha1:b0ed8c9a3ee74ff2ab428beaf42819d1d0974215</id>
<content type='text'>
The names generated by fstree are always in the correct format, but this
is still needed for the sake of documentation and to guide static
analysis tools.

Should canonicalize_name fail on an fstree generated name, something is
serverly broken.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Terminate the unpacker child processes if the main process exits</title>
<updated>2019-07-25T20:30:19+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T20:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=75dea27979f0d219eed9c6afc3a721f592f7ca2a'/>
<id>urn:sha1:75dea27979f0d219eed9c6afc3a721f592f7ca2a</id>
<content type='text'>
Should the main process exit (e.g. the user presses CTRL+C) or explcitily
sends it a signal, the desired behaviour is for the children to stop
unpacking and exit.

This commit adds a line to configure the kernel to send SIGKILL to the
children if their parent dies.

The same option also exists on various BSDs (not all of them) but with a
different name which has to be checked for and adjusted should the program
be required to run on one of those.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement simple, fork() based parallel unpacking in rdsquashfs</title>
<updated>2019-07-25T20:10:24+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T12:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7c5cd1e104f23ec7d9c23086993630f398e2d8e0'/>
<id>urn:sha1:7c5cd1e104f23ec7d9c23086993630f398e2d8e0</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>rdsquashfs: seperate creating of the hierarchy, unpacking and chmod/chown</title>
<updated>2019-07-25T20:10:24+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-23T14:46:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2fcf04928a0eaf7332503753a4866a0f2031a50e'/>
<id>urn:sha1:2fcf04928a0eaf7332503753a4866a0f2031a50e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove unneccessary conditionals from automake files</title>
<updated>2019-07-25T20:07:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T20:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8cc66cf51bdbf50e3476b58106627afc7adc1300'/>
<id>urn:sha1:8cc66cf51bdbf50e3476b58106627afc7adc1300</id>
<content type='text'>
If some library isn't present, the variable $(FOO_LIBS) simply evaluates
to empty string, so it can be simply be added to LDADD without any checks.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove some redundant header inclusions</title>
<updated>2019-07-25T20:01:47+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T20:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0ad74489aee8717d13b76a3cdf2ee00f5811bf9b'/>
<id>urn:sha1:0ad74489aee8717d13b76a3cdf2ee00f5811bf9b</id>
<content type='text'>
The utility programs pretty much all have the same structure of including
one central header per C file that includes all required library headers,
so we can simply include config.h which we need for large file support
from there and remove it from the C files.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Correct copy-and-paste mistake</title>
<updated>2019-07-24T07:19:41+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T04:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=802b43c95ab4d6e44e17d6b81931e0963182c262'/>
<id>urn:sha1:802b43c95ab4d6e44e17d6b81931e0963182c262</id>
<content type='text'>
Would cause the build to fail if zstd was enable and lz4 was disabled.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Enable largefile support</title>
<updated>2019-07-24T07:16:16+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T20:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=05a30292f9d2be63af3b4c27d5ae89801da602a2'/>
<id>urn:sha1:05a30292f9d2be63af3b4c27d5ae89801da602a2</id>
<content type='text'>
Requires that config.h be included before other headers, since the macro
_FILE_OFFSET_BITS changes the definitions of things like 'struct stat'.
I chose to simply include it at the top of every C file and at
immediately after the double-inclusion guards of every header.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: move tree node from path function to libfstree.a</title>
<updated>2019-07-03T16:50:33+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-03T16:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=da7eb3445cab5936455b8a119cb656113ca3d402'/>
<id>urn:sha1:da7eb3445cab5936455b8a119cb656113ca3d402</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix null-pointer dereference in restore_unpack</title>
<updated>2019-07-01T07:15:03+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-01T07:15:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=678261844d162112cc9268e8082be580f7218525'/>
<id>urn:sha1:678261844d162112cc9268e8082be580f7218525</id>
<content type='text'>
Use a seperate variable to iterate over directory children and don't
modify n. Otherwise, the chown/chmod code below derefernces a null
pointer when trying to access n-&gt;name, n-&gt;uid and n-&gt;gid.

Bug found using scan-build.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
