aboutsummaryrefslogtreecommitdiffstats
path: root/sys/darwin/fh.txt
blob: 86ea4a71658648a5c74b87ead6b8f404fab2ba0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

include <stdint.h>
include <sys/types.h>
include <sys/mount.h>

getfh(file ptr[in, filename], fhp ptr[out, fhandle])

fhopen(fhp ptr[in, fhandle], flags flags[open_flags]) fd

fhandle {
	fh_len	int32
	fh_data	array[int8, NFS_MAX_FH_SIZE]
}