Hello, Current implementation of FreeBSD jails does not allow access to extattrs in system namespace from within a jail. I think, however, that there are cases when it is desirable to allow jailed root to access and modify system extended attributes. One case is running jailed Samba, which, under certain circumstances, may store information in system extended attributes.
Please find attached two patches, that solve this issue for me. They add additional jail parameter "allow.extattr_system". Being set to 1 this parameter allows jailed root to access and manipulate extattrs in the system namespace. I've tested the patches on 9.0-RELEASE. Are there any security concerns I may have overlooked? Are there any chance to see these patches commited to base? Best regards, Andrey.
jail_extaddr_system_kern.patch
Description: Binary data
jail_extaddr_system_user.patch
Description: Binary data
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "[email protected]"
