github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/darwin/fh.txt (about)

     1  # Copyright 2020 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  include <stdint.h>
     5  include <sys/types.h>
     6  include <sys/mount.h>
     7  
     8  getfh(file ptr[in, filename], fhp ptr[out, fhandle])
     9  
    10  fhopen(fhp ptr[in, fhandle], flags flags[open_flags]) fd
    11  
    12  fhandle {
    13  	fh_len	int32
    14  	fh_data	array[int8, NFS_MAX_FH_SIZE]
    15  }