<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/linux-pam-git.git, branch ldv/SCONFIGDIR</title>
<subtitle>github.com: linux-pam/linux-pam.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/'/>
<entry>
<title>pam_limits: use VENDOR_SCONFIGDIR macro</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=bf6db771b299535932ec7679a420aa9ad773a51c'/>
<id>bf6db771b299535932ec7679a420aa9ad773a51c</id>
<content type='text'>
* modules/pam_limits/pam_limits.c (parse_config_file): Use
VENDOR_SCONFIGDIR macro instead of VENDORDIR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* modules/pam_limits/pam_limits.c (parse_config_file): Use
VENDOR_SCONFIGDIR macro instead of VENDORDIR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce VENDOR_SCONFIGDIR macro</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=8595eacd9b5c0d8ce933e58bff95127159d5babd'/>
<id>8595eacd9b5c0d8ce933e58bff95127159d5babd</id>
<content type='text'>
This is a VENDORDIR version of SCONFIGDIR macro, defined to
VENDORDIR"/security" when --enable-vendordir is used for build.

* configure.ac (AC_DEFINE_UNQUOTED): Add VENDOR_SCONFIGDIR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a VENDORDIR version of SCONFIGDIR macro, defined to
VENDORDIR"/security" when --enable-vendordir is used for build.

* configure.ac (AC_DEFINE_UNQUOTED): Add VENDOR_SCONFIGDIR.
</pre>
</div>
</content>
</entry>
<entry>
<title>modules: move SCONFIGDIR-based macro definitions from Makefile.am to the source code</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=5b94cc43524ac11b1c2b0370bdaba534358f8fa8'/>
<id>5b94cc43524ac11b1c2b0370bdaba534358f8fa8</id>
<content type='text'>
Since SCONFIGDIR macro is available, the is no need to define macros
based on SCONFIGDIR in Makefile.am files.

* modules/pam_access/Makefile.am (AM_CFLAGS): Move definitions of
PAM_ACCESS_CONFIG and ACCESS_CONF_GLOB macros ...
* modules/pam_access/pam_access.c: ... here.
* modules/pam_env/Makefile.am (AM_CFLAGS): Move definition of
DEFAULT_CONF_FILE macro ...
* modules/pam_env/pam_env.c: ... here.
* modules/pam_group/Makefile.am (AM_CFLAGS): Move definition of
PAM_GROUP_CONF macro ...
* modules/pam_group/pam_group.c: ... here.
* modules/pam_limits/Makefile.am (AM_CFLAGS): Move definition of
LIMITS_FILE macro ...
* modules/pam_limits/pam_limits.c: ... here.
* modules/pam_sepermit/Makefile.am (AM_CFLAGS): Move definition of
SEPERMIT_CONF_FILE macro ...
* modules/pam_sepermit/pam_sepermit.c: ... here.
* modules/pam_time/Makefile.am (AM_CFLAGS): Move definition of
PAM_TIME_CONF macro ...
* modules/pam_time/pam_time.c: ... here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since SCONFIGDIR macro is available, the is no need to define macros
based on SCONFIGDIR in Makefile.am files.

* modules/pam_access/Makefile.am (AM_CFLAGS): Move definitions of
PAM_ACCESS_CONFIG and ACCESS_CONF_GLOB macros ...
* modules/pam_access/pam_access.c: ... here.
* modules/pam_env/Makefile.am (AM_CFLAGS): Move definition of
DEFAULT_CONF_FILE macro ...
* modules/pam_env/pam_env.c: ... here.
* modules/pam_group/Makefile.am (AM_CFLAGS): Move definition of
PAM_GROUP_CONF macro ...
* modules/pam_group/pam_group.c: ... here.
* modules/pam_limits/Makefile.am (AM_CFLAGS): Move definition of
LIMITS_FILE macro ...
* modules/pam_limits/pam_limits.c: ... here.
* modules/pam_sepermit/Makefile.am (AM_CFLAGS): Move definition of
SEPERMIT_CONF_FILE macro ...
* modules/pam_sepermit/pam_sepermit.c: ... here.
* modules/pam_time/Makefile.am (AM_CFLAGS): Move definition of
PAM_TIME_CONF macro ...
* modules/pam_time/pam_time.c: ... here.
</pre>
</div>
</content>
</entry>
<entry>
<title>pam_limits: make LIMITS_FILE_DIR macro consistent</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=f9ef347178123befd0bdfc2c101e7b78b04dea03'/>
<id>f9ef347178123befd0bdfc2c101e7b78b04dea03</id>
<content type='text'>
LIMITS_FILE_DIR used to define a glob pattern instead of a directory
name, fix that inconsistency.

* modules/pam_limits/Makefile.am (AM_CFLAGS): Move "/*.conf" ending of
LIMITS_FILE_DIR macro ...
* modules/pam_limits/pam_limits.c (LIMITS_CONF_GLOB): ... here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LIMITS_FILE_DIR used to define a glob pattern instead of a directory
name, fix that inconsistency.

* modules/pam_limits/Makefile.am (AM_CFLAGS): Move "/*.conf" ending of
LIMITS_FILE_DIR macro ...
* modules/pam_limits/pam_limits.c (LIMITS_CONF_GLOB): ... here.
</pre>
</div>
</content>
</entry>
<entry>
<title>modules: use SCONFIGDIR macro</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=a8f47240246fb5a4e7c78dc78a9b6fa7bf240da3'/>
<id>a8f47240246fb5a4e7c78dc78a9b6fa7bf240da3</id>
<content type='text'>
Use SCONFIGDIR macro instead of open-coding "/etc/security",
the latter is not correct when configured using --enable-sconfigdir
with an argument different from /etc/security.

* modules/pam_faillock/faillock.h (FAILLOCK_DEFAULT_CONF): Use
SCONFIGDIR.
* modules/pam_namespace/pam_namespace.h (SECURECONF_DIR): Remove.
(PAM_NAMESPACE_CONFIG, NAMESPACE_INIT_SCRIPT, NAMESPACE_D_DIR,
NAMESPACE_D_GLOB): Use SCONFIGDIR.
* modules/pam_namespace/Makefile.am (AM_CFLAGS): Remove
-DSECURECONF_DIR.
* modules/pam_pwhistory/opasswd.c (OLD_PASSWORDS_FILE): Use SCONFIGDIR.
* modules/pam_unix/passverify.h: Likewise.
* modules/pam_unix/passverify.c (OPW_TMPFILE): Use SCONFIGDIR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use SCONFIGDIR macro instead of open-coding "/etc/security",
the latter is not correct when configured using --enable-sconfigdir
with an argument different from /etc/security.

* modules/pam_faillock/faillock.h (FAILLOCK_DEFAULT_CONF): Use
SCONFIGDIR.
* modules/pam_namespace/pam_namespace.h (SECURECONF_DIR): Remove.
(PAM_NAMESPACE_CONFIG, NAMESPACE_INIT_SCRIPT, NAMESPACE_D_DIR,
NAMESPACE_D_GLOB): Use SCONFIGDIR.
* modules/pam_namespace/Makefile.am (AM_CFLAGS): Remove
-DSECURECONF_DIR.
* modules/pam_pwhistory/opasswd.c (OLD_PASSWORDS_FILE): Use SCONFIGDIR.
* modules/pam_unix/passverify.h: Likewise.
* modules/pam_unix/passverify.c (OPW_TMPFILE): Use SCONFIGDIR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce SCONFIGDIR macro</title>
<updated>2022-01-23T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-23T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=ddc943c6cb42257b0dcba20e6baea4ff370a727c'/>
<id>ddc943c6cb42257b0dcba20e6baea4ff370a727c</id>
<content type='text'>
Follow the VENDORDIR example and introduce a macro defined to the
argument of --enable-sconfigdir option.  Unlike --enable-vendordir,
--enable-sconfigdir has a default value, so when --enable-sconfigdir
is not used for build, SCONFIGDIR will be defined to that default value.

* configure.ac (AC_DEFINE_UNQUOTED): Add SCONFIGDIR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow the VENDORDIR example and introduce a macro defined to the
argument of --enable-sconfigdir option.  Unlike --enable-vendordir,
--enable-sconfigdir has a default value, so when --enable-sconfigdir
is not used for build, SCONFIGDIR will be defined to that default value.

* configure.ac (AC_DEFINE_UNQUOTED): Add SCONFIGDIR.
</pre>
</div>
</content>
</entry>
<entry>
<title>pam_sepermit: fix conf= option support</title>
<updated>2022-01-22T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-22T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=f43cfa1a97776ba995437800b75e9dc77ef82349'/>
<id>f43cfa1a97776ba995437800b75e9dc77ef82349</id>
<content type='text'>
The parser of conf= option failed to recognize the option unless
it was specified without an argument, making it useless.

* modules/pam_sepermit/pam_sepermit.c: Include "pam_inline.h".
(pam_sm_authenticate): Fix parsing of conf= option.
* modules/pam_sepermit/tst-pam_sepermit-retval.c: Check conf= option.

Co-authored-by: Stefan Schubert &lt;schubi@suse.de&gt;
Resolves: https://github.com/linux-pam/linux-pam/pull/429
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parser of conf= option failed to recognize the option unless
it was specified without an argument, making it useless.

* modules/pam_sepermit/pam_sepermit.c: Include "pam_inline.h".
(pam_sm_authenticate): Fix parsing of conf= option.
* modules/pam_sepermit/tst-pam_sepermit-retval.c: Check conf= option.

Co-authored-by: Stefan Schubert &lt;schubi@suse.de&gt;
Resolves: https://github.com/linux-pam/linux-pam/pull/429
</pre>
</div>
</content>
</entry>
<entry>
<title>pam_sepermit: add a basic test for return values</title>
<updated>2022-01-22T08:00:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2022-01-22T08:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=950d043edf4cf07c5a43e95d930bc0e3ddce875b'/>
<id>950d043edf4cf07c5a43e95d930bc0e3ddce875b</id>
<content type='text'>
* modules/pam_sepermit/tst-pam_sepermit-retval.c: New file.
* modules/pam_sepermit/Makefile.am (TESTS): Add $(check_PROGRAMS).
(check_PROGRAMS, tst_pam_sepermit_retval_LDADD): New variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* modules/pam_sepermit/tst-pam_sepermit-retval.c: New file.
* modules/pam_sepermit/Makefile.am (TESTS): Add $(check_PROGRAMS).
(check_PROGRAMS, tst_pam_sepermit_retval_LDADD): New variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update xsh.c</title>
<updated>2022-01-18T10:17:55+00:00</updated>
<author>
<name>liaohanqin</name>
<email>liaohanqin@gmail.com</email>
</author>
<published>2022-01-18T09:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=082e0146898c8083a2bd8101a28d9f93cff9df4d'/>
<id>082e0146898c8083a2bd8101a28d9f93cff9df4d</id>
<content type='text'>
fix: typing error</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: typing error</pre>
</div>
</content>
</entry>
<entry>
<title>Add a conversation function example</title>
<updated>2022-01-14T16:23:33+00:00</updated>
<author>
<name>planc</name>
<email>hubenchang0515@outlook.com</email>
</author>
<published>2021-12-27T05:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/linux-pam-git.git/commit/?id=3102dd822db3e613308c05fca554ced5e81c181d'/>
<id>3102dd822db3e613308c05fca554ced5e81c181d</id>
<content type='text'>
* examples/Makefile.am: Add tty_conv to noinst_PROGRAMS
* examples/tty_conv.c: A new example of conversation function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* examples/Makefile.am: Add tty_conv to noinst_PROGRAMS
* examples/tty_conv.c: A new example of conversation function.
</pre>
</div>
</content>
</entry>
</feed>
