<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openrc.git/src/checkpath, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.vlhl.dev/navi/openrc/openrc.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/openrc/openrc.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/'/>
<updated>2023-01-29T17:32:22+00:00</updated>
<entry>
<title>checkpath: missing includes from IWYU</title>
<updated>2023-01-29T17:32:22+00:00</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2023-01-29T04:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=c80d6bb2ed3538f4c329607f5e2e9504d56aac9c'/>
<id>urn:sha1:c80d6bb2ed3538f4c329607f5e2e9504d56aac9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>checkpath: add missing sticky/set*id mode bits to check</title>
<updated>2023-01-15T20:31:25+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2023-01-15T20:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=6f444459586b5012717f37a3e51024b3abb224ec'/>
<id>urn:sha1:6f444459586b5012717f37a3e51024b3abb224ec</id>
<content type='text'>
We incorrectly masked out the upper 3 bits when checking to see if the
permissions need updating leading us to run chmod when not needed.

Fixes #482.
</content>
</entry>
<entry>
<title>checkpath: fix initial dirfd opening</title>
<updated>2023-01-15T20:17:18+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2023-01-15T20:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=b778c72f81b8c23676b367807e2baa18bfef0747'/>
<id>urn:sha1:b778c72f81b8c23676b367807e2baa18bfef0747</id>
<content type='text'>
dirfd is uninitialized at this point, and even if it were, it doesn't
make sense to use since the path is "/" -- the dirfd is ignored when
the path is absolute.  Switch to AT_FDCWD to avoid all that.
</content>
</entry>
<entry>
<title>checkpath: fix memory leak</title>
<updated>2022-05-08T19:56:26+00:00</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2022-03-29T08:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=e82baa17ca49b8dac03579fe71d28a7cdc95e955'/>
<id>urn:sha1:e82baa17ca49b8dac03579fe71d28a7cdc95e955</id>
<content type='text'>
```
=================================================================
==22862==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 4096 byte(s) in 1 object(s) allocated from:
    #0 0x7f1fd5b12cb7 in __interceptor_malloc /usr/src/debug/sys-devel/gcc-11.2.1_p20220312/gcc-11-20220312/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x55556abecea7 in xmalloc ../src/includes/helpers.h:64
    #2 0x55556abecea7 in xasprintf ../src/includes/helpers.h:149
    #3 0x55556abeb6fb in do_check ../src/rc/checkpath.c:206
    #4 0x55556abeb6fb in main ../src/rc/checkpath.c:443
    #5 0x7f1fd58576cf in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

SUMMARY: AddressSanitizer: 4096 byte(s) leaked in 1 allocation(s).
```

Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>checkpath: fix memory leak</title>
<updated>2022-05-08T19:56:26+00:00</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2022-03-29T08:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=adc1e33f7e673d90b2ce169a3da337c6c22b6518'/>
<id>urn:sha1:adc1e33f7e673d90b2ce169a3da337c6c22b6518</id>
<content type='text'>
```
Direct leak of 4 byte(s) in 1 object(s) allocated from:
    #0 0x7f49539534a7 in __interceptor_strdup /usr/src/debug/sys-devel/gcc-11.2.1_p20220312/gcc-11-20220312/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x55d76fa66867 in xstrdup ../src/includes/helpers.h:91
    #2 0x55d76fa66867 in get_dirfd ../src/rc/checkpath.c:111
    #3 0x55d76fa66867 in do_check ../src/rc/checkpath.c:206
    #4 0x55d76fa66867 in main ../src/rc/checkpath.c:442
    #5 0x7f49536f06cf in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
```

Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>multiple spelling and typo fixes</title>
<updated>2022-05-01T02:32:32+00:00</updated>
<author>
<name>Josh Soref</name>
<email>jsoref@users.noreply.github.com</email>
</author>
<published>2022-04-15T15:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=3054046e18332ca1bf9b901f69b02f21bb91c098'/>
<id>urn:sha1:3054046e18332ca1bf9b901f69b02f21bb91c098</id>
<content type='text'>
This fixes #516.
</content>
</entry>
<entry>
<title>migrate fully to meson build system</title>
<updated>2022-04-06T15:51:55+00:00</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2022-04-06T15:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc/openrc.git/commit/?id=391d12db48754861b5cecac92ee3321597ee02c1'/>
<id>urn:sha1:391d12db48754861b5cecac92ee3321597ee02c1</id>
<content type='text'>
- drop old build system
- move shared include and source files to common directory
- drop "rc-" prefix from shared include and source files
- move executable-specific code to individual directories under src
- adjust top-level .gitignore file for new build system

This closes #489.
</content>
</entry>
</feed>
