git-xattr
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 23 Jul 2024 17:09:58 +0000 (19:09 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 23 Jul 2024 17:09:58 +0000 (19:09 +0200)
commit5ee36d512c4ef98c01fb068e45598ccc2042f407
treed2d5a505386541fcdc7ccb31b3c4dd7d4b47fbf8
parent9e3d372e1192dc537662936a63b21160bc751b86
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