diff options
author | Kai Kang <kai.kang@windriver.com> | 2013-04-17 17:00:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-17 11:41:33 +0100 |
commit | c54159d95c87c062bab35dc55b4ada2ba9e06775 (patch) | |
tree | aeb7a76ec75ddebd2ce7411f92568969d44583ee /meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch | |
parent | 6b3ff86b9bbebb15576f537edd78381100ccdc3f (diff) | |
download | poky-c54159d95c87c062bab35dc55b4ada2ba9e06775.tar.gz |
libpam: backport patches from upstream
Backport patches from linux-pam git repo to fix test case
tst-pam_pwhistory1 failure.
[YOCTO #4107]
(From OE-Core rev: 65e4a9f050ae588ec794808315a206d94ca7a861)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch')
-rw-r--r-- | meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch b/meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch new file mode 100644 index 0000000000..c13535ecc2 --- /dev/null +++ b/meta/recipes-extended/pam/libpam/reflect-the-enforce_for_root-semantics-change-in-pam.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Backport from linux-pam git repo. | ||
2 | |||
3 | [YOCTO #4107] | ||
4 | |||
5 | Upstream-Status: Backport | ||
6 | |||
7 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
8 | |||
9 | From bd07ad3adc626f842a4391d256541883426fd389 Mon Sep 17 00:00:00 2001 | ||
10 | From: Tomas Mraz <tmraz@fedoraproject.org> | ||
11 | Date: Tue, 13 Nov 2012 09:19:05 +0100 | ||
12 | Subject: [PATCH] Reflect the enforce_for_root semantics change in | ||
13 | pam_pwhistory xtest. | ||
14 | |||
15 | xtests/tst-pam_pwhistory1.pamd: Use enforce_for_root as the test is | ||
16 | running with real uid == 0. | ||
17 | --- | ||
18 | xtests/tst-pam_pwhistory1.pamd | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/xtests/tst-pam_pwhistory1.pamd b/xtests/tst-pam_pwhistory1.pamd | ||
22 | index 68e1b94..d60db7c 100644 | ||
23 | --- a/xtests/tst-pam_pwhistory1.pamd | ||
24 | +++ b/xtests/tst-pam_pwhistory1.pamd | ||
25 | @@ -1,6 +1,6 @@ | ||
26 | #%PAM-1.0 | ||
27 | auth required pam_permit.so | ||
28 | account required pam_permit.so | ||
29 | -password required pam_pwhistory.so remember=10 retry=1 | ||
30 | +password required pam_pwhistory.so remember=10 retry=1 enforce_for_root | ||
31 | password required pam_unix.so use_authtok md5 | ||
32 | session required pam_permit.so | ||
33 | -- | ||
34 | 1.7.11.7 | ||
35 | |||