<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/9p, branch v2.6.26</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.26</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.26'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-05-15T00:23:27Z</updated>
<entry>
<title>9p: fix error path during early mount</title>
<updated>2008-05-15T00:23:27Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@opteron.9grid.us</email>
</author>
<published>2008-05-09T01:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=887b3ece65be7b643dfdae0d433c91a26a3f437d'/>
<id>urn:sha1:887b3ece65be7b643dfdae0d433c91a26a3f437d</id>
<content type='text'>
There was some cleanup issues during early mount which would trigger
a kernel bug for certain types of failure.  This patch reorganizes the
cleanup to get rid of the bad behavior.

This also merges the 9pnet and 9pnet_fd modules for the purpose of
configuration and initialization.  Keeping the fd transport separate
from the core 9pnet code seemed like a good idea at the time, but in
practice has caused more harm and confusion than good.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p: Documentation updates</title>
<updated>2008-05-15T00:23:25Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@ericvh-desktop.(none)</email>
</author>
<published>2008-03-05T13:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ee443996a35c1e04f210cafd43d5a98d41e46085'/>
<id>urn:sha1:ee443996a35c1e04f210cafd43d5a98d41e46085</id>
<content type='text'>
The kernel-doc comments of much of the 9p system have been in disarray since
reorganization.  This patch fixes those problems, adds additional documentation
and a template book which collects the 9p information.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p: transport API reorganization</title>
<updated>2008-02-07T01:25:03Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@opteron.homeip.net</email>
</author>
<published>2008-02-07T01:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8a0dc95fd976a052e5e799ef33e6c8e3141b5dff'/>
<id>urn:sha1:8a0dc95fd976a052e5e799ef33e6c8e3141b5dff</id>
<content type='text'>
This merges the mux.c (including the connection interface) with trans_fd
in preparation for transport API changes.  Ultimately, trans_fd will need
to be rewritten to clean it up and simplify the implementation, but this
reorganization is viewed as the first step.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: add support for sticky bit</title>
<updated>2008-02-07T01:25:06Z</updated>
<author>
<name>Anthony Liguori</name>
<email>aliguori@us.ibm.com</email>
</author>
<published>2008-02-07T01:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d199d652c513a010145a5a0d4e64c96361b97bee'/>
<id>urn:sha1:d199d652c513a010145a5a0d4e64c96361b97bee</id>
<content type='text'>
GDM gets unhappy if /var/gdm doesn't have the sticky bit set.  This patch adds
support for the sticky bit in much the same way setuid/setgid is supported.

With this patch, I can launch X from a v9fs rootfs (although I quickly run out
of fds in the server once gnome starts up).

Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
Acked-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: block-based virtio client</title>
<updated>2008-02-07T01:25:58Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@gmail.com</email>
</author>
<published>2008-02-07T01:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2735b7720320b68590ca2b32b78ca91213931b2'/>
<id>urn:sha1:e2735b7720320b68590ca2b32b78ca91213931b2</id>
<content type='text'>
This replaces the console-based virto client with a block-based
client using a single request queue.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: create transport rpc cut-thru</title>
<updated>2008-02-07T01:25:09Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@gmail.com</email>
</author>
<published>2008-02-07T01:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=043aba403e9958c6526c9279b63919273cb09c13'/>
<id>urn:sha1:043aba403e9958c6526c9279b63919273cb09c13</id>
<content type='text'>
Add a new transport function which allows a cut-thru directly to
the transport instead of processing request through the mux if the
cut-thru exists.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>Use helpers to obtain task pid in printks</title>
<updated>2007-10-19T18:53:43Z</updated>
<author>
<name>Pavel Emelyanov</name>
<email>xemul@openvz.org</email>
</author>
<published>2007-10-19T06:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba25f9dcc4ea6e30839fcab5a5516f2176d5bfed'/>
<id>urn:sha1:ba25f9dcc4ea6e30839fcab5a5516f2176d5bfed</id>
<content type='text'>
The task_struct-&gt;pid member is going to be deprecated, so start
using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in
the kernel.

The first thing to start with is the pid, printed to dmesg - in
this case we may safely use task_pid_nr(). Besides, printks produce
more (much more) than a half of all the explicit pid usage.

[akpm@linux-foundation.org: git-drm went and changed lots of stuff]
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Cc: Dave Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>9p: remove sysctl</title>
<updated>2007-10-17T19:35:15Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@ericvh-laptop.(none)</email>
</author>
<published>2007-10-17T19:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=982c37cfb6e61c0e64634abc2e305d757c1405b2'/>
<id>urn:sha1:982c37cfb6e61c0e64634abc2e305d757c1405b2</id>
<content type='text'>
A sysctl method was added to enable and disable debugging levels.  After
further review, it was decided that there are better approaches to doing this
and the sysctl methodology isn't really desirable.  This patch removes the
sysctl code from 9p.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
  
</content>
</entry>
<entry>
<title>9p: fix bad kconfig cross-dependency</title>
<updated>2007-10-17T19:31:07Z</updated>
<author>
<name>Eric Van Hensbergen</name>
<email>ericvh@ericvh-laptop.(none)</email>
</author>
<published>2007-10-17T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb0466c3ae7f1c73f70072af8fd27ac166908a2f'/>
<id>urn:sha1:fb0466c3ae7f1c73f70072af8fd27ac166908a2f</id>
<content type='text'>
This patch moves transport dynamic registration and matching to the net
module to prevent a bad Kconfig dependency between the net and fs 9p modules.

Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
<entry>
<title>9p: attach-per-user</title>
<updated>2007-10-17T19:31:07Z</updated>
<author>
<name>Latchesar Ionkov</name>
<email>lucho@ionkov.net</email>
</author>
<published>2007-10-17T19:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba17674fe02909fef049fd4b620a2805bdb8c693'/>
<id>urn:sha1:ba17674fe02909fef049fd4b620a2805bdb8c693</id>
<content type='text'>
The 9P2000 protocol requires the authentication and permission checks to be
done in the file server. For that reason every user that accesses the file
server tree has to authenticate and attach to the server separately.
Multiple users can share the same connection to the server.

Currently v9fs does a single attach and executes all I/O operations as a
single user. This makes using v9fs in multiuser environment unsafe as it
depends on the client doing the permission checking.

This patch improves the 9P2000 support by allowing every user to attach
separately. The patch defines three modes of access (new mount option
'access'):

- attach-per-user (access=user) (default mode for 9P2000.u)
 If a user tries to access a file served by v9fs for the first time, v9fs
 sends an attach command to the server (Tattach) specifying the user. If
 the attach succeeds, the user can access the v9fs tree.
 As there is no uname-&gt;uid (string-&gt;integer) mapping yet, this mode works
 only with the 9P2000.u dialect.

- allow only one user to access the tree (access=&lt;uid&gt;)
 Only the user with uid can access the v9fs tree. Other users that attempt
 to access it will get EPERM error.

- do all operations as a single user (access=any) (default for 9P2000)
 V9fs does a single attach and all operations are done as a single user.
 If this mode is selected, the v9fs behavior is identical with the current
 one.

Signed-off-by: Latchesar Ionkov &lt;lucho@ionkov.net&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;

</content>
</entry>
</feed>
