diff options
Diffstat (limited to 'meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch')
-rw-r--r-- | meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch deleted file mode 100644 index ab317b9aa0..0000000000 --- a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch +++ /dev/null | |||
@@ -1,123 +0,0 @@ | |||
1 | From fa2d9453656641002802d8165e80adb9e6a729d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Garman <scott.a.garman@intel.com> | ||
3 | Date: Thu, 14 Apr 2016 12:28:57 +0200 | ||
4 | Subject: [PATCH] Disable use of syslog for sysroot | ||
5 | |||
6 | Disable use of syslog to prevent sysroot user and group additions from | ||
7 | writing entries to the host's syslog. This patch should only be used | ||
8 | with the shadow-native recipe. | ||
9 | |||
10 | Upstream-Status: Inappropriate [disable feature] | ||
11 | |||
12 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
13 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
14 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
15 | |||
16 | --- | ||
17 | src/groupadd.c | 3 +++ | ||
18 | src/groupdel.c | 3 +++ | ||
19 | src/groupmems.c | 3 +++ | ||
20 | src/groupmod.c | 3 +++ | ||
21 | src/useradd.c | 3 +++ | ||
22 | src/userdel.c | 3 +++ | ||
23 | src/usermod.c | 3 +++ | ||
24 | 7 files changed, 21 insertions(+) | ||
25 | |||
26 | diff --git a/src/groupadd.c b/src/groupadd.c | ||
27 | index 2dd8eec..e9c4bb7 100644 | ||
28 | --- a/src/groupadd.c | ||
29 | +++ b/src/groupadd.c | ||
30 | @@ -34,6 +34,9 @@ | ||
31 | |||
32 | #ident "$Id$" | ||
33 | |||
34 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
35 | +#undef USE_SYSLOG | ||
36 | + | ||
37 | #include <ctype.h> | ||
38 | #include <fcntl.h> | ||
39 | #include <getopt.h> | ||
40 | diff --git a/src/groupdel.c b/src/groupdel.c | ||
41 | index f941a84..5a70056 100644 | ||
42 | --- a/src/groupdel.c | ||
43 | +++ b/src/groupdel.c | ||
44 | @@ -34,6 +34,9 @@ | ||
45 | |||
46 | #ident "$Id$" | ||
47 | |||
48 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
49 | +#undef USE_SYSLOG | ||
50 | + | ||
51 | #include <ctype.h> | ||
52 | #include <fcntl.h> | ||
53 | #include <grp.h> | ||
54 | diff --git a/src/groupmems.c b/src/groupmems.c | ||
55 | index fc91c8b..2842514 100644 | ||
56 | --- a/src/groupmems.c | ||
57 | +++ b/src/groupmems.c | ||
58 | @@ -32,6 +32,9 @@ | ||
59 | |||
60 | #include <config.h> | ||
61 | |||
62 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
63 | +#undef USE_SYSLOG | ||
64 | + | ||
65 | #include <fcntl.h> | ||
66 | #include <getopt.h> | ||
67 | #include <grp.h> | ||
68 | diff --git a/src/groupmod.c b/src/groupmod.c | ||
69 | index 1dca5fc..bc14438 100644 | ||
70 | --- a/src/groupmod.c | ||
71 | +++ b/src/groupmod.c | ||
72 | @@ -34,6 +34,9 @@ | ||
73 | |||
74 | #ident "$Id$" | ||
75 | |||
76 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
77 | +#undef USE_SYSLOG | ||
78 | + | ||
79 | #include <ctype.h> | ||
80 | #include <fcntl.h> | ||
81 | #include <getopt.h> | ||
82 | diff --git a/src/useradd.c b/src/useradd.c | ||
83 | index 4af0f7c..1b7bf06 100644 | ||
84 | --- a/src/useradd.c | ||
85 | +++ b/src/useradd.c | ||
86 | @@ -34,6 +34,9 @@ | ||
87 | |||
88 | #ident "$Id$" | ||
89 | |||
90 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
91 | +#undef USE_SYSLOG | ||
92 | + | ||
93 | #include <assert.h> | ||
94 | #include <ctype.h> | ||
95 | #include <errno.h> | ||
96 | diff --git a/src/userdel.c b/src/userdel.c | ||
97 | index cc951e5..153e0be 100644 | ||
98 | --- a/src/userdel.c | ||
99 | +++ b/src/userdel.c | ||
100 | @@ -34,6 +34,9 @@ | ||
101 | |||
102 | #ident "$Id$" | ||
103 | |||
104 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
105 | +#undef USE_SYSLOG | ||
106 | + | ||
107 | #include <assert.h> | ||
108 | #include <errno.h> | ||
109 | #include <fcntl.h> | ||
110 | diff --git a/src/usermod.c b/src/usermod.c | ||
111 | index 05b9871..21c6da9 100644 | ||
112 | --- a/src/usermod.c | ||
113 | +++ b/src/usermod.c | ||
114 | @@ -34,6 +34,9 @@ | ||
115 | |||
116 | #ident "$Id$" | ||
117 | |||
118 | +/* Disable use of syslog since we're running this command against a sysroot */ | ||
119 | +#undef USE_SYSLOG | ||
120 | + | ||
121 | #include <assert.h> | ||
122 | #include <ctype.h> | ||
123 | #include <errno.h> | ||