Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151133987
D19240.id54053.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
848 B
Referenced Files
None
Subscribers
None
D19240.id54053.diff
View Options
Index: lib/libc/posix1e/acl_strip.c
===================================================================
--- lib/libc/posix1e/acl_strip.c
+++ lib/libc/posix1e/acl_strip.c
@@ -70,7 +70,6 @@
{
acl_t acl_new, acl_old;
acl_entry_t entry, entry_new;
- acl_permset_t perm;
acl_tag_t tag;
int entry_id, have_mask_entry;
@@ -104,16 +103,8 @@
case ACL_USER_OBJ:
case ACL_GROUP_OBJ:
case ACL_OTHER:
- if (acl_get_tag_type(entry, &tag) == -1)
- goto fail;
- if (acl_get_permset(entry, &perm) == -1)
- goto fail;
if (acl_create_entry(&acl_new, &entry_new) == -1)
goto fail;
- if (acl_set_tag_type(entry_new, tag) == -1)
- goto fail;
- if (acl_set_permset(entry_new, perm) == -1)
- goto fail;
if (acl_copy_entry(entry_new, entry) == -1)
goto fail;
assert(_entry_brand(entry_new) == ACL_BRAND_POSIX);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 7:53 AM (10 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31019506
Default Alt Text
D19240.id54053.diff (848 B)
Attached To
Mode
D19240: Remove redundant code in acl_strip
Attached
Detach File
Event Timeline
Log In to Comment