• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/

Lines Matching refs:mode_t

46 	mode_t perms; /* Only use S_I(R|W|X)USR mode bits here. */
606 Map POSIX ACL perms to canon_ace permissions (a mode_t containing only S_(R|W|X)USR bits).
609 static mode_t convert_permset_to_mode_t(connection_struct *conn, SMB_ACL_PERMSET_T permset)
611 mode_t ret = 0;
621 Map generic UNIX permissions to canon_ace permissions (a mode_t containing only S_(R|W|X)USR bits).
624 static mode_t unix_perms_to_acl_perms(mode_t mode, int r_mask, int w_mask, int x_mask)
626 mode_t ret = 0;
639 Map canon_ace permissions (a mode_t containing only S_(R|W|X)USR bits) to
643 static int map_acl_perms_to_permset(connection_struct *conn, mode_t mode, SMB_ACL_PERMSET_T *p_permset)
844 } else if ((ace->perms & ALL_ACE_PERMS) == (mode_t)0) {
878 Map NT perms to a UNIX mode_t.
885 static mode_t map_nt_perms( uint32 *mask, int type)
887 mode_t mode = 0;
998 static void apply_default_perms(files_struct *fsp, canon_ace *pace, mode_t type)
1001 mode_t and_bits = (mode_t)0;
1002 mode_t or_bits = (mode_t)0;
1429 * Map the given NT permissions into a UNIX mode_t containing only
1701 if (curr_ace->perms == (mode_t)0) {
1756 mode_t new_perms = (mode_t)0;
1775 curr_ace->perms = (mode_t)0;
1847 curr_ace->perms = (mode_t)0;
1898 static mode_t create_default_mode(files_struct *fsp, BOOL interitable_mode)
1901 mode_t and_bits = (mode_t)0;
1902 mode_t or_bits = (mode_t)0;
1903 mode_t mode = interitable_mode
2107 mode_t acl_mask = (S_IRUSR|S_IWUSR|S_IXUSR);
2309 mode_t mask_perms = 0;
2405 * Convert the mode_t perms in the canon_ace to a POSIX permset.
2579 static BOOL convert_canon_ace_to_posix_perms( files_struct *fsp, canon_ace *file_ace_list, mode_t *posix_perms)
2587 mode_t and_bits;
2588 mode_t or_bits;
2611 *posix_perms = (mode_t)0;
3096 mode_t orig_mode = (mode_t)0;
3275 mode_t posix_perms;
3340 int get_acl_group_bits( connection_struct *conn, const char *fname, mode_t *mode )
3384 static int chmod_acl_internals( connection_struct *conn, SMB_ACL_T posix_acl, mode_t mode)
3393 mode_t perms;
3454 static int copy_access_acl(connection_struct *conn, const char *from, const char *to, mode_t mode)
3479 int chmod_acl(connection_struct *conn, const char *name, mode_t mode)
3490 const char *name, mode_t mode)
3503 int fchmod_acl(files_struct *fsp, int fd, mode_t mode)