1. 22 11月, 2008 10 次提交
  2. 20 11月, 2008 1 次提交
  3. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-3 · 8f15ea42
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8f15ea42
  4. 04 11月, 2008 1 次提交
  5. 31 10月, 2008 2 次提交
  6. 28 10月, 2008 1 次提交
  7. 17 10月, 2008 1 次提交
  8. 16 10月, 2008 2 次提交
  9. 14 10月, 2008 2 次提交
  10. 25 9月, 2008 2 次提交
  11. 23 9月, 2008 1 次提交
  12. 27 8月, 2008 1 次提交
    • E
      wan: Missing capability checks in sbni_ioctl() · f2455eb1
      Eugene Teo 提交于
      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->euid != 0 )    /* root only */
      1321             return  -EPERM;
      [...]
      1336     case  SIOCDEVSHWSTATE :
      1337         if( current->euid != 0 )    /* root only */
      1338             return  -EPERM;
      [...]
      1357     case  SIOCDEVENSLAVE :
      1358         if( current->euid != 0 )    /* root only */
      1359             return  -EPERM;
      [...]
      1372     case  SIOCDEVEMANSIPATE :
      1373         if( current->euid != 0 )    /* root only */
      1374             return  -EPERM;
      
      Here's my proposed fix:
      
      Missing capability checks.
      Signed-off-by: NEugene Teo <eugeneteo@kernel.sg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f2455eb1
  13. 07 8月, 2008 1 次提交
  14. 24 7月, 2008 11 次提交
  15. 22 7月, 2008 1 次提交
  16. 21 7月, 2008 1 次提交
    • A
      tty: Ldisc revamp · a352def2
      Alan Cox 提交于
      Move the line disciplines towards a conventional ->ops arrangement.  For
      the moment the actual 'tty_ldisc' struct in the tty is kept as part of
      the tty struct but this can then be changed if it turns out that when it
      all settles down we want to refcount ldiscs separately to the tty.
      
      Pull the ldisc code out of /proc and put it with our ldisc code.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a352def2
  17. 15 7月, 2008 1 次提交