blob: c0c16f508ce00e26118c9c484caea9c0da2cc9d0 [file] [log] [blame]
Grant Edwards8a082772011-04-07 20:25:40 +00001/*
Elliott Hughes39bac052017-05-25 16:56:11 -07002 * Copyright (c) 2011 Comtrol Corp.
Elliott Hughesb7556142018-02-20 17:03:16 -08003 * Copyright (c) 2011-2018 The strace developers.
Grant Edwards8a082772011-04-07 20:25:40 +00004 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 */
29
30#include "defs.h"
Elliott Hughesb7556142018-02-20 17:03:16 -080031#include <limits.h>
Dmitry V. Levin80d5e012015-07-30 16:23:58 +000032#include <poll.h>
Grant Edwards8a082772011-04-07 20:25:40 +000033
34#include "syscall.h"
Elliott Hughesb7556142018-02-20 17:03:16 -080035#include "xstring.h"
Grant Edwards8a082772011-04-07 20:25:40 +000036
Elliott Hughes77c3ff82017-09-08 17:11:00 -070037struct path_set global_path_set;
Grant Edwards8a082772011-04-07 20:25:40 +000038
39/*
40 * Return true if specified path matches one that we're tracing.
41 */
Elliott Hughes77c3ff82017-09-08 17:11:00 -070042static bool
43pathmatch(const char *path, struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +000044{
Denys Vlasenko7239dbc2013-03-05 15:46:34 +010045 unsigned i;
Grant Edwards8a082772011-04-07 20:25:40 +000046
Elliott Hughes77c3ff82017-09-08 17:11:00 -070047 for (i = 0; i < set->num_selected; ++i) {
48 if (strcmp(path, set->paths_selected[i]) == 0)
49 return true;
Grant Edwards8a082772011-04-07 20:25:40 +000050 }
Elliott Hughes77c3ff82017-09-08 17:11:00 -070051 return false;
Grant Edwards8a082772011-04-07 20:25:40 +000052}
53
54/*
55 * Return true if specified path (in user-space) matches.
56 */
Elliott Hughes77c3ff82017-09-08 17:11:00 -070057static bool
58upathmatch(struct tcb *const tcp, const kernel_ulong_t upath,
59 struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +000060{
Denys Vlasenko7b609d52011-06-22 14:32:43 +020061 char path[PATH_MAX + 1];
Grant Edwards8a082772011-04-07 20:25:40 +000062
Elliott Hughesdc75b012017-07-05 13:54:44 -070063 return umovestr(tcp, upath, sizeof(path), path) > 0 &&
Elliott Hughes77c3ff82017-09-08 17:11:00 -070064 pathmatch(path, set);
Grant Edwards8a082772011-04-07 20:25:40 +000065}
66
67/*
68 * Return true if specified fd maps to a path we're tracing.
69 */
Elliott Hughes77c3ff82017-09-08 17:11:00 -070070static bool
71fdmatch(struct tcb *tcp, int fd, struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +000072{
Denys Vlasenko61ad0a42013-03-06 18:24:34 +010073 char path[PATH_MAX + 1];
74 int n = getfdpath(tcp, fd, path, sizeof(path));
Grant Edwards8a082772011-04-07 20:25:40 +000075
Elliott Hughes77c3ff82017-09-08 17:11:00 -070076 return n >= 0 && pathmatch(path, set);
Grant Edwards8a082772011-04-07 20:25:40 +000077}
78
79/*
80 * Add a path to the set we're tracing.
Philippe Ombredanne894c7e32014-02-01 09:57:45 -080081 * Specifying NULL will delete all paths.
Grant Edwards8a082772011-04-07 20:25:40 +000082 */
Denys Vlasenko7239dbc2013-03-05 15:46:34 +010083static void
Elliott Hughes77c3ff82017-09-08 17:11:00 -070084storepath(const char *path, struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +000085{
Elliott Hughes77c3ff82017-09-08 17:11:00 -070086 if (pathmatch(path, set))
Denys Vlasenko7239dbc2013-03-05 15:46:34 +010087 return; /* already in table */
Grant Edwards8a082772011-04-07 20:25:40 +000088
Elliott Hughesb7556142018-02-20 17:03:16 -080089 if (set->num_selected >= set->size)
90 set->paths_selected =
91 xgrowarray(set->paths_selected, &set->size,
92 sizeof(set->paths_selected[0]));
93
94 set->paths_selected[set->num_selected++] = path;
Grant Edwards8a082772011-04-07 20:25:40 +000095}
96
97/*
98 * Get path associated with fd.
99 */
Denys Vlasenko61ad0a42013-03-06 18:24:34 +0100100int
101getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize)
Grant Edwards8a082772011-04-07 20:25:40 +0000102{
Denys Vlasenko384b0ad2012-03-15 18:11:51 +0100103 char linkpath[sizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3];
Grant Edwards8a082772011-04-07 20:25:40 +0000104 ssize_t n;
105
106 if (fd < 0)
Denys Vlasenko61ad0a42013-03-06 18:24:34 +0100107 return -1;
Grant Edwards8a082772011-04-07 20:25:40 +0000108
Elliott Hughesb7556142018-02-20 17:03:16 -0800109 xsprintf(linkpath, "/proc/%u/fd/%u", tcp->pid, fd);
Denys Vlasenko61ad0a42013-03-06 18:24:34 +0100110 n = readlink(linkpath, buf, bufsize - 1);
111 /*
112 * NB: if buf is too small, readlink doesn't fail,
113 * it returns truncated result (IOW: n == bufsize - 1).
114 */
115 if (n >= 0)
116 buf[n] = '\0';
117 return n;
Grant Edwards8a082772011-04-07 20:25:40 +0000118}
119
120/*
121 * Add a path to the set we're tracing. Also add the canonicalized
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700122 * version of the path. Specifying NULL will delete all paths.
Grant Edwards8a082772011-04-07 20:25:40 +0000123 */
Denys Vlasenko7239dbc2013-03-05 15:46:34 +0100124void
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700125pathtrace_select_set(const char *path, struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +0000126{
Denys Vlasenko29865e72012-03-15 18:03:56 +0100127 char *rpath;
Grant Edwards8a082772011-04-07 20:25:40 +0000128
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700129 storepath(path, set);
Grant Edwards8a082772011-04-07 20:25:40 +0000130
131 rpath = realpath(path, NULL);
132
133 if (rpath == NULL)
Denys Vlasenko7239dbc2013-03-05 15:46:34 +0100134 return;
Grant Edwards8a082772011-04-07 20:25:40 +0000135
136 /* if realpath and specified path are same, we're done */
Denys Vlasenko29865e72012-03-15 18:03:56 +0100137 if (strcmp(path, rpath) == 0) {
Grant Edwards8a082772011-04-07 20:25:40 +0000138 free(rpath);
Denys Vlasenko7239dbc2013-03-05 15:46:34 +0100139 return;
Grant Edwards8a082772011-04-07 20:25:40 +0000140 }
141
Dmitry V. Levin6c8ef052015-05-25 22:51:19 +0000142 error_msg("Requested path '%s' resolved into '%s'", path, rpath);
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700143 storepath(rpath, set);
Grant Edwards8a082772011-04-07 20:25:40 +0000144}
145
Elliott Hughesb7556142018-02-20 17:03:16 -0800146static bool
147match_xselect_args(struct tcb *tcp, const kernel_ulong_t *args,
148 struct path_set *set)
149{
150 /* Kernel truncates arg[0] to int, we do the same. */
151 int nfds = (int) args[0];
152 /* Kernel rejects negative nfds, so we don't parse it either. */
153 if (nfds <= 0)
154 return false;
155 /* Beware of select(2^31-1, NULL, NULL, NULL) and similar... */
156 if (nfds > 1024*1024)
157 nfds = 1024*1024;
158 unsigned int fdsize = (((nfds + 7) / 8) + current_wordsize-1) & -current_wordsize;
159 fd_set *fds = xmalloc(fdsize);
160
161 for (unsigned int i = 1; i <= 3; ++i) {
162 if (args[i] == 0)
163 continue;
164 if (umoven(tcp, args[i], fdsize, fds) < 0)
165 continue;
166 for (int j = 0;; ++j) {
167 j = next_set_bit(fds, j, nfds);
168 if (j < 0)
169 break;
170 if (fdmatch(tcp, j, set)) {
171 free(fds);
172 return true;
173 }
174 }
175 }
176
177 free(fds);
178 return false;
179}
180
Grant Edwards8a082772011-04-07 20:25:40 +0000181/*
182 * Return true if syscall accesses a selected path
183 * (or if no paths have been specified for tracing).
184 */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700185bool
186pathtrace_match_set(struct tcb *tcp, struct path_set *set)
Grant Edwards8a082772011-04-07 20:25:40 +0000187{
Denys Vlasenkoa9fe13c2013-02-22 13:26:10 +0100188 const struct_sysent *s;
Grant Edwards8a082772011-04-07 20:25:40 +0000189
Denys Vlasenko74ec14f2013-02-21 16:13:47 +0100190 s = tcp->s_ent;
Grant Edwards8a082772011-04-07 20:25:40 +0000191
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800192 if (!(s->sys_flags & (TRACE_FILE | TRACE_DESC | TRACE_NETWORK)))
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700193 return false;
Grant Edwards8a082772011-04-07 20:25:40 +0000194
195 /*
196 * Check for special cases where we need to do something
197 * other than test arg[0].
198 */
199
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300200 switch (s->sen) {
201 case SEN_dup2:
202 case SEN_dup3:
Dmitry V. Levinea197052015-11-22 18:51:05 +0000203 case SEN_kexec_file_load:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300204 case SEN_sendfile:
205 case SEN_sendfile64:
206 case SEN_tee:
Grant Edwards8a082772011-04-07 20:25:40 +0000207 /* fd, fd */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700208 return fdmatch(tcp, tcp->u_arg[0], set) ||
209 fdmatch(tcp, tcp->u_arg[1], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000210
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700211 case SEN_execveat:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300212 case SEN_faccessat:
213 case SEN_fchmodat:
214 case SEN_fchownat:
Dmitry V. Levinc4da4892016-08-23 14:27:49 +0000215 case SEN_fstatat64:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300216 case SEN_futimesat:
217 case SEN_inotify_add_watch:
218 case SEN_mkdirat:
219 case SEN_mknodat:
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +0000220 case SEN_name_to_handle_at:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300221 case SEN_newfstatat:
222 case SEN_openat:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300223 case SEN_readlinkat:
Elliott Hughes39bac052017-05-25 16:56:11 -0700224 case SEN_statx:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300225 case SEN_unlinkat:
226 case SEN_utimensat:
Grant Edwards8a082772011-04-07 20:25:40 +0000227 /* fd, path */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700228 return fdmatch(tcp, tcp->u_arg[0], set) ||
229 upathmatch(tcp, tcp->u_arg[1], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000230
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300231 case SEN_link:
232 case SEN_mount:
233 case SEN_pivotroot:
Grant Edwards8a082772011-04-07 20:25:40 +0000234 /* path, path */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700235 return upathmatch(tcp, tcp->u_arg[0], set) ||
236 upathmatch(tcp, tcp->u_arg[1], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000237
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300238 case SEN_quotactl:
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700239 case SEN_symlink:
Dmitry V. Levin79439662012-10-26 23:43:13 +0000240 /* x, path */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700241 return upathmatch(tcp, tcp->u_arg[1], set);
Dmitry V. Levin79439662012-10-26 23:43:13 +0000242
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300243 case SEN_linkat:
244 case SEN_renameat2:
245 case SEN_renameat:
Grant Edwards8a082772011-04-07 20:25:40 +0000246 /* fd, path, fd, path */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700247 return fdmatch(tcp, tcp->u_arg[0], set) ||
248 fdmatch(tcp, tcp->u_arg[2], set) ||
249 upathmatch(tcp, tcp->u_arg[1], set) ||
250 upathmatch(tcp, tcp->u_arg[3], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000251
Elliott Hughesb7556142018-02-20 17:03:16 -0800252#if HAVE_ARCH_OLD_MMAP
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300253 case SEN_old_mmap:
Elliott Hughesb7556142018-02-20 17:03:16 -0800254# if HAVE_ARCH_OLD_MMAP_PGOFF
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300255 case SEN_old_mmap_pgoff:
Elliott Hughesb7556142018-02-20 17:03:16 -0800256# endif
257 {
258 kernel_ulong_t *args =
259 fetch_indirect_syscall_args(tcp, tcp->u_arg[0], 6);
260
261 return args && fdmatch(tcp, args[4], set);
262 }
263#endif /* HAVE_ARCH_OLD_MMAP */
264
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300265 case SEN_mmap:
266 case SEN_mmap_4koff:
267 case SEN_mmap_pgoff:
Dmitry V. Levindd1a80c2015-12-24 15:40:55 +0000268 case SEN_ARCH_mmap:
Grant Edwards8a082772011-04-07 20:25:40 +0000269 /* x, x, x, x, fd */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700270 return fdmatch(tcp, tcp->u_arg[4], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000271
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300272 case SEN_symlinkat:
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700273 /* x, fd, path */
274 return fdmatch(tcp, tcp->u_arg[1], set) ||
275 upathmatch(tcp, tcp->u_arg[2], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000276
Dmitry V. Levinc1f99f52016-02-13 03:45:32 +0000277 case SEN_copy_file_range:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300278 case SEN_splice:
Dmitry V. Levinc1f99f52016-02-13 03:45:32 +0000279 /* fd, x, fd, x, x, x */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700280 return fdmatch(tcp, tcp->u_arg[0], set) ||
281 fdmatch(tcp, tcp->u_arg[2], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000282
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300283 case SEN_epoll_ctl:
Grant Edwards8a082772011-04-07 20:25:40 +0000284 /* x, x, fd, x */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700285 return fdmatch(tcp, tcp->u_arg[2], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000286
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300287
288 case SEN_fanotify_mark:
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700289 {
290 /* x, x, mask (64 bit), fd, path */
291 unsigned long long mask = 0;
292 int argn = getllval(tcp, &mask, 2);
293 return fdmatch(tcp, tcp->u_arg[argn], set) ||
294 upathmatch(tcp, tcp->u_arg[argn + 1], set);
295 }
Elliott Hughesb7556142018-02-20 17:03:16 -0800296#if HAVE_ARCH_OLD_SELECT
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300297 case SEN_oldselect:
Elliott Hughesb7556142018-02-20 17:03:16 -0800298 {
299 kernel_ulong_t *args =
300 fetch_indirect_syscall_args(tcp, tcp->u_arg[0], 5);
301
302 return args && match_xselect_args(tcp, args, set);
303 }
304#endif
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300305 case SEN_pselect6:
306 case SEN_select:
Elliott Hughesb7556142018-02-20 17:03:16 -0800307 return match_xselect_args(tcp, tcp->u_arg, set);
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300308 case SEN_poll:
309 case SEN_ppoll:
Grant Edwards8a082772011-04-07 20:25:40 +0000310 {
311 struct pollfd fds;
312 unsigned nfds;
Elliott Hughesd35df492017-02-15 15:19:05 -0800313 kernel_ulong_t start, cur, end;
Grant Edwards8a082772011-04-07 20:25:40 +0000314
315 start = tcp->u_arg[0];
316 nfds = tcp->u_arg[1];
317
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700318 if (nfds > 1024 * 1024)
319 nfds = 1024 * 1024;
Grant Edwards8a082772011-04-07 20:25:40 +0000320 end = start + sizeof(fds) * nfds;
321
322 if (nfds == 0 || end < start)
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700323 return false;
Grant Edwards8a082772011-04-07 20:25:40 +0000324
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700325 for (cur = start; cur < end; cur += sizeof(fds)) {
326 if (umove(tcp, cur, &fds))
327 break;
328 if (fdmatch(tcp, fds.fd, set))
329 return true;
330 }
Grant Edwards8a082772011-04-07 20:25:40 +0000331
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700332 return false;
Grant Edwards8a082772011-04-07 20:25:40 +0000333 }
334
Elliott Hughesb7556142018-02-20 17:03:16 -0800335 case SEN_accept4:
336 case SEN_accept:
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +0000337 case SEN_bpf:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300338 case SEN_epoll_create:
Dmitry V. Levin27163462015-08-01 23:07:19 +0000339 case SEN_epoll_create1:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300340 case SEN_eventfd2:
341 case SEN_eventfd:
342 case SEN_fanotify_init:
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700343 case SEN_inotify_init:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300344 case SEN_inotify_init1:
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +0000345 case SEN_memfd_create:
Elliott Hughesb7556142018-02-20 17:03:16 -0800346 case SEN_mq_getsetattr:
347 case SEN_mq_notify:
348 case SEN_mq_open:
349 case SEN_mq_timedreceive:
350 case SEN_mq_timedsend:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300351 case SEN_perf_event_open:
352 case SEN_pipe:
Dmitry V. Levinf9f04f72016-02-12 16:15:23 +0000353 case SEN_pipe2:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300354 case SEN_printargs:
Elliott Hughesb7556142018-02-20 17:03:16 -0800355 case SEN_signalfd4:
356 case SEN_signalfd:
Elvira Khabirova483c15f2015-07-10 22:24:58 +0300357 case SEN_socket:
358 case SEN_socketpair:
359 case SEN_timerfd_create:
360 case SEN_timerfd_gettime:
361 case SEN_timerfd_settime:
Dmitry V. Levin87d64ed2015-11-22 19:56:00 +0000362 case SEN_userfaultfd:
Grant Edwards8a082772011-04-07 20:25:40 +0000363 /*
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800364 * These have TRACE_FILE or TRACE_DESCRIPTOR or TRACE_NETWORK set,
365 * but they don't have any file descriptor or path args to test.
Grant Edwards8a082772011-04-07 20:25:40 +0000366 */
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700367 return false;
Grant Edwards8a082772011-04-07 20:25:40 +0000368 }
Grant Edwards8a082772011-04-07 20:25:40 +0000369
370 /*
371 * Our fallback position for calls that haven't already
372 * been handled is to just check arg[0].
373 */
374
375 if (s->sys_flags & TRACE_FILE)
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700376 return upathmatch(tcp, tcp->u_arg[0], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000377
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800378 if (s->sys_flags & (TRACE_DESC | TRACE_NETWORK))
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700379 return fdmatch(tcp, tcp->u_arg[0], set);
Grant Edwards8a082772011-04-07 20:25:40 +0000380
Elliott Hughes77c3ff82017-09-08 17:11:00 -0700381 return false;
Grant Edwards8a082772011-04-07 20:25:40 +0000382}