git-xattr
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 10 Jun 2024 20:25:19 +0000 (22:25 +0200)
committerSamuel Thibault <sthibault@debian.org>
Mon, 10 Jun 2024 20:25:19 +0000 (22:25 +0200)
commitf513466f8d29fae7ca39c94b6bec6f186eaffe36
treed179a2e9494a474b719949ba3e6b8892c5a30edf
parentb66428753cb049c5b6e671afaf4bd202eed90d54
git-xattr

commit 74f9ee3b91931967df5601ad63a4b02f5cd75b43
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 10 21:56:13 2024 +0200

    hurd: Fix lsetxattr return value

    The manpage says that lsetxattr returns 0 on success, like setxattr.

commit ba5a23422a156804234dff6c5be89e20ee8f9ec2
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 10 21:57:53 2024 +0200

    hurd: Fix getxattr("gnu.translator") returning ENODATA

    When no translator is set, __file_get_translator would return EINVAL
    which is a confusing value. Better check for a passive translation
    before getting the value.

commit ed06248019908dd4f286552594ac3ec844ef3da4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 10 22:00:20 2024 +0200

    hurd: Fix setxattr return value on replacing

    When XATTR_REPLACE is set we shall succeed when the value already
    exists, and fail with ENODATA otherwise, instead of the converse.

commit 5968125f55a3a3f3394e4ebe45e1f96d4864c576
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jun 10 22:01:40 2024 +0200

    hurd: Fix getxattr/listxattr returning ERANGE

    The manpage says that when the passed size is zero, they should set the
    expected size and return 0. ERANGE shall be returned only when the non-zero
    passed size is not large enough.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-xattr.diff
hurd/xattr.c
sysdeps/mach/hurd/lsetxattr.c