fuse_ipc.h (8aafc8c3894e5d5d302bd04d88aec04d719b4377) fuse_ipc.h (ed74f781c9f704092556f860a00b0bb53fdedff7)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2007-2009 Google Inc. and Amit Singh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 218 unchanged lines hidden (view full) ---

227#define FSESS_INITED 0x0004 /* session has been inited */
228#define FSESS_DAEMON_CAN_SPY 0x0010 /* let non-owners access this fs */
229 /* (and being observed by the daemon) */
230#define FSESS_PUSH_SYMLINKS_IN 0x0020 /* prefix absolute symlinks with mp */
231#define FSESS_DEFAULT_PERMISSIONS 0x0040 /* kernel does permission checking */
232#define FSESS_ASYNC_READ 0x1000 /* allow multiple reads of some file */
233#define FSESS_POSIX_LOCKS 0x2000 /* daemon supports POSIX locks */
234#define FSESS_EXPORT_SUPPORT 0x10000 /* daemon supports NFS-style lookups */
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2007-2009 Google Inc. and Amit Singh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 218 unchanged lines hidden (view full) ---

227#define FSESS_INITED 0x0004 /* session has been inited */
228#define FSESS_DAEMON_CAN_SPY 0x0010 /* let non-owners access this fs */
229 /* (and being observed by the daemon) */
230#define FSESS_PUSH_SYMLINKS_IN 0x0020 /* prefix absolute symlinks with mp */
231#define FSESS_DEFAULT_PERMISSIONS 0x0040 /* kernel does permission checking */
232#define FSESS_ASYNC_READ 0x1000 /* allow multiple reads of some file */
233#define FSESS_POSIX_LOCKS 0x2000 /* daemon supports POSIX locks */
234#define FSESS_EXPORT_SUPPORT 0x10000 /* daemon supports NFS-style lookups */
235#define FSESS_INTR 0x20000 /* interruptible mounts */
235#define FSESS_MNTOPTS_MASK ( \
236 FSESS_DAEMON_CAN_SPY | FSESS_PUSH_SYMLINKS_IN | \
236#define FSESS_MNTOPTS_MASK ( \
237 FSESS_DAEMON_CAN_SPY | FSESS_PUSH_SYMLINKS_IN | \
237 FSESS_DEFAULT_PERMISSIONS)
238 FSESS_DEFAULT_PERMISSIONS | FSESS_INTR)
238
239extern int fuse_data_cache_mode;
240
241static inline struct fuse_data *
242fuse_get_mpdata(struct mount *mp)
243{
244 return mp->mnt_data;
245}

--- 182 unchanged lines hidden ---
239
240extern int fuse_data_cache_mode;
241
242static inline struct fuse_data *
243fuse_get_mpdata(struct mount *mp)
244{
245 return mp->mnt_data;
246}

--- 182 unchanged lines hidden ---