diff options
author | tedu <tedu@openbsd.org> | 2013-06-03 15:54:47 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2013-06-03 15:54:47 +0000 |
commit | 25175d86727deec481d0554c1a53c387bf678f24 (patch) | |
tree | 451aa5af8fbd8d49df93c59a41ad9f059fcf094f /sys/sys/conf.h | |
parent | remove bogus id tag (diff) | |
download | wireguard-openbsd-25175d86727deec481d0554c1a53c387bf678f24.tar.xz wireguard-openbsd-25175d86727deec481d0554c1a53c387bf678f24.zip |
changes for isc fuse support. not enabled. ok beck deraadt.
from Sylvestre Gallon ccna.syl gmail.com
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r-- | sys/sys/conf.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 14d24e31eee..72d82dd89b6 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.121 2013/04/19 15:02:41 florian Exp $ */ +/* $OpenBSD: conf.h,v 1.122 2013/06/03 15:54:48 tedu Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -509,6 +509,13 @@ extern struct cdevsw cdevsw[]; (dev_type_stop((*))) enodev, 0, selfalse, \ (dev_type_mmap((*))) enodev } +/* open, close, read, write, poll, ioctl */ +#define cdev_fuse_init(c,n) { \ + dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \ + dev_init(c,n,write), dev_init(c,n,ioctl), \ + (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \ + (dev_type_mmap((*))) enodev, 0, 0, dev_init(c,n,kqfilter) } + #endif /* @@ -655,6 +662,7 @@ cdev_decl(urio); cdev_decl(hotplug); cdev_decl(gpio); cdev_decl(amdmsr); +cdev_decl(fuse); #endif |