Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: fuse.h
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
[0] Fix | Delete
/*
[1] Fix | Delete
This file defines the kernel interface of FUSE
[2] Fix | Delete
Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
[3] Fix | Delete
[4] Fix | Delete
This program can be distributed under the terms of the GNU GPL.
[5] Fix | Delete
See the file COPYING.
[6] Fix | Delete
[7] Fix | Delete
This -- and only this -- header file may also be distributed under
[8] Fix | Delete
the terms of the BSD Licence as follows:
[9] Fix | Delete
[10] Fix | Delete
Copyright (C) 2001-2007 Miklos Szeredi. All rights reserved.
[11] Fix | Delete
[12] Fix | Delete
Redistribution and use in source and binary forms, with or without
[13] Fix | Delete
modification, are permitted provided that the following conditions
[14] Fix | Delete
are met:
[15] Fix | Delete
1. Redistributions of source code must retain the above copyright
[16] Fix | Delete
notice, this list of conditions and the following disclaimer.
[17] Fix | Delete
2. Redistributions in binary form must reproduce the above copyright
[18] Fix | Delete
notice, this list of conditions and the following disclaimer in the
[19] Fix | Delete
documentation and/or other materials provided with the distribution.
[20] Fix | Delete
[21] Fix | Delete
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
[22] Fix | Delete
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[23] Fix | Delete
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[24] Fix | Delete
ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
[25] Fix | Delete
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[26] Fix | Delete
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[27] Fix | Delete
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[28] Fix | Delete
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[29] Fix | Delete
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[30] Fix | Delete
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[31] Fix | Delete
SUCH DAMAGE.
[32] Fix | Delete
*/
[33] Fix | Delete
[34] Fix | Delete
/*
[35] Fix | Delete
* This file defines the kernel interface of FUSE
[36] Fix | Delete
*
[37] Fix | Delete
* Protocol changelog:
[38] Fix | Delete
*
[39] Fix | Delete
* 7.1:
[40] Fix | Delete
* - add the following messages:
[41] Fix | Delete
* FUSE_SETATTR, FUSE_SYMLINK, FUSE_MKNOD, FUSE_MKDIR, FUSE_UNLINK,
[42] Fix | Delete
* FUSE_RMDIR, FUSE_RENAME, FUSE_LINK, FUSE_OPEN, FUSE_READ, FUSE_WRITE,
[43] Fix | Delete
* FUSE_RELEASE, FUSE_FSYNC, FUSE_FLUSH, FUSE_SETXATTR, FUSE_GETXATTR,
[44] Fix | Delete
* FUSE_LISTXATTR, FUSE_REMOVEXATTR, FUSE_OPENDIR, FUSE_READDIR,
[45] Fix | Delete
* FUSE_RELEASEDIR
[46] Fix | Delete
* - add padding to messages to accommodate 32-bit servers on 64-bit kernels
[47] Fix | Delete
*
[48] Fix | Delete
* 7.2:
[49] Fix | Delete
* - add FOPEN_DIRECT_IO and FOPEN_KEEP_CACHE flags
[50] Fix | Delete
* - add FUSE_FSYNCDIR message
[51] Fix | Delete
*
[52] Fix | Delete
* 7.3:
[53] Fix | Delete
* - add FUSE_ACCESS message
[54] Fix | Delete
* - add FUSE_CREATE message
[55] Fix | Delete
* - add filehandle to fuse_setattr_in
[56] Fix | Delete
*
[57] Fix | Delete
* 7.4:
[58] Fix | Delete
* - add frsize to fuse_kstatfs
[59] Fix | Delete
* - clean up request size limit checking
[60] Fix | Delete
*
[61] Fix | Delete
* 7.5:
[62] Fix | Delete
* - add flags and max_write to fuse_init_out
[63] Fix | Delete
*
[64] Fix | Delete
* 7.6:
[65] Fix | Delete
* - add max_readahead to fuse_init_in and fuse_init_out
[66] Fix | Delete
*
[67] Fix | Delete
* 7.7:
[68] Fix | Delete
* - add FUSE_INTERRUPT message
[69] Fix | Delete
* - add POSIX file lock support
[70] Fix | Delete
*
[71] Fix | Delete
* 7.8:
[72] Fix | Delete
* - add lock_owner and flags fields to fuse_release_in
[73] Fix | Delete
* - add FUSE_BMAP message
[74] Fix | Delete
* - add FUSE_DESTROY message
[75] Fix | Delete
*
[76] Fix | Delete
* 7.9:
[77] Fix | Delete
* - new fuse_getattr_in input argument of GETATTR
[78] Fix | Delete
* - add lk_flags in fuse_lk_in
[79] Fix | Delete
* - add lock_owner field to fuse_setattr_in, fuse_read_in and fuse_write_in
[80] Fix | Delete
* - add blksize field to fuse_attr
[81] Fix | Delete
* - add file flags field to fuse_read_in and fuse_write_in
[82] Fix | Delete
* - Add ATIME_NOW and MTIME_NOW flags to fuse_setattr_in
[83] Fix | Delete
*
[84] Fix | Delete
* 7.10
[85] Fix | Delete
* - add nonseekable open flag
[86] Fix | Delete
*
[87] Fix | Delete
* 7.11
[88] Fix | Delete
* - add IOCTL message
[89] Fix | Delete
* - add unsolicited notification support
[90] Fix | Delete
* - add POLL message and NOTIFY_POLL notification
[91] Fix | Delete
*
[92] Fix | Delete
* 7.12
[93] Fix | Delete
* - add umask flag to input argument of create, mknod and mkdir
[94] Fix | Delete
* - add notification messages for invalidation of inodes and
[95] Fix | Delete
* directory entries
[96] Fix | Delete
*
[97] Fix | Delete
* 7.13
[98] Fix | Delete
* - make max number of background requests and congestion threshold
[99] Fix | Delete
* tunables
[100] Fix | Delete
*
[101] Fix | Delete
* 7.14
[102] Fix | Delete
* - add splice support to fuse device
[103] Fix | Delete
*
[104] Fix | Delete
* 7.15
[105] Fix | Delete
* - add store notify
[106] Fix | Delete
* - add retrieve notify
[107] Fix | Delete
*
[108] Fix | Delete
* 7.16
[109] Fix | Delete
* - add BATCH_FORGET request
[110] Fix | Delete
* - FUSE_IOCTL_UNRESTRICTED shall now return with array of 'struct
[111] Fix | Delete
* fuse_ioctl_iovec' instead of ambiguous 'struct iovec'
[112] Fix | Delete
* - add FUSE_IOCTL_32BIT flag
[113] Fix | Delete
*
[114] Fix | Delete
* 7.17
[115] Fix | Delete
* - add FUSE_FLOCK_LOCKS and FUSE_RELEASE_FLOCK_UNLOCK
[116] Fix | Delete
*
[117] Fix | Delete
* 7.18
[118] Fix | Delete
* - add FUSE_IOCTL_DIR flag
[119] Fix | Delete
* - add FUSE_NOTIFY_DELETE
[120] Fix | Delete
*
[121] Fix | Delete
* 7.19
[122] Fix | Delete
* - add FUSE_FALLOCATE
[123] Fix | Delete
*
[124] Fix | Delete
* 7.20
[125] Fix | Delete
* - add FUSE_AUTO_INVAL_DATA
[126] Fix | Delete
*
[127] Fix | Delete
* 7.21
[128] Fix | Delete
* - add FUSE_READDIRPLUS
[129] Fix | Delete
* - send the requested events in POLL request
[130] Fix | Delete
*
[131] Fix | Delete
* 7.22
[132] Fix | Delete
* - add FUSE_ASYNC_DIO
[133] Fix | Delete
*
[134] Fix | Delete
* 7.23
[135] Fix | Delete
* - add FUSE_WRITEBACK_CACHE
[136] Fix | Delete
* - add time_gran to fuse_init_out
[137] Fix | Delete
* - add reserved space to fuse_init_out
[138] Fix | Delete
* - add FATTR_CTIME
[139] Fix | Delete
* - add ctime and ctimensec to fuse_setattr_in
[140] Fix | Delete
* - add FUSE_RENAME2 request
[141] Fix | Delete
* - add FUSE_NO_OPEN_SUPPORT flag
[142] Fix | Delete
*
[143] Fix | Delete
* 7.24
[144] Fix | Delete
* - add FUSE_LSEEK for SEEK_HOLE and SEEK_DATA support
[145] Fix | Delete
*
[146] Fix | Delete
* 7.25
[147] Fix | Delete
* - add FUSE_PARALLEL_DIROPS
[148] Fix | Delete
*
[149] Fix | Delete
* 7.26
[150] Fix | Delete
* - add FUSE_HANDLE_KILLPRIV
[151] Fix | Delete
* - add FUSE_POSIX_ACL
[152] Fix | Delete
*
[153] Fix | Delete
* 7.27
[154] Fix | Delete
* - add FUSE_ABORT_ERROR
[155] Fix | Delete
*
[156] Fix | Delete
* 7.28
[157] Fix | Delete
* - add FUSE_COPY_FILE_RANGE
[158] Fix | Delete
* - add FOPEN_CACHE_DIR
[159] Fix | Delete
* - add FUSE_MAX_PAGES, add max_pages to init_out
[160] Fix | Delete
* - add FUSE_CACHE_SYMLINKS
[161] Fix | Delete
*
[162] Fix | Delete
* 7.29
[163] Fix | Delete
* - add FUSE_NO_OPENDIR_SUPPORT flag
[164] Fix | Delete
*
[165] Fix | Delete
* 7.30
[166] Fix | Delete
* - add FUSE_EXPLICIT_INVAL_DATA
[167] Fix | Delete
* - add FUSE_IOCTL_COMPAT_X32
[168] Fix | Delete
*
[169] Fix | Delete
* 7.31
[170] Fix | Delete
* - add FUSE_WRITE_KILL_PRIV flag
[171] Fix | Delete
* - add FUSE_SETUPMAPPING and FUSE_REMOVEMAPPING
[172] Fix | Delete
* - add map_alignment to fuse_init_out, add FUSE_MAP_ALIGNMENT flag
[173] Fix | Delete
*
[174] Fix | Delete
* 7.32
[175] Fix | Delete
* - add flags to fuse_attr, add FUSE_ATTR_SUBMOUNT, add FUSE_SUBMOUNTS
[176] Fix | Delete
*
[177] Fix | Delete
* 7.33
[178] Fix | Delete
* - add FUSE_HANDLE_KILLPRIV_V2, FUSE_WRITE_KILL_SUIDGID, FATTR_KILL_SUIDGID
[179] Fix | Delete
* - add FUSE_OPEN_KILL_SUIDGID
[180] Fix | Delete
* - extend fuse_setxattr_in, add FUSE_SETXATTR_EXT
[181] Fix | Delete
* - add FUSE_SETXATTR_ACL_KILL_SGID
[182] Fix | Delete
* - add FUSE_EXPIRE_ONLY flag to fuse_notify_inval_entry
[183] Fix | Delete
* - add FUSE_HAS_EXPIRE_ONLY
[184] Fix | Delete
*
[185] Fix | Delete
* 7.34
[186] Fix | Delete
* - add FUSE_SYNCFS
[187] Fix | Delete
*/
[188] Fix | Delete
[189] Fix | Delete
#ifndef _LINUX_FUSE_H
[190] Fix | Delete
#define _LINUX_FUSE_H
[191] Fix | Delete
[192] Fix | Delete
#include <stdint.h>
[193] Fix | Delete
[194] Fix | Delete
/*
[195] Fix | Delete
* Version negotiation:
[196] Fix | Delete
*
[197] Fix | Delete
* Both the kernel and userspace send the version they support in the
[198] Fix | Delete
* INIT request and reply respectively.
[199] Fix | Delete
*
[200] Fix | Delete
* If the major versions match then both shall use the smallest
[201] Fix | Delete
* of the two minor versions for communication.
[202] Fix | Delete
*
[203] Fix | Delete
* If the kernel supports a larger major version, then userspace shall
[204] Fix | Delete
* reply with the major version it supports, ignore the rest of the
[205] Fix | Delete
* INIT message and expect a new INIT message from the kernel with a
[206] Fix | Delete
* matching major version.
[207] Fix | Delete
*
[208] Fix | Delete
* If the library supports a larger major version, then it shall fall
[209] Fix | Delete
* back to the major protocol version sent by the kernel for
[210] Fix | Delete
* communication and reply with that major version (and an arbitrary
[211] Fix | Delete
* supported minor version).
[212] Fix | Delete
*/
[213] Fix | Delete
[214] Fix | Delete
/** Version number of this interface */
[215] Fix | Delete
#define FUSE_KERNEL_VERSION 7
[216] Fix | Delete
[217] Fix | Delete
/** Minor version number of this interface */
[218] Fix | Delete
#define FUSE_KERNEL_MINOR_VERSION 34
[219] Fix | Delete
[220] Fix | Delete
/** The node ID of the root inode */
[221] Fix | Delete
#define FUSE_ROOT_ID 1
[222] Fix | Delete
[223] Fix | Delete
/* Make sure all structures are padded to 64bit boundary, so 32bit
[224] Fix | Delete
userspace works under 64bit kernels */
[225] Fix | Delete
[226] Fix | Delete
struct fuse_attr {
[227] Fix | Delete
uint64_t ino;
[228] Fix | Delete
uint64_t size;
[229] Fix | Delete
uint64_t blocks;
[230] Fix | Delete
uint64_t atime;
[231] Fix | Delete
uint64_t mtime;
[232] Fix | Delete
uint64_t ctime;
[233] Fix | Delete
uint32_t atimensec;
[234] Fix | Delete
uint32_t mtimensec;
[235] Fix | Delete
uint32_t ctimensec;
[236] Fix | Delete
uint32_t mode;
[237] Fix | Delete
uint32_t nlink;
[238] Fix | Delete
uint32_t uid;
[239] Fix | Delete
uint32_t gid;
[240] Fix | Delete
uint32_t rdev;
[241] Fix | Delete
uint32_t blksize;
[242] Fix | Delete
uint32_t flags;
[243] Fix | Delete
};
[244] Fix | Delete
[245] Fix | Delete
struct fuse_kstatfs {
[246] Fix | Delete
uint64_t blocks;
[247] Fix | Delete
uint64_t bfree;
[248] Fix | Delete
uint64_t bavail;
[249] Fix | Delete
uint64_t files;
[250] Fix | Delete
uint64_t ffree;
[251] Fix | Delete
uint32_t bsize;
[252] Fix | Delete
uint32_t namelen;
[253] Fix | Delete
uint32_t frsize;
[254] Fix | Delete
uint32_t padding;
[255] Fix | Delete
uint32_t spare[6];
[256] Fix | Delete
};
[257] Fix | Delete
[258] Fix | Delete
struct fuse_file_lock {
[259] Fix | Delete
uint64_t start;
[260] Fix | Delete
uint64_t end;
[261] Fix | Delete
uint32_t type;
[262] Fix | Delete
uint32_t pid; /* tgid */
[263] Fix | Delete
};
[264] Fix | Delete
[265] Fix | Delete
/**
[266] Fix | Delete
* Bitmasks for fuse_setattr_in.valid
[267] Fix | Delete
*/
[268] Fix | Delete
#define FATTR_MODE (1 << 0)
[269] Fix | Delete
#define FATTR_UID (1 << 1)
[270] Fix | Delete
#define FATTR_GID (1 << 2)
[271] Fix | Delete
#define FATTR_SIZE (1 << 3)
[272] Fix | Delete
#define FATTR_ATIME (1 << 4)
[273] Fix | Delete
#define FATTR_MTIME (1 << 5)
[274] Fix | Delete
#define FATTR_FH (1 << 6)
[275] Fix | Delete
#define FATTR_ATIME_NOW (1 << 7)
[276] Fix | Delete
#define FATTR_MTIME_NOW (1 << 8)
[277] Fix | Delete
#define FATTR_LOCKOWNER (1 << 9)
[278] Fix | Delete
#define FATTR_CTIME (1 << 10)
[279] Fix | Delete
#define FATTR_KILL_SUIDGID (1 << 11)
[280] Fix | Delete
[281] Fix | Delete
/**
[282] Fix | Delete
* Flags returned by the OPEN request
[283] Fix | Delete
*
[284] Fix | Delete
* FOPEN_DIRECT_IO: bypass page cache for this open file
[285] Fix | Delete
* FOPEN_KEEP_CACHE: don't invalidate the data cache on open
[286] Fix | Delete
* FOPEN_NONSEEKABLE: the file is not seekable
[287] Fix | Delete
* FOPEN_CACHE_DIR: allow caching this directory
[288] Fix | Delete
*/
[289] Fix | Delete
#define FOPEN_DIRECT_IO (1 << 0)
[290] Fix | Delete
#define FOPEN_KEEP_CACHE (1 << 1)
[291] Fix | Delete
#define FOPEN_NONSEEKABLE (1 << 2)
[292] Fix | Delete
#define FOPEN_CACHE_DIR (1 << 3)
[293] Fix | Delete
[294] Fix | Delete
/**
[295] Fix | Delete
* INIT request/reply flags
[296] Fix | Delete
*
[297] Fix | Delete
* FUSE_ASYNC_READ: asynchronous read requests
[298] Fix | Delete
* FUSE_POSIX_LOCKS: remote locking for POSIX file locks
[299] Fix | Delete
* FUSE_FILE_OPS: kernel sends file handle for fstat, etc... (not yet supported)
[300] Fix | Delete
* FUSE_ATOMIC_O_TRUNC: handles the O_TRUNC open flag in the filesystem
[301] Fix | Delete
* FUSE_EXPORT_SUPPORT: filesystem handles lookups of "." and ".."
[302] Fix | Delete
* FUSE_BIG_WRITES: filesystem can handle write size larger than 4kB
[303] Fix | Delete
* FUSE_DONT_MASK: don't apply umask to file mode on create operations
[304] Fix | Delete
* FUSE_SPLICE_WRITE: kernel supports splice write on the device
[305] Fix | Delete
* FUSE_SPLICE_MOVE: kernel supports splice move on the device
[306] Fix | Delete
* FUSE_SPLICE_READ: kernel supports splice read on the device
[307] Fix | Delete
* FUSE_FLOCK_LOCKS: remote locking for BSD style file locks
[308] Fix | Delete
* FUSE_HAS_IOCTL_DIR: kernel supports ioctl on directories
[309] Fix | Delete
* FUSE_AUTO_INVAL_DATA: automatically invalidate cached pages
[310] Fix | Delete
* FUSE_DO_READDIRPLUS: do READDIRPLUS (READDIR+LOOKUP in one)
[311] Fix | Delete
* FUSE_READDIRPLUS_AUTO: adaptive readdirplus
[312] Fix | Delete
* FUSE_ASYNC_DIO: asynchronous direct I/O submission
[313] Fix | Delete
* FUSE_WRITEBACK_CACHE: use writeback cache for buffered writes
[314] Fix | Delete
* FUSE_NO_OPEN_SUPPORT: kernel supports zero-message opens
[315] Fix | Delete
* FUSE_PARALLEL_DIROPS: allow parallel lookups and readdir
[316] Fix | Delete
* FUSE_HANDLE_KILLPRIV: fs handles killing suid/sgid/cap on write/chown/trunc
[317] Fix | Delete
* FUSE_POSIX_ACL: filesystem supports posix acls
[318] Fix | Delete
* FUSE_ABORT_ERROR: reading the device after abort returns ECONNABORTED
[319] Fix | Delete
* FUSE_MAX_PAGES: init_out.max_pages contains the max number of req pages
[320] Fix | Delete
* FUSE_CACHE_SYMLINKS: cache READLINK responses
[321] Fix | Delete
* FUSE_NO_OPENDIR_SUPPORT: kernel supports zero-message opendir
[322] Fix | Delete
* FUSE_EXPLICIT_INVAL_DATA: only invalidate cached pages on explicit request
[323] Fix | Delete
* FUSE_MAP_ALIGNMENT: init_out.map_alignment contains log2(byte alignment) for
[324] Fix | Delete
* foffset and moffset fields in struct
[325] Fix | Delete
* fuse_setupmapping_out and fuse_removemapping_one.
[326] Fix | Delete
* FUSE_SUBMOUNTS: kernel supports auto-mounting directory submounts
[327] Fix | Delete
* FUSE_HANDLE_KILLPRIV_V2: fs kills suid/sgid/cap on write/chown/trunc.
[328] Fix | Delete
* Upon write/truncate suid/sgid is only killed if caller
[329] Fix | Delete
* does not have CAP_FSETID. Additionally upon
[330] Fix | Delete
* write/truncate sgid is killed only if file has group
[331] Fix | Delete
* execute permission. (Same as Linux VFS behavior).
[332] Fix | Delete
* FUSE_SETXATTR_EXT: Server supports extended struct fuse_setxattr_in
[333] Fix | Delete
* FUSE_INIT_EXT: extended fuse_init_in request
[334] Fix | Delete
* FUSE_INIT_RESERVED: reserved, do not use
[335] Fix | Delete
* FUSE_HAS_EXPIRE_ONLY: kernel supports expiry-only entry invalidation
[336] Fix | Delete
*/
[337] Fix | Delete
#define FUSE_ASYNC_READ (1 << 0)
[338] Fix | Delete
#define FUSE_POSIX_LOCKS (1 << 1)
[339] Fix | Delete
#define FUSE_FILE_OPS (1 << 2)
[340] Fix | Delete
#define FUSE_ATOMIC_O_TRUNC (1 << 3)
[341] Fix | Delete
#define FUSE_EXPORT_SUPPORT (1 << 4)
[342] Fix | Delete
#define FUSE_BIG_WRITES (1 << 5)
[343] Fix | Delete
#define FUSE_DONT_MASK (1 << 6)
[344] Fix | Delete
#define FUSE_SPLICE_WRITE (1 << 7)
[345] Fix | Delete
#define FUSE_SPLICE_MOVE (1 << 8)
[346] Fix | Delete
#define FUSE_SPLICE_READ (1 << 9)
[347] Fix | Delete
#define FUSE_FLOCK_LOCKS (1 << 10)
[348] Fix | Delete
#define FUSE_HAS_IOCTL_DIR (1 << 11)
[349] Fix | Delete
#define FUSE_AUTO_INVAL_DATA (1 << 12)
[350] Fix | Delete
#define FUSE_DO_READDIRPLUS (1 << 13)
[351] Fix | Delete
#define FUSE_READDIRPLUS_AUTO (1 << 14)
[352] Fix | Delete
#define FUSE_ASYNC_DIO (1 << 15)
[353] Fix | Delete
#define FUSE_WRITEBACK_CACHE (1 << 16)
[354] Fix | Delete
#define FUSE_NO_OPEN_SUPPORT (1 << 17)
[355] Fix | Delete
#define FUSE_PARALLEL_DIROPS (1 << 18)
[356] Fix | Delete
#define FUSE_HANDLE_KILLPRIV (1 << 19)
[357] Fix | Delete
#define FUSE_POSIX_ACL (1 << 20)
[358] Fix | Delete
#define FUSE_ABORT_ERROR (1 << 21)
[359] Fix | Delete
#define FUSE_MAX_PAGES (1 << 22)
[360] Fix | Delete
#define FUSE_CACHE_SYMLINKS (1 << 23)
[361] Fix | Delete
#define FUSE_NO_OPENDIR_SUPPORT (1 << 24)
[362] Fix | Delete
#define FUSE_EXPLICIT_INVAL_DATA (1 << 25)
[363] Fix | Delete
#define FUSE_MAP_ALIGNMENT (1 << 26)
[364] Fix | Delete
#define FUSE_SUBMOUNTS (1 << 27)
[365] Fix | Delete
#define FUSE_HANDLE_KILLPRIV_V2 (1 << 28)
[366] Fix | Delete
#define FUSE_SETXATTR_EXT (1 << 29)
[367] Fix | Delete
#define FUSE_INIT_EXT (1 << 30)
[368] Fix | Delete
#define FUSE_INIT_RESERVED (1 << 31)
[369] Fix | Delete
/* bits 32..63 get shifted down 32 bits into the flags2 field */
[370] Fix | Delete
#define FUSE_HAS_EXPIRE_ONLY (1ULL << 35)
[371] Fix | Delete
[372] Fix | Delete
/**
[373] Fix | Delete
* CUSE INIT request/reply flags
[374] Fix | Delete
*
[375] Fix | Delete
* CUSE_UNRESTRICTED_IOCTL: use unrestricted ioctl
[376] Fix | Delete
*/
[377] Fix | Delete
#define CUSE_UNRESTRICTED_IOCTL (1 << 0)
[378] Fix | Delete
[379] Fix | Delete
/**
[380] Fix | Delete
* Release flags
[381] Fix | Delete
*/
[382] Fix | Delete
#define FUSE_RELEASE_FLUSH (1 << 0)
[383] Fix | Delete
#define FUSE_RELEASE_FLOCK_UNLOCK (1 << 1)
[384] Fix | Delete
[385] Fix | Delete
/**
[386] Fix | Delete
* Getattr flags
[387] Fix | Delete
*/
[388] Fix | Delete
#define FUSE_GETATTR_FH (1 << 0)
[389] Fix | Delete
[390] Fix | Delete
/**
[391] Fix | Delete
* Lock flags
[392] Fix | Delete
*/
[393] Fix | Delete
#define FUSE_LK_FLOCK (1 << 0)
[394] Fix | Delete
[395] Fix | Delete
/**
[396] Fix | Delete
* WRITE flags
[397] Fix | Delete
*
[398] Fix | Delete
* FUSE_WRITE_CACHE: delayed write from page cache, file handle is guessed
[399] Fix | Delete
* FUSE_WRITE_LOCKOWNER: lock_owner field is valid
[400] Fix | Delete
* FUSE_WRITE_KILL_SUIDGID: kill suid and sgid bits
[401] Fix | Delete
*/
[402] Fix | Delete
#define FUSE_WRITE_CACHE (1 << 0)
[403] Fix | Delete
#define FUSE_WRITE_LOCKOWNER (1 << 1)
[404] Fix | Delete
#define FUSE_WRITE_KILL_SUIDGID (1 << 2)
[405] Fix | Delete
[406] Fix | Delete
/* Obsolete alias; this flag implies killing suid/sgid only. */
[407] Fix | Delete
#define FUSE_WRITE_KILL_PRIV FUSE_WRITE_KILL_SUIDGID
[408] Fix | Delete
[409] Fix | Delete
/**
[410] Fix | Delete
* Read flags
[411] Fix | Delete
*/
[412] Fix | Delete
#define FUSE_READ_LOCKOWNER (1 << 1)
[413] Fix | Delete
[414] Fix | Delete
/**
[415] Fix | Delete
* Ioctl flags
[416] Fix | Delete
*
[417] Fix | Delete
* FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine
[418] Fix | Delete
* FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed
[419] Fix | Delete
* FUSE_IOCTL_RETRY: retry with new iovecs
[420] Fix | Delete
* FUSE_IOCTL_32BIT: 32bit ioctl
[421] Fix | Delete
* FUSE_IOCTL_DIR: is a directory
[422] Fix | Delete
* FUSE_IOCTL_COMPAT_X32: x32 compat ioctl on 64bit machine (64bit time_t)
[423] Fix | Delete
*
[424] Fix | Delete
* FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs
[425] Fix | Delete
*/
[426] Fix | Delete
#define FUSE_IOCTL_COMPAT (1 << 0)
[427] Fix | Delete
#define FUSE_IOCTL_UNRESTRICTED (1 << 1)
[428] Fix | Delete
#define FUSE_IOCTL_RETRY (1 << 2)
[429] Fix | Delete
#define FUSE_IOCTL_32BIT (1 << 3)
[430] Fix | Delete
#define FUSE_IOCTL_DIR (1 << 4)
[431] Fix | Delete
#define FUSE_IOCTL_COMPAT_X32 (1 << 5)
[432] Fix | Delete
[433] Fix | Delete
#define FUSE_IOCTL_MAX_IOV 256
[434] Fix | Delete
[435] Fix | Delete
/**
[436] Fix | Delete
* Poll flags
[437] Fix | Delete
*
[438] Fix | Delete
* FUSE_POLL_SCHEDULE_NOTIFY: request poll notify
[439] Fix | Delete
*/
[440] Fix | Delete
#define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0)
[441] Fix | Delete
[442] Fix | Delete
/**
[443] Fix | Delete
* Fsync flags
[444] Fix | Delete
*
[445] Fix | Delete
* FUSE_FSYNC_FDATASYNC: Sync data only, not metadata
[446] Fix | Delete
*/
[447] Fix | Delete
#define FUSE_FSYNC_FDATASYNC (1 << 0)
[448] Fix | Delete
[449] Fix | Delete
/**
[450] Fix | Delete
* fuse_attr flags
[451] Fix | Delete
*
[452] Fix | Delete
* FUSE_ATTR_SUBMOUNT: Object is a submount root
[453] Fix | Delete
*/
[454] Fix | Delete
#define FUSE_ATTR_SUBMOUNT (1 << 0)
[455] Fix | Delete
[456] Fix | Delete
/**
[457] Fix | Delete
* Open flags
[458] Fix | Delete
* FUSE_OPEN_KILL_SUIDGID: Kill suid and sgid if executable
[459] Fix | Delete
*/
[460] Fix | Delete
#define FUSE_OPEN_KILL_SUIDGID (1 << 0)
[461] Fix | Delete
[462] Fix | Delete
/**
[463] Fix | Delete
* setxattr flags
[464] Fix | Delete
* FUSE_SETXATTR_ACL_KILL_SGID: Clear SGID when system.posix_acl_access is set
[465] Fix | Delete
*/
[466] Fix | Delete
#define FUSE_SETXATTR_ACL_KILL_SGID (1 << 0)
[467] Fix | Delete
[468] Fix | Delete
/**
[469] Fix | Delete
* notify_inval_entry flags
[470] Fix | Delete
* FUSE_EXPIRE_ONLY
[471] Fix | Delete
*/
[472] Fix | Delete
#define FUSE_EXPIRE_ONLY (1 << 0)
[473] Fix | Delete
[474] Fix | Delete
enum fuse_opcode {
[475] Fix | Delete
FUSE_LOOKUP = 1,
[476] Fix | Delete
FUSE_FORGET = 2, /* no reply */
[477] Fix | Delete
FUSE_GETATTR = 3,
[478] Fix | Delete
FUSE_SETATTR = 4,
[479] Fix | Delete
FUSE_READLINK = 5,
[480] Fix | Delete
FUSE_SYMLINK = 6,
[481] Fix | Delete
FUSE_MKNOD = 8,
[482] Fix | Delete
FUSE_MKDIR = 9,
[483] Fix | Delete
FUSE_UNLINK = 10,
[484] Fix | Delete
FUSE_RMDIR = 11,
[485] Fix | Delete
FUSE_RENAME = 12,
[486] Fix | Delete
FUSE_LINK = 13,
[487] Fix | Delete
FUSE_OPEN = 14,
[488] Fix | Delete
FUSE_READ = 15,
[489] Fix | Delete
FUSE_WRITE = 16,
[490] Fix | Delete
FUSE_STATFS = 17,
[491] Fix | Delete
FUSE_RELEASE = 18,
[492] Fix | Delete
FUSE_FSYNC = 20,
[493] Fix | Delete
FUSE_SETXATTR = 21,
[494] Fix | Delete
FUSE_GETXATTR = 22,
[495] Fix | Delete
FUSE_LISTXATTR = 23,
[496] Fix | Delete
FUSE_REMOVEXATTR = 24,
[497] Fix | Delete
FUSE_FLUSH = 25,
[498] Fix | Delete
FUSE_INIT = 26,
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function