2b6e762c557496a41438c0b105d604f60c593682ahl/*
2b6e762c557496a41438c0b105d604f60c593682ahl * CDDL HEADER START
2b6e762c557496a41438c0b105d604f60c593682ahl *
2b6e762c557496a41438c0b105d604f60c593682ahl * The contents of this file are subject to the terms of the
2b6e762c557496a41438c0b105d604f60c593682ahl * Common Development and Distribution License (the "License").
2b6e762c557496a41438c0b105d604f60c593682ahl * You may not use this file except in compliance with the License.
2b6e762c557496a41438c0b105d604f60c593682ahl *
2b6e762c557496a41438c0b105d604f60c593682ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2b6e762c557496a41438c0b105d604f60c593682ahl * or http://www.opensolaris.org/os/licensing.
2b6e762c557496a41438c0b105d604f60c593682ahl * See the License for the specific language governing permissions
2b6e762c557496a41438c0b105d604f60c593682ahl * and limitations under the License.
2b6e762c557496a41438c0b105d604f60c593682ahl *
2b6e762c557496a41438c0b105d604f60c593682ahl * When distributing Covered Code, include this CDDL HEADER in each
2b6e762c557496a41438c0b105d604f60c593682ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2b6e762c557496a41438c0b105d604f60c593682ahl * If applicable, add the following below this CDDL HEADER, with the
2b6e762c557496a41438c0b105d604f60c593682ahl * fields enclosed by brackets "[]" replaced with your own identifying
2b6e762c557496a41438c0b105d604f60c593682ahl * information: Portions Copyright [yyyy] [name of copyright owner]
2b6e762c557496a41438c0b105d604f60c593682ahl *
2b6e762c557496a41438c0b105d604f60c593682ahl * CDDL HEADER END
2b6e762c557496a41438c0b105d604f60c593682ahl */
2b6e762c557496a41438c0b105d604f60c593682ahl
2b6e762c557496a41438c0b105d604f60c593682ahl/*
ef049e29cf099834a7d2659dff30b0c6a6871c5bsamf * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2b6e762c557496a41438c0b105d604f60c593682ahl * Use is subject to license terms.
2b6e762c557496a41438c0b105d604f60c593682ahl */
2b6e762c557496a41438c0b105d604f60c593682ahl
2b6e762c557496a41438c0b105d604f60c593682ahl#pragma ident "%Z%%M% %I% %E% SMI"
2b6e762c557496a41438c0b105d604f60c593682ahl
ef049e29cf099834a7d2659dff30b0c6a6871c5bsamf#include <stdio.h>
ef049e29cf099834a7d2659dff30b0c6a6871c5bsamf#include <sys/syscall.h>
2b6e762c557496a41438c0b105d604f60c593682ahl
2b6e762c557496a41438c0b105d604f60c593682ahl/*ARGSUSED*/
2b6e762c557496a41438c0b105d604f60c593682ahlint
2b6e762c557496a41438c0b105d604f60c593682ahlmain(int argc, char **argv)
2b6e762c557496a41438c0b105d604f60c593682ahl{
2b6e762c557496a41438c0b105d604f60c593682ahl for (;;) {
ef049e29cf099834a7d2659dff30b0c6a6871c5bsamf (void) syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
2b6e762c557496a41438c0b105d604f60c593682ahl }
2b6e762c557496a41438c0b105d604f60c593682ahl
2b6e762c557496a41438c0b105d604f60c593682ahl return (0);
2b6e762c557496a41438c0b105d604f60c593682ahl}