summaryrefslogtreecommitdiffstats
path: root/sys/lib
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2018-07-03 20:40:25 +0000
committerkettenis <kettenis@openbsd.org>2018-07-03 20:40:25 +0000
commitf3455eb0b8e16ab2d49d500c726897bd8a99a94d (patch)
treeff524b59b7165dce99b3f1b506bde7e56547570e /sys/lib
parentMake intrframe the exact same size as trapframe: instead of pushing (diff)
downloadwireguard-openbsd-f3455eb0b8e16ab2d49d500c726897bd8a99a94d.tar.xz
wireguard-openbsd-f3455eb0b8e16ab2d49d500c726897bd8a99a94d.zip
Add a new so_seek member to "struct file" such that we can have seekable
files that aren't vnodes. Move the vnode-specific code into its own function. Add an implementation for the "DMA buffers" that can be used by DRI3/prime code to find out the size of the graphics buffer. This implementation is very limited and only supports offset 0 and only for SEEK_SET and SEEK_END. This doesn't really make sense; implementing stat(2) would be a more obvious choice. But this is what Linux does. ok guenther@, visa@
Diffstat (limited to 'sys/lib')
0 files changed, 0 insertions, 0 deletions