diff options
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch | 391 |
1 files changed, 0 insertions, 391 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch b/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch deleted file mode 100644 index b12bbf80b1..0000000000 --- a/meta/recipes-devtools/strace/strace-4.7/0028-Enhance-quotactl-decoding.patch +++ /dev/null | |||
@@ -1,391 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From 7943966f6cd137e44f27d56aaf21b023fb1fae63 Mon Sep 17 00:00:00 2001 | ||
4 | From: "Dmitry V. Levin" <ldv@altlinux.org> | ||
5 | Date: Fri, 26 Oct 2012 23:43:13 +0000 | ||
6 | Subject: [PATCH 28/31] Enhance quotactl decoding | ||
7 | |||
8 | * quota.c (sys_quotactl): Decode 2nd syscall argument using printpath. | ||
9 | * pathtrace.c (pathtrace_match): Add quotactl support. | ||
10 | * linux/*/syscallent.h: Add TF flag to quotactl entry. | ||
11 | --- | ||
12 | linux/aarch64/syscallent.h | 2 +- | ||
13 | linux/alpha/syscallent.h | 2 +- | ||
14 | linux/arm/syscallent.h | 2 +- | ||
15 | linux/avr32/syscallent.h | 2 +- | ||
16 | linux/bfin/syscallent.h | 2 +- | ||
17 | linux/hppa/syscallent.h | 2 +- | ||
18 | linux/i386/syscallent.h | 2 +- | ||
19 | linux/ia64/syscallent.h | 2 +- | ||
20 | linux/m68k/syscallent.h | 2 +- | ||
21 | linux/microblaze/syscallent.h | 2 +- | ||
22 | linux/mips/syscallent.h | 16 ++++++++-------- | ||
23 | linux/powerpc/syscallent.h | 2 +- | ||
24 | linux/s390/syscallent.h | 2 +- | ||
25 | linux/s390x/syscallent.h | 2 +- | ||
26 | linux/sh/syscallent.h | 2 +- | ||
27 | linux/sh64/syscallent.h | 2 +- | ||
28 | linux/sparc/syscallent.h | 2 +- | ||
29 | linux/tile/syscallent.h | 2 +- | ||
30 | linux/x32/syscallent.h | 2 +- | ||
31 | linux/x86_64/syscallent.h | 2 +- | ||
32 | pathtrace.c | 6 ++++++ | ||
33 | quota.c | 2 +- | ||
34 | 22 files changed, 34 insertions(+), 28 deletions(-) | ||
35 | |||
36 | diff --git a/linux/aarch64/syscallent.h b/linux/aarch64/syscallent.h | ||
37 | index eeda429..b712c9f 100644 | ||
38 | --- a/linux/aarch64/syscallent.h | ||
39 | +++ b/linux/aarch64/syscallent.h | ||
40 | @@ -58,7 +58,7 @@ | ||
41 | { 1, TD, sys_close, "close" }, /* 57 */ | ||
42 | { 0, 0, sys_vhangup, "vhangup" }, /* 58 */ | ||
43 | { 2, TD, sys_pipe2, "pipe2" }, /* 59 */ | ||
44 | - { 4, 0, sys_quotactl, "quotactl" }, /* 60 */ | ||
45 | + { 4, TF, sys_quotactl, "quotactl" }, /* 60 */ | ||
46 | { 3, TD, sys_getdents64, "getdents64" }, /* 61 */ | ||
47 | { 3, TD, sys_lseek, "lseek" }, /* 62 */ | ||
48 | { 3, TD, sys_read, "read" }, /* 63 */ | ||
49 | diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h | ||
50 | index aa76a43..dde7017 100644 | ||
51 | --- a/linux/alpha/syscallent.h | ||
52 | +++ b/linux/alpha/syscallent.h | ||
53 | @@ -174,7 +174,7 @@ | ||
54 | { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ | ||
55 | { 5, 0, printargs, "osf_old_killpg" }, /* 146, not implemented */ | ||
56 | { 0, 0, sys_setsid, "setsid" }, /* 147 */ | ||
57 | - { 4, 0, sys_quotactl, "quotactl" }, /* 148 */ | ||
58 | + { 4, TF, sys_quotactl, "quotactl" }, /* 148 */ | ||
59 | { 5, 0, printargs, "osf_oldquota" }, /* 149, not implemented */ | ||
60 | { 3, TN, sys_getsockname, "getsockname" }, /* 150 */ | ||
61 | { 5, 0, NULL, NULL }, /* 151 */ | ||
62 | diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h | ||
63 | index 9b8da02..123b910 100644 | ||
64 | --- a/linux/arm/syscallent.h | ||
65 | +++ b/linux/arm/syscallent.h | ||
66 | @@ -157,7 +157,7 @@ | ||
67 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
68 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
69 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
70 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
71 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
72 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
73 | { 1, 0, sys_fchdir, "fchdir" }, /* 133 */ | ||
74 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
75 | diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h | ||
76 | index 6076fca..b215cc1 100644 | ||
77 | --- a/linux/avr32/syscallent.h | ||
78 | +++ b/linux/avr32/syscallent.h | ||
79 | @@ -142,7 +142,7 @@ | ||
80 | { 0, TP, sys_vfork, "vfork" }, /* 114 */ | ||
81 | { 3, 0, sys_init_module, "init_module" }, /* 115 */ | ||
82 | { 2, 0, sys_delete_module, "delete_module" }, /* 116 */ | ||
83 | - { 4, 0, sys_quotactl, "quotactl" }, /* 117 */ | ||
84 | + { 4, TF, sys_quotactl, "quotactl" }, /* 117 */ | ||
85 | { 1, 0, sys_getpgid, "getpgid" }, /* 118 */ | ||
86 | { 0, 0, sys_bdflush, "bdflush" }, /* 119 */ | ||
87 | { 3, 0, sys_sysfs, "sysfs" }, /* 120 */ | ||
88 | diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h | ||
89 | index 7a9e618..05194fb 100644 | ||
90 | --- a/linux/bfin/syscallent.h | ||
91 | +++ b/linux/bfin/syscallent.h | ||
92 | @@ -157,7 +157,7 @@ | ||
93 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
94 | { 1, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
95 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */ | ||
96 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
97 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
98 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
99 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
100 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
101 | diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h | ||
102 | index f21d0c3..dc12299 100644 | ||
103 | --- a/linux/hppa/syscallent.h | ||
104 | +++ b/linux/hppa/syscallent.h | ||
105 | @@ -133,7 +133,7 @@ | ||
106 | { 4, 0, sys_init_module, "init_module" }, /* 128 */ | ||
107 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
108 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */ | ||
109 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
110 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
111 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
112 | { 1, TF, sys_fchdir, "fchdir" }, /* 133 */ | ||
113 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
114 | diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h | ||
115 | index dd76244..1b7feb5 100644 | ||
116 | --- a/linux/i386/syscallent.h | ||
117 | +++ b/linux/i386/syscallent.h | ||
118 | @@ -157,7 +157,7 @@ | ||
119 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
120 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
121 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
122 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
123 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
124 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
125 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
126 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
127 | diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h | ||
128 | index bbdfc36..8e130ad 100644 | ||
129 | --- a/linux/ia64/syscallent.h | ||
130 | +++ b/linux/ia64/syscallent.h | ||
131 | @@ -925,7 +925,7 @@ | ||
132 | { 2, 0, sys_delete_module, "delete_module" }, /* 1134 */ | ||
133 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 1135 */ | ||
134 | { 5, 0, sys_query_module, "query_module" }, /* 1136 */ | ||
135 | - { 4, 0, sys_quotactl, "quotactl" }, /* 1137 */ | ||
136 | + { 4, TF, sys_quotactl, "quotactl" }, /* 1137 */ | ||
137 | { 0, 0, sys_bdflush, "bdflush" }, /* 1138 */ | ||
138 | { 3, 0, sys_sysfs, "sysfs" }, /* 1139 */ | ||
139 | { 1, 0, sys_personality, "personality" }, /* 1140 */ | ||
140 | diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h | ||
141 | index f95cf8d..184f01c 100644 | ||
142 | --- a/linux/m68k/syscallent.h | ||
143 | +++ b/linux/m68k/syscallent.h | ||
144 | @@ -157,7 +157,7 @@ | ||
145 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
146 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
147 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
148 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
149 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
150 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
151 | { 1, 0, sys_fchdir, "fchdir" }, /* 133 */ | ||
152 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
153 | diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h | ||
154 | index 51c5e6c..c5a52fa 100644 | ||
155 | --- a/linux/microblaze/syscallent.h | ||
156 | +++ b/linux/microblaze/syscallent.h | ||
157 | @@ -157,7 +157,7 @@ | ||
158 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
159 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
160 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
161 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
162 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
163 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
164 | { 1, 0, sys_fchdir, "fchdir" }, /* 133 */ | ||
165 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
166 | diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h | ||
167 | index 4c72763..df206ec 100644 | ||
168 | --- a/linux/mips/syscallent.h | ||
169 | +++ b/linux/mips/syscallent.h | ||
170 | @@ -1141,7 +1141,7 @@ | ||
171 | { 0, TM, printargs, "sysv_madvise" }, /* 1138 */ | ||
172 | { 0, 0, printargs, "sysv_pagelock" }, /* 1139 */ | ||
173 | { 0, 0, printargs, "sysv_getpagesize" }, /* 1140 */ | ||
174 | - { 0, 0, printargs, "sysv_quotactl" }, /* 1141 */ | ||
175 | + { 0, TF, printargs, "sysv_quotactl" }, /* 1141 */ | ||
176 | { 0, 0, printargs, "sysv_libdetach" }, /* 1142 */ | ||
177 | { 0, 0, printargs, "sysv_BSDgetpgrp" }, /* 1143 */ | ||
178 | { 0, 0, printargs, "sysv_BSDsetpgrp" }, /* 1144 */ | ||
179 | @@ -2168,7 +2168,7 @@ | ||
180 | { 0, 0, printargs, "bsd43_getdomainname" }, /* 2165 */ | ||
181 | { 0, 0, printargs, "bsd43_setdomainname" }, /* 2166 */ | ||
182 | { 0, 0, printargs, "bsd43_pcfs_mount" }, /* 2167 */ | ||
183 | - { 0, 0, printargs, "bsd43_quotactl" }, /* 2168 */ | ||
184 | + { 0, TF, printargs, "bsd43_quotactl" }, /* 2168 */ | ||
185 | { 0, 0, printargs, "bsd43_oldexportfs" }, /* 2169 */ | ||
186 | { 0, 0, printargs, "bsd43_smount" }, /* 2170 */ | ||
187 | { 0, 0, printargs, "bsd43_mipshwconf" }, /* 2171 */ | ||
188 | @@ -4133,7 +4133,7 @@ | ||
189 | { 3, 0, sys_init_module, "init_module" }, /* 4128 */ | ||
190 | { 2, 0, sys_delete_module, "delete_module" }, /* 4129 */ | ||
191 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 4130 */ | ||
192 | - { 4, 0, sys_quotactl, "quotactl" }, /* 4131 */ | ||
193 | + { 4, TF, sys_quotactl, "quotactl" }, /* 4131 */ | ||
194 | { 1, 0, sys_getpgid, "getpgid" }, /* 4132 */ | ||
195 | { 1, TF, sys_fchdir, "fchdir" }, /* 4133 */ | ||
196 | { 2, 0, sys_bdflush, "bdflush" }, /* 4134 */ | ||
197 | @@ -4481,7 +4481,7 @@ | ||
198 | { 0, 0, printargs, "o32_init_module" }, /* 4128 */ | ||
199 | { 0, 0, printargs, "o32_delete_module" }, /* 4129 */ | ||
200 | { 0, 0, printargs, "o32_get_kernel_syms"}, /* 4130 */ | ||
201 | - { 0, 0, printargs, "o32_quotactl" }, /* 4131 */ | ||
202 | + { 0, TF, printargs, "o32_quotactl" }, /* 4131 */ | ||
203 | { 0, 0, printargs, "o32_getpgid" }, /* 4132 */ | ||
204 | { 0, 0, printargs, "o32_fchdir" }, /* 4133 */ | ||
205 | { 0, 0, printargs, "o32_bdflush" }, /* 4134 */ | ||
206 | @@ -5525,7 +5525,7 @@ | ||
207 | { 1, 0, sys_delete_module, "delete_module" }, /* 5169 */ | ||
208 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 5170 */ | ||
209 | { 5, 0, sys_query_module, "query_module" }, /* 5171 */ | ||
210 | - { 4, 0, sys_quotactl, "quotactl" }, /* 5172 */ | ||
211 | + { 4, TF, sys_quotactl, "quotactl" }, /* 5172 */ | ||
212 | { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 5173 */ | ||
213 | { 5, TN, printargs, "getpmsg" }, /* 5174 */ | ||
214 | { 5, TN, printargs, "putpmsg" }, /* 5175 */ | ||
215 | @@ -5832,7 +5832,7 @@ | ||
216 | { 0, 0, printargs, "n64_delete_module" }, /* 5169 */ | ||
217 | { 0, 0, printargs, "n64_get_kernel_syms" }, /* 5170 */ | ||
218 | { 0, 0, printargs, "n64_query_module" }, /* 5171 */ | ||
219 | - { 0, 0, printargs, "n64_quotactl" }, /* 5172 */ | ||
220 | + { 0, TF, printargs, "n64_quotactl" }, /* 5172 */ | ||
221 | { 0, 0, printargs, "n64_nfsservctl" }, /* 5173 */ | ||
222 | { 0, 0, printargs, "n64_getpmsg" }, /* 5174 */ | ||
223 | { 0, 0, printargs, "n64_putpmsg" }, /* 5175 */ | ||
224 | @@ -6836,7 +6836,7 @@ | ||
225 | { 1, 0, sys_delete_module, "delete_module" }, /* 6169 */ | ||
226 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 6170 */ | ||
227 | { 5, 0, sys_query_module, "query_module" }, /* 6171 */ | ||
228 | - { 4, 0, sys_quotactl, "quotactl" }, /* 6172 */ | ||
229 | + { 4, TF, sys_quotactl, "quotactl" }, /* 6172 */ | ||
230 | { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 6173 */ | ||
231 | { 5, TN, printargs, "getpmsg" }, /* 6174 */ | ||
232 | { 5, TN, printargs, "putpmsg" }, /* 6175 */ | ||
233 | @@ -7149,7 +7149,7 @@ | ||
234 | { 0, 0, printargs, "n32_delete_module" }, /* 6169 */ | ||
235 | { 0, 0, printargs, "n32_get_kernel_syms" }, /* 6170 */ | ||
236 | { 0, 0, printargs, "n32_query_module" }, /* 6171 */ | ||
237 | - { 0, 0, printargs, "n32_quotactl" }, /* 6172 */ | ||
238 | + { 0, TF, printargs, "n32_quotactl" }, /* 6172 */ | ||
239 | { 0, 0, printargs, "n32_nfsservctl" }, /* 6173 */ | ||
240 | { 0, 0, printargs, "n32_getpmsg" }, /* 6174 */ | ||
241 | { 0, 0, printargs, "n32_putpmsg" }, /* 6175 */ | ||
242 | diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h | ||
243 | index 3228f97..e61946e 100644 | ||
244 | --- a/linux/powerpc/syscallent.h | ||
245 | +++ b/linux/powerpc/syscallent.h | ||
246 | @@ -157,7 +157,7 @@ | ||
247 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
248 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
249 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms" }, /* 130 */ | ||
250 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
251 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
252 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
253 | { 1, TF, sys_fchdir, "fchdir" }, /* 133 */ | ||
254 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
255 | diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h | ||
256 | index 1ce0fe2..94f4d25 100644 | ||
257 | --- a/linux/s390/syscallent.h | ||
258 | +++ b/linux/s390/syscallent.h | ||
259 | @@ -159,7 +159,7 @@ | ||
260 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
261 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
262 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
263 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
264 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
265 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
266 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
267 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
268 | diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h | ||
269 | index 7fa8ff5..ebf35d4 100644 | ||
270 | --- a/linux/s390x/syscallent.h | ||
271 | +++ b/linux/s390x/syscallent.h | ||
272 | @@ -158,7 +158,7 @@ | ||
273 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
274 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
275 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
276 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
277 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
278 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
279 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
280 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
281 | diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h | ||
282 | index d9228b4..1546ff6 100644 | ||
283 | --- a/linux/sh/syscallent.h | ||
284 | +++ b/linux/sh/syscallent.h | ||
285 | @@ -159,7 +159,7 @@ | ||
286 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
287 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
288 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
289 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
290 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
291 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
292 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
293 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
294 | diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h | ||
295 | index 39c13e0..4e20c47 100644 | ||
296 | --- a/linux/sh64/syscallent.h | ||
297 | +++ b/linux/sh64/syscallent.h | ||
298 | @@ -157,7 +157,7 @@ | ||
299 | { 3, 0, sys_init_module, "init_module" }, /* 128 */ | ||
300 | { 2, 0, sys_delete_module, "delete_module" }, /* 129 */ | ||
301 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ | ||
302 | - { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ | ||
303 | + { 4, TF, sys_quotactl, "quotactl" }, /* 131 */ | ||
304 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ | ||
305 | { 1, TD, sys_fchdir, "fchdir" }, /* 133 */ | ||
306 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ | ||
307 | diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h | ||
308 | index d6b518a..fe3a940 100644 | ||
309 | --- a/linux/sparc/syscallent.h | ||
310 | +++ b/linux/sparc/syscallent.h | ||
311 | @@ -163,7 +163,7 @@ | ||
312 | { 2, 0, printargs, "getdomainname" }, /* 162 */ | ||
313 | { 2, 0, sys_setdomainname,"setdomainname" }, /* 163 */ | ||
314 | { 5, 0, printargs, "utrap_install" }, /* 164 */ | ||
315 | - { 4, 0, sys_quotactl, "quotactl" }, /* 165 */ | ||
316 | + { 4, TF, sys_quotactl, "quotactl" }, /* 165 */ | ||
317 | { 1, 0, sys_set_tid_address,"set_tid_address" }, /* 166 */ | ||
318 | { 5, TF, sys_mount, "mount" }, /* 167 */ | ||
319 | { 2, 0, sys_ustat, "ustat" }, /* 168 */ | ||
320 | diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h | ||
321 | index 89205e3..3bf59ae 100644 | ||
322 | --- a/linux/tile/syscallent.h | ||
323 | +++ b/linux/tile/syscallent.h | ||
324 | @@ -131,7 +131,7 @@ | ||
325 | { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 130 */ | ||
326 | { 3, 0, sys_init_module, "init_module" }, /* 131 */ | ||
327 | { 1, 0, sys_delete_module, "delete_module" }, /* 132 */ | ||
328 | - { 4, 0, sys_quotactl, "quotactl" }, /* 133 */ | ||
329 | + { 4, TF, sys_quotactl, "quotactl" }, /* 133 */ | ||
330 | { 1, 0, sys_getpgid, "getpgid" }, /* 134 */ | ||
331 | { 1, TD, sys_fchdir, "fchdir" }, /* 135 */ | ||
332 | { 0, 0, sys_bdflush, "bdflush" }, /* 136 */ | ||
333 | diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h | ||
334 | index 924164e..cfe546c 100644 | ||
335 | --- a/linux/x32/syscallent.h | ||
336 | +++ b/linux/x32/syscallent.h | ||
337 | @@ -177,7 +177,7 @@ | ||
338 | { 2, 0, sys_delete_module, "delete_module" }, /* 176 */ | ||
339 | { 1, 0, printargs, "64:get_kernel_syms" }, /* 177 */ | ||
340 | { 5, 0, printargs, "64:query_module" }, /* 178 */ | ||
341 | - { 4, 0, sys_quotactl, "quotactl" }, /* 179 */ | ||
342 | + { 4, TF, sys_quotactl, "quotactl" }, /* 179 */ | ||
343 | { 3, 0, printargs, "64:nfsservctl" }, /* 180 */ | ||
344 | { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */ | ||
345 | { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */ | ||
346 | diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h | ||
347 | index 2ce663f..f98cd37 100644 | ||
348 | --- a/linux/x86_64/syscallent.h | ||
349 | +++ b/linux/x86_64/syscallent.h | ||
350 | @@ -177,7 +177,7 @@ | ||
351 | { 2, 0, sys_delete_module, "delete_module" }, /* 176 */ | ||
352 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 177 */ | ||
353 | { 5, 0, sys_query_module, "query_module" }, /* 178 */ | ||
354 | - { 4, 0, sys_quotactl, "quotactl" }, /* 179 */ | ||
355 | + { 4, TF, sys_quotactl, "quotactl" }, /* 179 */ | ||
356 | { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 180 */ | ||
357 | { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */ | ||
358 | { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */ | ||
359 | diff --git a/pathtrace.c b/pathtrace.c | ||
360 | index c000c83..12e47e9 100644 | ||
361 | --- a/pathtrace.c | ||
362 | +++ b/pathtrace.c | ||
363 | @@ -213,6 +213,12 @@ pathtrace_match(struct tcb *tcp) | ||
364 | upathmatch(tcp, tcp->u_arg[1]); | ||
365 | } | ||
366 | |||
367 | + if (s->sys_func == sys_quotactl) | ||
368 | + { | ||
369 | + /* x, path */ | ||
370 | + return upathmatch(tcp, tcp->u_arg[1]); | ||
371 | + } | ||
372 | + | ||
373 | if (s->sys_func == sys_renameat || | ||
374 | s->sys_func == sys_linkat) | ||
375 | { | ||
376 | diff --git a/quota.c b/quota.c | ||
377 | index a1fd92d..780abf9 100644 | ||
378 | --- a/quota.c | ||
379 | +++ b/quota.c | ||
380 | @@ -617,7 +617,7 @@ sys_quotactl(struct tcb *tcp) | ||
381 | tprints("|"); | ||
382 | printxval(quotatypes, type, "???QUOTA"); | ||
383 | tprints(", "); | ||
384 | - printstr(tcp, tcp->u_arg[1], -1); | ||
385 | + printpath(tcp, tcp->u_arg[1]); | ||
386 | tprints(", "); | ||
387 | switch (cmd) { | ||
388 | case Q_V1_QUOTAON: | ||
389 | -- | ||
390 | 1.8.0 | ||
391 | |||