Re: XATTR_PAX, paxmark.sh, elog, icedtea, and maybe more

"Rick \"Zero_Chaos\" Farina" <[email protected]>
Newsgroups gmane.linux.gentoo.hardened
Message-ID <[email protected]>
On 12/13/2014 06:52 PM, Karl-Johan Karlsson wrote:
> So it works on ext4, but not ext3, even though both have the ext_attr flag on 
> disk. Any difference in kernel support?
> 
> 
> # uname -r
> 3.16.5-hardened
> 
> # gunzip -c /proc/config.gz | grep XATTR
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_TMPFS_XATTR=y
> CONFIG_PAX_XATTR_PAX_FLAGS=y
> 
> # gunzip -c /proc/config.gz | grep EXT[34]
> CONFIG_EXT3_FS=y
> CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
> CONFIG_EXT3_FS_XATTR=y
> # CONFIG_EXT3_FS_POSIX_ACL is not set
> CONFIG_EXT3_FS_SECURITY=y
> CONFIG_EXT4_FS=y
> CONFIG_EXT4_USE_FOR_EXT23=y
> # CONFIG_EXT4_FS_POSIX_ACL is not set
> CONFIG_EXT4_FS_SECURITY=y
> # CONFIG_EXT4_DEBUG is not set
> 
> 

just to narrow it down, can you remove the ext3 modules (or just build
it out of the kernel) and let the ext4 driver handle it?  ext4
filesystem driver handles ext2 and ext3, typically with much better results.

-Zero

> Not that I can see, especially with CONFIG_EXT4_USE_FOR_EXT23=y. And it should 
> be an automatic dependency anyway, since PAX_XATTR_PAX_FLAGS is set.
> 
> Which brings us to problem number three: why aren't xattrs working in 
> $PORTAGE_TMPDIR on ext3 when they are in /bin on ext4?
> 
> Problems one and two are clearly bugs, one in sys-apps/elfix and two in sys-
> apps/elfix or the documentation. Should I file them in Bugzilla, or is this 
> mail enough?
> 
> Problem three seems to be unique to this machine. Does anyone know what's 
> going on?
>
signature.asc (application/pgp-signature, 884 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJUjPdSAAoJEKXdFCfdEflKsusP/jrsX5uKVfXSoxHRO7c7QQZk
9uE2hJ6vI7MImte0me0/KJx3o5OIHuC3DtB0VdbEy8khlrcFOOPVuU9iDV3jLcTl
Ygdef+vDOjvduZfLZtR/XqhxUBLZ83uGryF2G75higlhRxta7mcFT3YHT9S+C1W7
1LuP/Lt4sQH8zY05Xk48koD7uegKrIYs1SPujzsuNgLKGvr+lcwkBQftsliGeiiH
w08J2Vr5ku5wMtuk6rtFQwW8vNF+9LX5R6N9r7QyPrLkSN3OclYEEULIdh9ZvEP7
67vK943u+pGIq6OjEjuAylDhoOtmAdMCYTXnf/+y7bHokf/Zwxktjg4RaAUfhfY7
wi1hTnA/K7wAuUI+WXsksJdnO7/AEb4lIwHS2q0RdhzRqrb4NDv+0kWNJo2tZ2pH
k0X3LcI2UdICOIoZEcXqzxun31RRQmUs1TOE+ySwZaqP+rIEhLsi4sTAIcg3IF01
ZCZoExlBh2WQbxVA4Ndiy8P/ztwlh45rM+MTYvvdFbieGB+AJJK6TaXurPjxwo/u
/FELDvEAh5zvE9PoITpPHUgCaogTX/Z2q3NI9gzWJ2SAmu2WtpBfDKIg2C7NpE3r
oRaCeo5veDYb19iHZ0V7Cp76/0mr+9uavZNRaqEk7dTcVUS26qec//c4ioUKtPx5
Ac0PKF6HRpiHZzeVvQtG
=bBzW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.