<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/wan, branch v2.6.27.21</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>wan: Missing capability checks in sbni_ioctl()</title>
<updated>2008-08-27T11:50:30+00:00</updated>
<author>
<name>Eugene Teo</name>
<email>eugeneteo@kernel.sg</email>
</author>
<published>2008-08-27T11:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f2455eb176ac87081bbfc9a44b21c7cd2bc1967e'/>
<id>f2455eb176ac87081bbfc9a44b21c7cd2bc1967e</id>
<content type='text'>
There are missing capability checks in the following code:

1300 static int
1301 sbni_ioctl( struct net_device  *dev,  struct ifreq  *ifr,  int  cmd)
1302 {
[...]
1319     case  SIOCDEVRESINSTATS :
1320         if( current-&gt;euid != 0 )    /* root only */
1321             return  -EPERM;
[...]
1336     case  SIOCDEVSHWSTATE :
1337         if( current-&gt;euid != 0 )    /* root only */
1338             return  -EPERM;
[...]
1357     case  SIOCDEVENSLAVE :
1358         if( current-&gt;euid != 0 )    /* root only */
1359             return  -EPERM;
[...]
1372     case  SIOCDEVEMANSIPATE :
1373         if( current-&gt;euid != 0 )    /* root only */
1374             return  -EPERM;

Here's my proposed fix:

Missing capability checks.

Signed-off-by: Eugene Teo &lt;eugeneteo@kernel.sg&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are missing capability checks in the following code:

1300 static int
1301 sbni_ioctl( struct net_device  *dev,  struct ifreq  *ifr,  int  cmd)
1302 {
[...]
1319     case  SIOCDEVRESINSTATS :
1320         if( current-&gt;euid != 0 )    /* root only */
1321             return  -EPERM;
[...]
1336     case  SIOCDEVSHWSTATE :
1337         if( current-&gt;euid != 0 )    /* root only */
1338             return  -EPERM;
[...]
1357     case  SIOCDEVENSLAVE :
1358         if( current-&gt;euid != 0 )    /* root only */
1359             return  -EPERM;
[...]
1372     case  SIOCDEVEMANSIPATE :
1373         if( current-&gt;euid != 0 )    /* root only */
1374             return  -EPERM;

Here's my proposed fix:

Missing capability checks.

Signed-off-by: Eugene Teo &lt;eugeneteo@kernel.sg&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-jeff' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6 into tmp</title>
<updated>2008-08-07T08:05:46+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2008-08-07T08:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3859069bc3358772b08bd91efe9edec39a746ea8'/>
<id>3859069bc3358772b08bd91efe9edec39a746ea8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: remove extra help text from HDLC_PPP config option</title>
<updated>2008-08-07T08:00:03+00:00</updated>
<author>
<name>Krzysztof Halasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-06-30T20:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e2c709b0ba2886b5438b666222b4b3faf82d65a9'/>
<id>e2c709b0ba2886b5438b666222b4b3faf82d65a9</id>
<content type='text'>
Remove extra help text from HDLC_PPP config option.

Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove extra help text from HDLC_PPP config option.

Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Use u32 type instead of u_int32_t in LMC driver.</title>
<updated>2008-07-23T21:05:56+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-02T22:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=867240f7b2a37b1be4ba37d904a9064a96c82099'/>
<id>867240f7b2a37b1be4ba37d904a9064a96c82099</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Port LMC driver to generic HDLC</title>
<updated>2008-07-23T21:05:56+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-02T18:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=64bef7630ad5b0ccfdd73973e95cf7b7e39224d0'/>
<id>64bef7630ad5b0ccfdd73973e95cf7b7e39224d0</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Convert Zilog-based drivers to generic HDLC</title>
<updated>2008-07-23T21:05:55+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-02T15:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=52e8a6a2d8dc19002d1757870d16051157ce999c'/>
<id>52e8a6a2d8dc19002d1757870d16051157ce999c</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Port COSA driver to generic HDLC.</title>
<updated>2008-07-23T21:05:55+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-01T21:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aca257530f7d681b953961090ad729c32aa5ad62'/>
<id>aca257530f7d681b953961090ad729c32aa5ad62</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: farsync driver no longer uses syncppp.c directly</title>
<updated>2008-07-23T21:00:38+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-01T20:04:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0bee8db8f63b099412fdbce5b55b01d9f177951d'/>
<id>0bee8db8f63b099412fdbce5b55b01d9f177951d</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Convert PC300 driver to use normal u8/u16/u32 types</title>
<updated>2008-07-23T21:00:38+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-01T19:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b22267d3883ebc76093e9f36c4c738125e092402'/>
<id>b22267d3883ebc76093e9f36c4c738125e092402</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>WAN: Remove dead code from PC300 driver, part #2</title>
<updated>2008-07-23T21:00:38+00:00</updated>
<author>
<name>Krzysztof Hałasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2008-07-01T19:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c36936ce4bc6d2a0d6520bd798e85abbb139c2aa'/>
<id>c36936ce4bc6d2a0d6520bd798e85abbb139c2aa</id>
<content type='text'>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Krzysztof Hałasa &lt;khc@pm.waw.pl&gt;
</pre>
</div>
</content>
</entry>
</feed>
