Home
last modified time | relevance | path

Searched +full:set +full:- +full:aces (Results 1 – 12 of 12) sorted by relevance

/linux/fs/smb/server/
H A Dsmbacl.c1 // SPDX-License-Identifier: LGPL-2.1+
38 /* S-1-22-1 Unmapped Unix users */
42 /* S-1-22-2 Unmapped Unix groups */
47 * See http://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
50 /* S-1-5-88 MS NFS and Apple style UID/GID/mode */
52 /* S-1-5-88-1 Unix uid */
57 /* S-1-5-88-2 Unix gid */
62 /* S-1-5-88-3 Unix mode */
69 * the same returns zero, if they do not match returns non-zero.
80 if (ctsid->revision != cwsid->revision) { in compare_sids()
[all …]
H A Dvfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/backing-dev.h>
43 if (!test_share_config_flag(work->tcon->share_conf, in ksmbd_vfs_inherit_owner()
51 * ksmbd_vfs_lock_parent() - lock parent dentry if it is stable
55 * Returns: %0 on success, %-ENOENT if the parent dentry is not stable
60 if (child->d_parent != parent) { in ksmbd_vfs_lock_parent()
62 return -ENOENT; in ksmbd_vfs_lock_parent()
75 struct path *root_share_path = &share_conf->vfs_path; in ksmbd_vfs_path_lookup_locked()
80 pathname = share_conf->path; in ksmbd_vfs_path_lookup_locked()
101 return -ENOENT; in ksmbd_vfs_path_lookup_locked()
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dsocionext,synquacer-spi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Socionext SynQuacer HS-SPI Controller
10 - Masahisa Kojima <masahisa.kojima@linaro.org>
11 - Jassi Brar <jaswinder.singh@linaro.org>
14 - $ref: spi-controller.yaml#
18 const: socionext,synquacer-spi
26 - description: core clock
[all …]
/linux/fs/nfs_common/
H A Dnfsacl.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de>
12 * - Minimal ACLs always have an ACL_MASK entry, so they have
14 * - The ACL_MASK entry in such minimal ACLs always has the same
17 * - The identifier fields of the ACL_USER_OBJ and ACL_GROUP_OBJ
19 * (In POSIX ACLs we always set them to ACL_UNDEFINED_ID).
20 * - ACL entries in the kernel are kept sorted in ascending order
57 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_encode()
59 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
60 switch(entry->e_tag) { in xdr_nfsace_encode()
[all …]
/linux/fs/smb/client/
H A Dcifsacl.h1 /* SPDX-License-Identifier: LGPL-2.1 */
26 * Security Descriptor length containing DACL with 3 ACEs (one each for
36 * matches names of fields to the spec, MS-DTYP (see sections 2.4.5 and
38 * match the MS-DTYP and MS-SMB2 specs which define the wire format.
42 __u8 Sbz1; /* only meaningful if 'RM' flag set below */
55 #define ACL_CONTROL_SI 0x0800 /* SACL Auto-Inherited */
56 #define ACL_CONTROL_DI 0x0400 /* DACL Auto-Inherited */
69 #define ACL_REVISION 0x02 /* See section 2.4.4.1 of MS-DTYP */
82 * See http://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
98 * and Groups such as NULL SID and World or Built-in accounts such
H A Dcifsglob.h1 /* SPDX-License-Identifier: LGPL-2.1 */
58 * max attribute cache timeout (jiffies) - 2^30
112 #define CIFS_DFS_ROOT_SES(ses) ((ses)->dfs_root_ses ?: (ses))
188 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
190 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */
192 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */
193 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */
213 struct smb_ace *aces; member
310 * message field DataRemaining for out-of-band data read (e.g through
339 /* set negotiated write size */
[all …]
H A Dcifssmb.c1 // SPDX-License-Identifier: LGPL-2.1
11 /* SMB/CIFS PDU handling routines here - except for leftovers in connect.c */
79 * tcp and smb session status done differently for those three - in the in cifs_reconnect_tcon()
85 ses = tcon->ses; in cifs_reconnect_tcon()
86 server = ses->server; in cifs_reconnect_tcon()
92 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon()
93 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon()
95 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
98 return -ENODEV; in cifs_reconnect_tcon()
101 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
[all …]
H A Dsmb2pdu.c1 // SPDX-License-Identifier: LGPL-2.1
13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */
78 if (!tcon || !tcon->ses) in smb3_encryption_required()
80 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required()
81 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required()
83 if (tcon->seal && in smb3_encryption_required()
84 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
87 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
99 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
100 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
[all …]
/linux/include/linux/
H A Dnfs_fs_sb.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/backing-dev.h>
32 int cl_cons_state; /* current construction state (-ve: init error) */
37 #define NFS_CS_CALLBACK 1 /* - callback started */
38 #define NFS_CS_IDMAP 2 /* - idmap started */
39 #define NFS_CS_RENEWD 3 /* - renewd started */
43 #define NFS_CS_NORESVPORT 0 /* - use ephemeral src port */
44 #define NFS_CS_DISCRTRY 1 /* - disconnect on RPC retry */
45 #define NFS_CS_MIGRATION 2 /* - transparent state migr */
46 #define NFS_CS_INFINITE_SLOTS 3 /* - don't limit TCP slots */
[all …]
/linux/fs/afs/
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 #include <linux/backing-dev.h>
39 * Partial file-locking emulation mode. (The problem being that AFS3 only
40 * allows whole-file locks and no upgrading/downgrading).
52 bool autocell; /* T if set auto mount operation */
55 enum afs_flock_mode flock_mode; /* Partial file-locking emulation mode */
126 * a record of an in-progress RxRPC call
145 union { /* Convenience for ->def_iter */
158 unsigned char probe_index; /* Address in ->probe_alist */
166 unsigned int max_lifespan; /* Maximum lifespan in secs to set if not 0 */
[all …]
/linux/fs/ntfs3/
H A Dfsntfs.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
18 // clang-format off
126 // clang-format on
129 * ntfs_fix_pre_write - Insert fixups into @rhdr before writing to disk.
135 u16 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_pre_write()
136 u16 fn = le16_to_cpu(rhdr->fix_num); in ntfs_fix_pre_write()
138 if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- || in ntfs_fix_pre_write()
153 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_pre_write()
155 while (fn--) { in ntfs_fix_pre_write()
[all …]
/linux/fs/nfs/
H A Dnfs4proc.c4 * Client-side procedure declarations for NFSv4.
125 label->lfs = 0; in nfs4_label_init_security()
126 label->pi = 0; in nfs4_label_init_security()
127 label->len = 0; in nfs4_label_init_security()
128 label->label = NULL; in nfs4_label_init_security()
130 err = security_dentry_init_security(dentry, sattr->ia_mode, in nfs4_label_init_security()
131 &dentry->d_name, NULL, in nfs4_label_init_security()
132 (void **)&label->label, &label->len); in nfs4_label_init_security()
142 security_release_secctx(label->label, label->len); in nfs4_label_release_security()
147 return server->attr_bitmask; in nfs4_bitmask()
[all …]