blob: 571a49e00e01e46805d9f8e4d4168f0bb6d31c38 [file] [log] [blame]
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Test that the header defines the PROT_NONE protection option.
*
* @pt:MF
* @pt:SHM
* @pt:ADV
*/
#include <sys/mman.h>
#ifndef PROT_NONE
#error PROT_NONE not defined
#endif