libarchive extattr i386/amd64 syscall issue

From: Dmitry Marakasov <amdmi3_at_amdmi3.ru>
Date: Thu, 4 Jun 2009 05:07:19 +0400
Hi!

The problem: on recent current, 32bit bsdtar won't write archives when
running under 64bit kernel, dying with exit code 140 and `Bad system call'
message. I've ran into that using i386 tinderbox jail on amd64 host.
The problem actually happens in libarchive:

--- lib/libarchive/archive_read_disk_entry_from_file.c ---
   484		if (!a->follow_symlinks)
   485			list_size = extattr_list_link(path, namespace, NULL, 0);   // <-- HERE
   486		else
   487			list_size = extattr_list_file(path, namespace, NULL, 0);
--- lib/libarchive/archive_read_disk_entry_from_file.c ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3_at_amdmi3.ru  ..:  jabber: amdmi3_at_jabber.ru    http://www.amdmi3.ru
Received on Wed Jun 03 2009 - 23:07:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC