12769Sahl /*
22769Sahl * CDDL HEADER START
32769Sahl *
42769Sahl * The contents of this file are subject to the terms of the
52769Sahl * Common Development and Distribution License (the "License").
62769Sahl * You may not use this file except in compliance with the License.
72769Sahl *
82769Sahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92769Sahl * or http://www.opensolaris.org/os/licensing.
102769Sahl * See the License for the specific language governing permissions
112769Sahl * and limitations under the License.
122769Sahl *
132769Sahl * When distributing Covered Code, include this CDDL HEADER in each
142769Sahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152769Sahl * If applicable, add the following below this CDDL HEADER, with the
162769Sahl * fields enclosed by brackets "[]" replaced with your own identifying
172769Sahl * information: Portions Copyright [yyyy] [name of copyright owner]
182769Sahl *
192769Sahl * CDDL HEADER END
202769Sahl */
212769Sahl
222769Sahl /*
23*5427Ssamf * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
242769Sahl * Use is subject to license terms.
252769Sahl */
262769Sahl
272769Sahl #pragma ident "%Z%%M% %I% %E% SMI"
282769Sahl
29*5427Ssamf #include <stdio.h>
30*5427Ssamf #include <sys/syscall.h>
312769Sahl
322769Sahl /*ARGSUSED*/
332769Sahl int
main(int argc,char ** argv)342769Sahl main(int argc, char **argv)
352769Sahl {
362769Sahl for (;;) {
37*5427Ssamf (void) syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
382769Sahl }
392769Sahl
402769Sahl return (0);
412769Sahl }
42