diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-18 15:24:19 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-18 15:24:19 +0000 |
commit | 2629826981bdbdc880d9339bf086b238b5e2444b (patch) | |
tree | fc404adff8b04250e7e2b698a0bca575c4695973 /regress | |
parent | 819033ea7c0812216d20fe04c6729a3e038cfbd1 (diff) |
Change license to public domain and update comment.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/kern/mmap2/mmaptest.c | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/regress/sys/kern/mmap2/mmaptest.c b/regress/sys/kern/mmap2/mmaptest.c index 38301840c2f..08829331793 100644 --- a/regress/sys/kern/mmap2/mmaptest.c +++ b/regress/sys/kern/mmap2/mmaptest.c @@ -1,30 +1,6 @@ -/* $OpenBSD: mmaptest.c,v 1.2 2002/01/03 15:07:05 art Exp $ */ +/* $OpenBSD: mmaptest.c,v 1.3 2002/02/18 15:24:18 art Exp $ */ /* - * Copyright (c) 2001 Artur Grabowski <art@openbsd.org> - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Written by Artur Grabowski <art@openbsd.org>, 2001 Public Domain */ #include <stdio.h> @@ -37,8 +13,8 @@ #include <sys/mman.h> /* - * Map the same object in two places in memory. - * Should cause a cache alias on sparc. + * Map the same physical page in two places in memory. + * Should cause a cache alias on sparc and other VAC architectures. */ #define MAGIC "The voices in my head are trying to ignore me." |