jail getfsstat patches.

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jun 27 03:20:21 PDT 2004


On Sun, Jun 27, 2004 at 08:59:32AM +0200, Pawel Jakub Dawidek wrote:
+> If you give me a few days (maybe I'll be ready today) I'll try to prepare
+> patch to commit so we can review it together.

Ok, here it goes:

	http://people.freebsd.org/~pjd/patches/jail_enforce_statfs.patch

As you can see, all mac_check_mount_stat() calls are placed after a
prison_canseemount() call, so we can considern moving mac_check_mount_stat()
to prison_canseemount() function.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040627/2cef4f81/attachment.bin


More information about the freebsd-current mailing list