Page MenuHomeFreeBSD

D19240.diff
No OneTemporary

D19240.diff

Index: head/lib/libc/posix1e/acl_strip.c
===================================================================
--- head/lib/libc/posix1e/acl_strip.c
+++ head/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,15 +103,7 @@
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;

File Metadata

Mime Type
text/plain
Expires
Sat, May 23, 7:49 PM (14 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33452931
Default Alt Text
D19240.diff (807 B)

Event Timeline