]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux(4): Fix listxattr for the case when the size is 0
authorDmitry Chagin <dchagin@FreeBSD.org>
Tue, 5 Sep 2023 08:51:46 +0000 (11:51 +0300)
committerDmitry Chagin <dchagin@FreeBSD.org>
Tue, 5 Sep 2023 08:51:46 +0000 (11:51 +0300)
commit18d1c86788f66f42c4e096142f4f8d168f68732c
tree60a29bb32975bb91e13c34176bf611ef72a731ac
parentef3a764bc5bed4bc071a81e04c4d3254010274c3
linux(4): Fix listxattr for the case when the size is 0

If size is specified as zero, these calls return the current size
of the list of extended attribute names (and leave list unchanged).

Tested by: zirias
MFC after: 1 week
sys/compat/linux/linux_xattr.c