1*6bb51422Spooka /* $NetBSD: syspuffs_component.c,v 1.2 2016/01/26 23:12:17 pooka Exp $ */
2c195be46Spooka
3c195be46Spooka /*
4c195be46Spooka * Copyright (c) 2010 Antti Kantee. All Rights Reserved.
5c195be46Spooka *
6c195be46Spooka * Redistribution and use in source and binary forms, with or without
7c195be46Spooka * modification, are permitted provided that the following conditions
8c195be46Spooka * are met:
9c195be46Spooka * 1. Redistributions of source code must retain the above copyright
10c195be46Spooka * notice, this list of conditions and the following disclaimer.
11c195be46Spooka * 2. Redistributions in binary form must reproduce the above copyright
12c195be46Spooka * notice, this list of conditions and the following disclaimer in the
13c195be46Spooka * documentation and/or other materials provided with the distribution.
14c195be46Spooka *
15c195be46Spooka * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16c195be46Spooka * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17c195be46Spooka * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18c195be46Spooka * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19c195be46Spooka * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20c195be46Spooka * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21c195be46Spooka * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22c195be46Spooka * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23c195be46Spooka * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24c195be46Spooka * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25c195be46Spooka * SUCH DAMAGE.
26c195be46Spooka */
27c195be46Spooka
28c195be46Spooka #include <sys/cdefs.h>
29*6bb51422Spooka __KERNEL_RCSID(0, "$NetBSD: syspuffs_component.c,v 1.2 2016/01/26 23:12:17 pooka Exp $");
30c195be46Spooka
31c195be46Spooka #include <sys/param.h>
32c195be46Spooka #include <sys/conf.h>
33c195be46Spooka #include <sys/device.h>
34c195be46Spooka #include <sys/filedesc.h>
35c195be46Spooka #include <sys/stat.h>
36c195be46Spooka #include <sys/vfs_syscalls.h>
37c195be46Spooka
38*6bb51422Spooka #include <rump-sys/kern.h>
39c195be46Spooka
RUMP_COMPONENT(RUMP_COMPONENT_VFS)40c195be46Spooka RUMP_COMPONENT(RUMP_COMPONENT_VFS)
41c195be46Spooka {
42c195be46Spooka
43c195be46Spooka FLAWLESSCALL(do_sys_symlink("putter", "/dev/puffs", UIO_SYSSPACE));
44c195be46Spooka }
45