blob: b2c7abbc76043bc16b13d459f8cf50d0c584a1a9 [file] [log] [blame]
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001/*
2 * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
3 * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
4 * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +00005 * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl>
Roland McGrathe1e584b2003-06-02 19:18:58 +00006 * Copyright (c) 2000 PocketPenguins Inc. Linux for Hitachi SuperH
7 * port by Greg Banks <gbanks@pocketpenguins.com>
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00008 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. The name of the author may not be used to endorse or promote products
19 * derived from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000031 */
32
33#include "defs.h"
Roland McGrath05cdd3c2004-03-02 06:16:59 +000034#include <asm/mman.h>
Wichert Akkerman2e2553a1999-05-09 00:29:58 +000035#include <sys/mman.h>
Denys Vlasenko1ba85432013-02-19 11:28:20 +010036
Dmitry V. Levinea1fea62015-03-31 19:45:08 +000037unsigned long
38get_pagesize(void)
Dmitry V. Levinc76a3632013-03-05 14:58:24 +000039{
40 static unsigned long pagesize;
41
42 if (!pagesize)
43 pagesize = sysconf(_SC_PAGESIZE);
44 return pagesize;
45}
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000046
Dmitry V. Levina0bd3742015-04-07 01:36:50 +000047SYS_FUNC(brk)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000048{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +000049 printaddr(tcp->u_arg[0]);
50
51 return RVAL_DECODED | RVAL_HEX;
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000052}
53
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +000054#include "xlat/mmap_prot.h"
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +000055#include "xlat/mmap_flags.h"
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000056
Dmitry V. Levin85813ce2015-07-19 23:37:40 +000057static void
Denys Vlasenko923255c2013-02-18 02:36:36 +010058print_mmap(struct tcb *tcp, long *u_arg, unsigned long long offset)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000059{
Dmitry V. Levin3ae86902016-04-01 15:31:23 +000060 const unsigned long addr = u_arg[0];
61 const unsigned long len = u_arg[1];
62 const unsigned long prot = u_arg[2];
63 const unsigned long flags = u_arg[3];
64 const int fd = u_arg[4];
65
66 printaddr(addr);
67 tprintf(", %lu, ", len);
Dmitry V. Levin11681142016-05-16 22:58:45 +000068 printflags_long(mmap_prot, prot, "PROT_???");
Dmitry V. Levin85813ce2015-07-19 23:37:40 +000069 tprints(", ");
Wichert Akkermanbf79f2e2000-09-01 21:03:06 +000070#ifdef MAP_TYPE
Dmitry V. Levin11681142016-05-16 22:58:45 +000071 printxval_long(mmap_flags, flags & MAP_TYPE, "MAP_???");
Dmitry V. Levin3ae86902016-04-01 15:31:23 +000072 addflags(mmap_flags, flags & ~MAP_TYPE);
Wichert Akkermanbf79f2e2000-09-01 21:03:06 +000073#else
Dmitry V. Levin11681142016-05-16 22:58:45 +000074 printflags_long(mmap_flags, flags, "MAP_???");
Wichert Akkermanbf79f2e2000-09-01 21:03:06 +000075#endif
Dmitry V. Levin85813ce2015-07-19 23:37:40 +000076 tprints(", ");
Dmitry V. Levin3ae86902016-04-01 15:31:23 +000077 printfd(tcp, fd);
Dmitry V. Levin85813ce2015-07-19 23:37:40 +000078 tprintf(", %#llx", offset);
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000079}
80
Denys Vlasenko1ba85432013-02-19 11:28:20 +010081/* Syscall name<->function correspondence is messed up on many arches.
82 * For example:
83 * i386 has __NR_mmap == 90, and it is "old mmap", and
84 * also it has __NR_mmap2 == 192, which is a "new mmap with page offsets".
85 * But x86_64 has just one __NR_mmap == 9, a "new mmap with byte offsets".
86 * Confused? Me too!
87 */
88
Dmitry V. Levinbc724ce2016-04-22 23:36:26 +000089#if defined AARCH64 || defined ARM \
90 || defined I386 || defined X86_64 || defined X32 \
91 || defined M68K \
92 || defined S390 || defined S390X
Denys Vlasenko1ba85432013-02-19 11:28:20 +010093/* Params are pointed to by u_arg[0], offset is in bytes */
Dmitry V. Levina0bd3742015-04-07 01:36:50 +000094SYS_FUNC(old_mmap)
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +000095{
Denys Vlasenko1ba85432013-02-19 11:28:20 +010096 long u_arg[6];
Dmitry V. Levincf527782016-04-22 23:47:46 +000097# if defined AARCH64 || defined X86_64
98 /* We are here only in a 32-bit personality. */
Dmitry V. Levin3db07f12016-04-22 23:41:36 +000099 unsigned int narrow_arg[6];
100 if (umove_or_printaddr(tcp, tcp->u_arg[0], &narrow_arg))
101 return RVAL_DECODED | RVAL_HEX;
102 unsigned int i;
103 for (i = 0; i < 6; i++)
104 u_arg[i] = narrow_arg[i];
Dmitry V. Levinbc724ce2016-04-22 23:36:26 +0000105# else
Dmitry V. Levin3db07f12016-04-22 23:41:36 +0000106 if (umove_or_printaddr(tcp, tcp->u_arg[0], &u_arg))
107 return RVAL_DECODED | RVAL_HEX;
Dmitry V. Levinbc724ce2016-04-22 23:36:26 +0000108# endif
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000109 print_mmap(tcp, u_arg, (unsigned long) u_arg[5]);
110
111 return RVAL_DECODED | RVAL_HEX;
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000112}
Dmitry V. Levinbc724ce2016-04-22 23:36:26 +0000113#endif /* old_mmap architectures */
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000114
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100115#if defined(S390)
116/* Params are pointed to by u_arg[0], offset is in pages */
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000117SYS_FUNC(old_mmap_pgoff)
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100118{
119 long u_arg[5];
120 int i;
121 unsigned narrow_arg[6];
122 unsigned long long offset;
Denys Vlasenko7e69ed92015-03-21 19:50:53 +0100123 if (umoven(tcp, tcp->u_arg[0], sizeof(narrow_arg), narrow_arg) == -1)
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100124 return 0;
125 for (i = 0; i < 5; i++)
126 u_arg[i] = (unsigned long) narrow_arg[i];
127 offset = narrow_arg[5];
Dmitry V. Levinc76a3632013-03-05 14:58:24 +0000128 offset *= get_pagesize();
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000129 print_mmap(tcp, u_arg, offset);
130
131 return RVAL_DECODED | RVAL_HEX;
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100132}
133#endif
134
135/* Params are passed directly, offset is in bytes */
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000136SYS_FUNC(mmap)
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000137{
Denys Vlasenko8dedb0d2013-02-18 03:13:07 +0100138 unsigned long long offset = (unsigned long) tcp->u_arg[5];
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100139#if defined(LINUX_MIPSN32) || defined(X32)
Denys Vlasenko8dedb0d2013-02-18 03:13:07 +0100140 /* Try test/x32_mmap.c */
Denys Vlasenkoadedb512008-12-30 18:47:55 +0000141 offset = tcp->ext_arg[5];
Roland McGrath542c2c62008-05-20 01:11:56 +0000142#endif
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100143 /* Example of kernel-side handling of this variety of mmap:
144 * arch/x86/kernel/sys_x86_64.c::SYSCALL_DEFINE6(mmap, ...) calls
145 * sys_mmap_pgoff(..., off >> PAGE_SHIFT); i.e. off is in bytes,
146 * since the above code converts off to pages.
147 */
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000148 print_mmap(tcp, tcp->u_arg, offset);
149
150 return RVAL_DECODED | RVAL_HEX;
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100151}
152
153/* Params are passed directly, offset is in pages */
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000154SYS_FUNC(mmap_pgoff)
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100155{
156 /* Try test/mmap_offset_decode.c */
157 unsigned long long offset;
158 offset = (unsigned long) tcp->u_arg[5];
Dmitry V. Levinc76a3632013-03-05 14:58:24 +0000159 offset *= get_pagesize();
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000160 print_mmap(tcp, tcp->u_arg, offset);
161
162 return RVAL_DECODED | RVAL_HEX;
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100163}
164
165/* Params are passed directly, offset is in 4k units */
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000166SYS_FUNC(mmap_4koff)
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100167{
168 unsigned long long offset;
169 offset = (unsigned long) tcp->u_arg[5];
170 offset <<= 12;
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000171 print_mmap(tcp, tcp->u_arg, offset);
172
173 return RVAL_DECODED | RVAL_HEX;
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000174}
175
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000176SYS_FUNC(munmap)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000177{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000178 printaddr(tcp->u_arg[0]);
179 tprintf(", %lu", tcp->u_arg[1]);
180
181 return RVAL_DECODED;
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000182}
183
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000184SYS_FUNC(mprotect)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000185{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000186 printaddr(tcp->u_arg[0]);
187 tprintf(", %lu, ", tcp->u_arg[1]);
Dmitry V. Levin11681142016-05-16 22:58:45 +0000188 printflags_long(mmap_prot, tcp->u_arg[2], "PROT_???");
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000189
190 return RVAL_DECODED;
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000191}
192
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +0000193#include "xlat/mremap_flags.h"
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000194
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000195SYS_FUNC(mremap)
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000196{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000197 printaddr(tcp->u_arg[0]);
198 tprintf(", %lu, %lu, ", tcp->u_arg[1], tcp->u_arg[2]);
Dmitry V. Levin11681142016-05-16 22:58:45 +0000199 printflags_long(mremap_flags, tcp->u_arg[3], "MREMAP_???");
Dmitry V. Levinfdc45592009-12-24 23:34:58 +0000200#ifdef MREMAP_FIXED
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000201 if ((tcp->u_arg[3] & (MREMAP_MAYMOVE | MREMAP_FIXED)) ==
202 (MREMAP_MAYMOVE | MREMAP_FIXED)) {
203 tprints(", ");
204 printaddr(tcp->u_arg[4]);
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000205 }
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000206#endif
207 return RVAL_DECODED | RVAL_HEX;
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000208}
209
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +0000210#include "xlat/madvise_cmds.h"
Wichert Akkermanc7926982000-04-10 22:22:31 +0000211
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000212SYS_FUNC(madvise)
Wichert Akkermanc7926982000-04-10 22:22:31 +0000213{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000214 printaddr(tcp->u_arg[0]);
215 tprintf(", %lu, ", tcp->u_arg[1]);
216 printxval(madvise_cmds, tcp->u_arg[2], "MADV_???");
217
218 return RVAL_DECODED;
Wichert Akkermanc7926982000-04-10 22:22:31 +0000219}
220
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +0000221#include "xlat/mlockall_flags.h"
Wichert Akkermanc7926982000-04-10 22:22:31 +0000222
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000223SYS_FUNC(mlockall)
Wichert Akkermanc7926982000-04-10 22:22:31 +0000224{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000225 printflags(mlockall_flags, tcp->u_arg[0], "MCL_???");
226
227 return RVAL_DECODED;
Wichert Akkermanc7926982000-04-10 22:22:31 +0000228}
229
Dmitry V. Levin0ed617b2014-04-25 23:30:54 +0000230#include "xlat/mctl_sync.h"
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000231
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000232SYS_FUNC(msync)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000233{
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000234 /* addr */
235 printaddr(tcp->u_arg[0]);
236 /* len */
237 tprintf(", %lu, ", tcp->u_arg[1]);
238 /* flags */
239 printflags(mctl_sync, tcp->u_arg[2], "MS_???");
240
241 return RVAL_DECODED;
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000242}
243
Dmitry V. Levin0d0a50a2015-11-15 02:35:57 +0000244#include "xlat/mlock_flags.h"
245
246SYS_FUNC(mlock2)
247{
248 printaddr(tcp->u_arg[0]);
249 tprintf(", %lu, ", tcp->u_arg[1]);
250 printflags(mlock_flags, tcp->u_arg[2], "MLOCK_???");
251
252 return RVAL_DECODED;
253}
254
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000255SYS_FUNC(mincore)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000256{
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000257 if (entering(tcp)) {
Dmitry V. Levin2c389f62015-07-19 23:25:56 +0000258 printaddr(tcp->u_arg[0]);
259 tprintf(", %lu, ", tcp->u_arg[1]);
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000260 } else {
Dmitry V. Levindfea1da2016-01-29 01:51:54 +0000261 const unsigned long page_size = get_pagesize();
262 const unsigned long page_mask = page_size - 1;
263 unsigned long len = tcp->u_arg[1];
264 unsigned char *vec = NULL;
Denys Vlasenko1d46ba52011-08-31 14:00:02 +0200265
Dmitry V. Levindfea1da2016-01-29 01:51:54 +0000266 len = len / page_size + (len & page_mask ? 1 : 0);
Dmitry V. Levin2c389f62015-07-19 23:25:56 +0000267 if (syserror(tcp) || !verbose(tcp) ||
268 !tcp->u_arg[2] || !(vec = malloc(len)) ||
269 umoven(tcp, tcp->u_arg[2], len, vec) < 0)
270 printaddr(tcp->u_arg[2]);
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000271 else {
Dmitry V. Levindfea1da2016-01-29 01:51:54 +0000272 unsigned long i;
Denys Vlasenko60fe8c12011-09-01 10:00:28 +0200273 tprints("[");
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000274 for (i = 0; i < len; i++) {
275 if (abbrev(tcp) && i >= max_strlen) {
Denys Vlasenko60fe8c12011-09-01 10:00:28 +0200276 tprints("...");
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000277 break;
278 }
Denys Vlasenko60fe8c12011-09-01 10:00:28 +0200279 tprints((vec[i] & 1) ? "1" : "0");
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000280 }
Denys Vlasenko60fe8c12011-09-01 10:00:28 +0200281 tprints("]");
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000282 }
Denys Vlasenko1d46ba52011-08-31 14:00:02 +0200283 free(vec);
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000284 }
285 return 0;
286}
287
Dmitry V. Levinece9ce62015-07-21 15:55:09 +0000288#if defined ALPHA || defined IA64 || defined M68K \
289 || defined SPARC || defined SPARC64
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000290SYS_FUNC(getpagesize)
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000291{
Dmitry V. Levinb61b2d82016-01-08 19:20:05 +0000292 return RVAL_DECODED | RVAL_HEX;
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000293}
Denys Vlasenko84703742012-02-25 02:38:52 +0100294#endif
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000295
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000296SYS_FUNC(remap_file_pages)
Roland McGrath72c5b7b2003-03-05 04:08:00 +0000297{
Dmitry V. Levin3ae86902016-04-01 15:31:23 +0000298 const unsigned long addr = tcp->u_arg[0];
299 const unsigned long size = tcp->u_arg[1];
300 const unsigned long prot = tcp->u_arg[2];
301 const unsigned long pgoff = tcp->u_arg[3];
302 const unsigned long flags = tcp->u_arg[4];
303
304 printaddr(addr);
305 tprintf(", %lu, ", size);
Dmitry V. Levin11681142016-05-16 22:58:45 +0000306 printflags_long(mmap_prot, prot, "PROT_???");
Dmitry V. Levin3ae86902016-04-01 15:31:23 +0000307 tprintf(", %lu, ", pgoff);
Roland McGrath72c5b7b2003-03-05 04:08:00 +0000308#ifdef MAP_TYPE
Dmitry V. Levin11681142016-05-16 22:58:45 +0000309 printxval_long(mmap_flags, flags & MAP_TYPE, "MAP_???");
Dmitry V. Levin3ae86902016-04-01 15:31:23 +0000310 addflags(mmap_flags, flags & ~MAP_TYPE);
Roland McGrath72c5b7b2003-03-05 04:08:00 +0000311#else
Dmitry V. Levin11681142016-05-16 22:58:45 +0000312 printflags_long(mmap_flags, flags, "MAP_???");
Roland McGrath72c5b7b2003-03-05 04:08:00 +0000313#endif
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000314
315 return RVAL_DECODED;
Roland McGrath72c5b7b2003-03-05 04:08:00 +0000316}
Roland McGrathb10a3352004-10-07 18:53:12 +0000317
Denys Vlasenko84703742012-02-25 02:38:52 +0100318#if defined(POWERPC)
Dmitry V. Levin0f04b9d2016-05-07 23:00:52 +0000319static bool
320print_protmap_entry(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data)
321{
322 tprintf("%#08x", * (unsigned int *) elem_buf);
323
324 return true;
325}
326
Dmitry V. Levina0bd3742015-04-07 01:36:50 +0000327SYS_FUNC(subpage_prot)
Roland McGrath4a6f6522008-08-25 03:09:16 +0000328{
Dmitry V. Levin0f04b9d2016-05-07 23:00:52 +0000329 unsigned long addr = tcp->u_arg[0];
330 unsigned long len = tcp->u_arg[1];
331 unsigned long nmemb = len >> 16;
332 unsigned long map = tcp->u_arg[2];
Roland McGrath4a6f6522008-08-25 03:09:16 +0000333
Dmitry V. Levin0f04b9d2016-05-07 23:00:52 +0000334 printaddr(addr);
335 tprintf(", %lu, ", len);
336
337 unsigned int entry;
338 print_array(tcp, map, nmemb, &entry, sizeof(entry),
339 umoven_or_printaddr, print_protmap_entry, 0);
Roland McGrath4a6f6522008-08-25 03:09:16 +0000340
Dmitry V. Levin85813ce2015-07-19 23:37:40 +0000341 return RVAL_DECODED;
Roland McGrath4a6f6522008-08-25 03:09:16 +0000342}
343#endif