jail getfsstat patches.

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jun 27 12:34:30 PDT 2004

On Sun, Jun 27, 2004 at 06:32:49PM +0000, Bjoern A. Zeeb wrote:
+> > It starts from:
+> >
+> > 	error = suser(td);
+> > 	if (error)
+> > 		return (error);
+> >
+> > So I don't think it is needed here, but we can put this there just in
+> > case of future changes.
+> for that and perhaps just for consistency with freebsd4_fhstatfs ?

This is not intended in freebsd4_fhstatfs(). It is there only because
cvtstatfs() is used also by freebsd4_statfs(), freebsd4_fstatfs() and
freebsd4_getfsstat(). Anyway. I updated the patch.

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/5f9ad0dd/attachment.bin

More information about the freebsd-current mailing list