Changeset View
Changeset View
Standalone View
Standalone View
fs/common/fstest_rumpfs.c
/* $NetBSD: fstest_rumpfs.c,v 1.2 2014/03/16 10:28:03 njoly Exp $ */ | /* $NetBSD: fstest_rumpfs.c,v 1.3 2020/06/17 00:16:21 kamil Exp $ */ | ||||
/*- | /*- | ||||
* Copyright (c) 2010 The NetBSD Foundation, Inc. | * Copyright (c) 2010 The NetBSD Foundation, Inc. | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* This code is derived from software contributed to The NetBSD Foundation | * This code is derived from software contributed to The NetBSD Foundation | ||||
* by Nicolas Joly. | * by Nicolas Joly. | ||||
* | * | ||||
Show All 24 Lines | |||||
#include <atf-c.h> | #include <atf-c.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <rump/rump.h> | #include <rump/rump.h> | ||||
#include <rump/rump_syscallshotgun.h> | |||||
#include <rump/rump_syscalls.h> | #include <rump/rump_syscalls.h> | ||||
#include "h_fsmacros.h" | #include "h_fsmacros.h" | ||||
int | int | ||||
rumpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, | rumpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, | ||||
off_t size, void *fspriv) | off_t size, void *fspriv) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |