<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_stats.c, branch releng/6.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC Rev 1.75</title>
<updated>2006-03-13T03:04:07+00:00</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2006-03-13T03:04:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=80c0605a2b890fefc75de8e25bcaee6776472dbb'/>
<id>80c0605a2b890fefc75de8e25bcaee6776472dbb</id>
<content type='text'>
VFS SMP fixes, stack api, softupdates fixes.

Sponsored by:	Isilon Systems, Inc.
Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VFS SMP fixes, stack api, softupdates fixes.

Sponsored by:	Isilon Systems, Inc.
Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually only protect mount-point if security.jail.enforce_statfs is set to 2.</title>
<updated>2005-06-23T22:13:29+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-06-23T22:13:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=06a137780ba1073481ec2931fcdee3e64119066f'/>
<id>06a137780ba1073481ec2931fcdee3e64119066f</id>
<content type='text'>
If we don't return statistics about requested file systems, system tools
may not work correctly or at all.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we don't return statistics about requested file systems, system tools
may not work correctly or at all.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename sysctl security.jail.getfsstatroot_only to security.jail.enforce_statfs</title>
<updated>2005-06-09T18:49:19+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-06-09T18:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=820a0de9a9f91c1f7ea7407207d6d28664aa7b3c'/>
<id>820a0de9a9f91c1f7ea7407207d6d28664aa7b3c</id>
<content type='text'>
and extend its functionality:

value	policy
0	show all mount-points without any restrictions
1	show only mount-points below jail's chroot and show only part of the
	mount-point's path (if jail's chroot directory is /jails/foo and
	mount-point is /jails/foo/usr/home only /usr/home will be shown)
2	show only mount-point where jail's chroot directory is placed.

Default value is 2.

Discussed with:	rwatson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and extend its functionality:

value	policy
0	show all mount-points without any restrictions
1	show only mount-points below jail's chroot and show only part of the
	mount-point's path (if jail's chroot directory is /jails/foo and
	mount-point is /jails/foo/usr/home only /usr/home will be shown)
2	show only mount-point where jail's chroot directory is placed.

Default value is 2.

Discussed with:	rwatson
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove (now) unused argument 'td' from bsd_to_linux_statfs().</title>
<updated>2005-05-27T19:25:39+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-05-27T19:25:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d0cad55da8190d327dfa85295a39aecc02931c16'/>
<id>d0cad55da8190d327dfa85295a39aecc02931c16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The code is under '#ifdef not_that_way', but anyway:</title>
<updated>2005-05-22T22:30:31+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-05-22T22:30:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=672d95c55dcf81525f33ab529c1a28c3d354a76b'/>
<id>672d95c55dcf81525f33ab529c1a28c3d354a76b</id>
<content type='text'>
- Add missing prison_check_mount() check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add missing prison_check_mount() check.
</pre>
</div>
</content>
</entry>
<entry>
<title>If we need to hide fsid, kern_statfs()/kern_fstatfs() will do it for us,</title>
<updated>2005-05-22T21:52:30+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-05-22T21:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a0e96a49dfcfe3cc8736a37c1c2abb4503e166a1'/>
<id>a0e96a49dfcfe3cc8736a37c1c2abb4503e166a1</id>
<content type='text'>
so do not duplicate the code in cvtstatfs().
Note, that we now need to clear fsid in freebsd4_getfsstat().

This moves all security related checks from functions like cvtstatfs()
and will allow to add more security related stuff (like statfs(2), etc.
protection for jails) a bit easier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so do not duplicate the code in cvtstatfs().
Note, that we now need to clear fsid in freebsd4_getfsstat().

This moves all security related checks from functions like cvtstatfs()
and will allow to add more security related stuff (like statfs(2), etc.
protection for jails) a bit easier.
</pre>
</div>
</content>
</entry>
<entry>
<title>Neuter the duplicated disk-device magic code for now.  Somebody with</title>
<updated>2005-03-15T11:58:40+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-03-15T11:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bbbc2d967e7566506ad2d9aff6899eee7702081a'/>
<id>bbbc2d967e7566506ad2d9aff6899eee7702081a</id>
<content type='text'>
serious linux-clue is necessary to fix this properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
serious linux-clue is necessary to fix this properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Neuter linux_ustat() until somebody finds time to try to fix it.</title>
<updated>2005-02-22T13:39:46+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-02-22T13:39:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1e247cc2ce6bf1c2f04a1d7f60e7a29495ed3bdf'/>
<id>1e247cc2ce6bf1c2f04a1d7f60e7a29495ed3bdf</id>
<content type='text'>
The fundamental problem is that we get only the lower 8 bits of the
minor device number so there is no guarantee that we can actually
find the disk device in question at all.

This was probably a bigger issue pre-GEOM where the upper bits
signaled which slice were in use.

The secondary problem is how we get from (partial) dev_t to vnode.

The correct implementation will involve traversing the mount list
looking for a perfect match or a possible match (for truncated
minor).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fundamental problem is that we get only the lower 8 bits of the
minor device number so there is no guarantee that we can actually
find the disk device in question at all.

This was probably a bigger issue pre-GEOM where the upper bits
signaled which slice were in use.

The secondary problem is how we get from (partial) dev_t to vnode.

The correct implementation will involve traversing the mount list
looking for a perfect match or a possible match (for truncated
minor).
</pre>
</div>
</content>
</entry>
<entry>
<title>- Use kern_{l,f,}stat() and kern_{f,}statfs() functions rather than</title>
<updated>2005-02-07T18:47:28+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-02-07T18:47:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f7a2587298f9a755bba3704737aad1686ac6a959'/>
<id>f7a2587298f9a755bba3704737aad1686ac6a959</id>
<content type='text'>
  duplicating the contents of the same functions inline.
- Consolidate common code to convert a BSD statfs struct to a Linux struct
  into a static worker function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  duplicating the contents of the same functions inline.
- Consolidate common code to convert a BSD statfs struct to a Linux struct
  into a static worker function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Match the LINUX32's style with existing style</title>
<updated>2005-01-14T04:44:56+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-01-14T04:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1997c537be039b083d9156b1c8685ac9ff25e911'/>
<id>1997c537be039b083d9156b1c8685ac9ff25e911</id>
<content type='text'>
Submitted by:	Jung-uk Kim &lt;jkim@niksun.com&gt;

Use positive, not negative logic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Jung-uk Kim &lt;jkim@niksun.com&gt;

Use positive, not negative logic.
</pre>
</div>
</content>
</entry>
</feed>
