[PATCH] PAM: Fix problem with missing declaration
by Lukas Slebodnik
ehlo,
The functions strdup and strncmp are used in pam_test_client,
but header file string.h was not included directly in this file.
The header file string.h was indirectly included by the header file
security/pam_client.h.
sh-4.2$ nm --undefined-only ./pam_test_client | grep -E "strdup|strncmp"
U __strdup@(a)GLIBC_2.2.5
U strncmp@(a)GLIBC_2.2.5
patch is attached.
LS
9 years, 10 months
[PATCH] CRYPTO: Use unprefixed version of function stpncpy
by Lukas Slebodnik
ehlo,
glibc contains two versions of finction stpncpy
sh-4.2$ nm --dynamic --defined-only /lib64/libc.so.6 | grep stpncpy
0000003ce1c89b00 i stpncpy
0000003ce1c89b00 i __stpncpy
0000003ce1d040a0 T __stpncpy_chk
We should use more portable version of stpncpy without prefix with underscores.
The function __stpncpy was used in initial veersion
e65c65fc710fa030bfb8319efc43fcdc9ce5a26f, which was based on
http://people.redhat.com/drepper/SHA-crypt.txt
patch is simple replacement "s/__stpncpy/stpncpy/"
LS
9 years, 10 months
[PATCH] SBUS: Fix warning declaration shadows a global declaration
by Lukas Slebodnik
ehlo,
While I was testing some patches on epl6 I found a new warning.
src/sbus/sssd_dbus_meta.c: In function 'sbus_meta_find_signal':
src/sbus/sssd_dbus_meta.c:43: warning: declaration of 'signal' shadows a global
declaration
/usr/include/signal.h:101: warning: shadowed declaration is here
patch is attached
LS
9 years, 10 months
[PATCH] IFP: Add a GetGroupsList method
by Jakub Hrozek
Hi,
the attached two patches add a GetGroupsList method that adelton's
mod_lookup_identity uses.
The first patch is a one-liner that I don't think harms the current
sysdb_initgroups() users in any way, also all the sysdb tests pass.
The second patch adds the new method.
9 years, 10 months
[PATCH] IFP: Per-attribute ACL for users
by Jakub Hrozek
This patch depends on all the GetUserAttr patches.
Introduces a new option called user_attributes that allows to specify
which user attributes are allowed to be queried from the IFP responder.
By default only the default POSIX set is allowed, this option allows to
either add other attributes (+attrname) or remove them from the default
set (-attrname).
9 years, 10 months