a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync/* $Id$ */
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync/** @file
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * Hardened main() template.
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync */
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync/*
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * Copyright (C) 2008-2014 Oracle Corporation
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync *
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * available from http://www.virtualbox.org. This file is free software;
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * you can redistribute it and/or modify it under the terms of the GNU
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * General Public License (GPL) as published by the Free Software
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cfc8decfb112615a9234408470daf8403647ae09vboxsync *
cfc8decfb112615a9234408470daf8403647ae09vboxsync * The contents of this file may alternatively be used under the terms
cfc8decfb112615a9234408470daf8403647ae09vboxsync * of the Common Development and Distribution License Version 1.0
cfc8decfb112615a9234408470daf8403647ae09vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
cfc8decfb112615a9234408470daf8403647ae09vboxsync * VirtualBox OSE distribution, in which case the provisions of the
cfc8decfb112615a9234408470daf8403647ae09vboxsync * CDDL are applicable instead of those of the GPL.
cfc8decfb112615a9234408470daf8403647ae09vboxsync *
cfc8decfb112615a9234408470daf8403647ae09vboxsync * You may elect to license modified versions of this file under the
cfc8decfb112615a9234408470daf8403647ae09vboxsync * terms and conditions of either the GPL or the CDDL or both.
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync */
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync#include <VBox/sup.h>
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsyncint main(int argc, char **argv, char **envp)
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync{
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync return SUPR3HardenedMain(PROGRAM_NAME_STR, 0, argc, argv, envp);
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync}
a0ed9c35186427ae0abbd14b1cfdf43bf2dc8659vboxsync