Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
5ebb7935
Commit
5ebb7935
authored
Sep 29, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaked a variable name.
parent
c50a9076
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sysacls.c
lib/sysacls.c
+3
-4
No files found.
lib/sysacls.c
View file @
5ebb7935
...
@@ -2616,7 +2616,7 @@ int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T *tag_type_p, uint32 *b
...
@@ -2616,7 +2616,7 @@ int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T *tag_type_p, uint32 *b
acl_flagset_t
flagset
;
acl_flagset_t
flagset
;
acl_permset_t
permset
;
acl_permset_t
permset
;
uint32
bits
,
fb
,
bb
,
pb
;
uint32
bits
,
fb
,
bb
,
pb
;
int
user
_type
=
-
1
;
int
id
_type
=
-
1
;
int
rc
;
int
rc
;
if
(
acl_get_tag_type
(
entry
,
&
tag
)
!=
0
if
(
acl_get_tag_type
(
entry
,
&
tag
)
!=
0
...
@@ -2625,12 +2625,12 @@ int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T *tag_type_p, uint32 *b
...
@@ -2625,12 +2625,12 @@ int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T *tag_type_p, uint32 *b
||
(
uup
=
acl_get_qualifier
(
entry
))
==
NULL
)
||
(
uup
=
acl_get_qualifier
(
entry
))
==
NULL
)
return
-
1
;
return
-
1
;
rc
=
mbr_uuid_to_id
(
*
uup
,
u_g_id_p
,
&
user
_type
);
rc
=
mbr_uuid_to_id
(
*
uup
,
u_g_id_p
,
&
id
_type
);
acl_free
(
uup
);
acl_free
(
uup
);
if
(
rc
!=
0
)
if
(
rc
!=
0
)
return
rc
;
return
rc
;
if
(
user
_type
==
ID_TYPE_UID
)
if
(
id
_type
==
ID_TYPE_UID
)
*
tag_type_p
=
SMB_ACL_USER
;
*
tag_type_p
=
SMB_ACL_USER
;
else
else
*
tag_type_p
=
SMB_ACL_GROUP
;
*
tag_type_p
=
SMB_ACL_GROUP
;
...
@@ -2685,7 +2685,6 @@ int sys_acl_set_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T tag_type, uint32 bits,
...
@@ -2685,7 +2685,6 @@ int sys_acl_set_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T tag_type, uint32 bits,
acl_add_flag_np
(
flagset
,
fb
);
acl_add_flag_np
(
flagset
,
fb
);
}
}
/* Highest bit in "bits" is reserved for rsync's use. */
for
(
pb
=
(
1u
<<
1
),
bb
=
(
1u
<<
12
);
bb
<
(
1u
<<
25
);
pb
*=
2
,
bb
*=
2
)
{
for
(
pb
=
(
1u
<<
1
),
bb
=
(
1u
<<
12
);
bb
<
(
1u
<<
25
);
pb
*=
2
,
bb
*=
2
)
{
if
(
bits
&
bb
)
if
(
bits
&
bb
)
acl_add_perm
(
permset
,
pb
);
acl_add_perm
(
permset
,
pb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment