<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openrc.git/src/librc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.vlhl.dev/navi/openrc.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/openrc.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/'/>
<updated>2023-10-19T11:15:17+00:00</updated>
<entry>
<title>testing RC_RUNTIME_DIR</title>
<updated>2023-10-19T11:15:17+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-10-19T11:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=ad6fd5c8c6c95bcefaaf8abb31a39b4b88587982'/>
<id>urn:sha1:ad6fd5c8c6c95bcefaaf8abb31a39b4b88587982</id>
<content type='text'>
Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc.c: fix potential infinite loop in recusive_mkdir</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-20T20:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=a0aa59b9a09ef4688510d345092f6c5292046cfc'/>
<id>urn:sha1:a0aa59b9a09ef4688510d345092f6c5292046cfc</id>
<content type='text'>
Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc: disallow running --user without XDG_RUNTIME_DIR set</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-20T11:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=a3ef36da3e2ba471a17f8c6291d171c047f66cbf'/>
<id>urn:sha1:a3ef36da3e2ba471a17f8c6291d171c047f66cbf</id>
<content type='text'>
since openrc-pam now sets XDG_RUNTIME_DIR in case it's unset, we can
expect it to exist.

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>openrc-pam: add loading user environment.</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-20T02:40:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=a97960623375078954cf551237fcf26be617bcbe'/>
<id>urn:sha1:a97960623375078954cf551237fcf26be617bcbe</id>
<content type='text'>
openrc-pam now sets XDG_RUNTIME_DIR in case it's unset.
after running openrc --user, it'll look at ${XDG_RUNTIME_DIR}/openrc/env
for exported variables by services, and only set those allowed by
RC_USER_ENV_WHITELIST and RC_USER_ENV_WHITELIST_D.

this is to protect pam from variables being set under user control that
could mess with other modules.

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>openrc-run: in user mode, change to homedir instead of /</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-15T21:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=95e77e9a0bac0827e8b8efdb9565063566d22587'/>
<id>urn:sha1:95e77e9a0bac0827e8b8efdb9565063566d22587</id>
<content type='text'>
Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc: introduce recursive_mkdir()</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-15T12:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=b7caeb07a5f6e9adae326c51367cd522a05fbdac'/>
<id>urn:sha1:b7caeb07a5f6e9adae326c51367cd522a05fbdac</id>
<content type='text'>
creates all the directories in a give path. only the last directory in
the path return -1 to EEXIST. any other error is always returned.

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc: disallow user scripts as root</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-13T11:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=e60d770734170e77ac2d3afd940b2ab06e48e3f5'/>
<id>urn:sha1:e60d770734170e77ac2d3afd940b2ab06e48e3f5</id>
<content type='text'>
Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc: add paths to errorx mkdir calls</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-13T11:09:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=3538d3bd1b0f979aa607fa3b0eecfd3e5dd893ae'/>
<id>urn:sha1:3538d3bd1b0f979aa607fa3b0eecfd3e5dd893ae</id>
<content type='text'>
Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>openrc: rework pathing functions</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-06-09T23:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=5a1cd9545164d978ded996ac6d673fd6d480a2fe'/>
<id>urn:sha1:5a1cd9545164d978ded996ac6d673fd6d480a2fe</id>
<content type='text'>
this simplifies the allocation of path string. also fixes some memory
leaks from the ealier commit

also changes the log path for users to XDG_CACHE_HOME, default
~/.cache/openrc

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
<entry>
<title>librc: Move sysconf dir to ~/.config/openrc/...</title>
<updated>2023-10-19T08:56:54+00:00</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2023-03-21T23:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/openrc.git/commit/?id=8bb28cb0279f5cd93c0acbf36aa3f8ab3c01d6b1'/>
<id>urn:sha1:8bb28cb0279f5cd93c0acbf36aa3f8ab3c01d6b1</id>
<content type='text'>
Also add ~/.local/share/openrc for data files (like logs)

This is done to help avoid name conflictions for anything else that
might create/user files in .config/

Signed-off-by: Anna (navi) Figueiredo Gomes &lt;navi@vlhl.dev&gt;
</content>
</entry>
</feed>
