diff options
Diffstat (limited to 'meta/recipes-extended/shadow/files')
3 files changed, 10 insertions, 31 deletions
diff --git a/meta/recipes-extended/shadow/files/0001-su.c-fix-to-exec-command-correctly.patch b/meta/recipes-extended/shadow/files/0001-su.c-fix-to-exec-command-correctly.patch deleted file mode 100644 index 31337de362..0000000000 --- a/meta/recipes-extended/shadow/files/0001-su.c-fix-to-exec-command-correctly.patch +++ /dev/null @@ -1,25 +0,0 @@ -Upstream-Status: Pending - -Subject: su.c: fix to exec command correctly - -Signed-off-by: Chen Qi <Qi.Chen@windriver.com> ---- - src/su.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/su.c b/src/su.c -index 3704217..bc4f2ac 100644 ---- a/src/su.c -+++ b/src/su.c -@@ -1156,7 +1156,7 @@ int main (int argc, char **argv) - * Use the shell and create an argv - * with the rest of the command line included. - */ -- argv[-1] = cp; -+ argv[-1] = shellstr; - execve_shell (shellstr, &argv[-1], environ); - err = errno; - (void) fprintf (stderr, --- -1.7.9.5 - diff --git a/meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch b/meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch index 60f2ed548a..185590cabd 100644 --- a/meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch +++ b/meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch @@ -19,9 +19,9 @@ index 1a3f841..4a4d6d0 100644 --- a/configure.in +++ b/configure.in @@ -335,16 +335,10 @@ if test "$enable_subids" != "no"; then - dnl - dnl FIXME: check if 32 bit UIDs/GIDs are supported by libc - dnl + dnl + dnl FIXME: check if 32 bit UIDs/GIDs are supported by libc + dnl - AC_RUN_IFELSE([AC_LANG_SOURCE([ -#include <sys/types.h> -int main(void) { @@ -36,6 +36,6 @@ index 1a3f841..4a4d6d0 100644 + AC_CHECK_SIZEOF([gid_t],, [#include "sys/types.h"]) + + if test "$ac_cv_sizeof_uid_t" -ge 4 && test "$ac_cv_sizeof_gid_t" -ge 4; then - AC_DEFINE(ENABLE_SUBIDS, 1, [Define to support the subordinate IDs.]) - enable_subids="yes" - else + AC_DEFINE(ENABLE_SUBIDS, 1, [Define to support the subordinate IDs.]) + enable_subids="yes" + else diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow/files/securetty index ecc246f799..2be341a216 100644 --- a/meta/recipes-extended/shadow/files/securetty +++ b/meta/recipes-extended/shadow/files/securetty @@ -45,6 +45,10 @@ ttyO1 ttyO2 ttyO3 +# Xilinx Zynq SoC +ttyPS0 +ttyPS1 + # USB dongles ttyUSB0 ttyUSB1 |