← Back to team overview

kernel-packages team mailing list archive

[Bug 1328230] [NEW] powerpc: sendfile64() limitation up to 2^31

 

Public bug reported:

    commit 8f9c0119d7ba (compat: fs: Generic compat_sys_sendfile
    implementation) changed the PowerPC 64bit sendfile call from
    sys_sendile64 to sys_sendfile.
    
    Unfortunately this broke sendfile of lengths greater than 2G because
    sys_sendfile caps at MAX_NON_LFS. Restore what we had previously which
    fixes the bug.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Tim Gardner (timg-tpi)
         Status: Fix Committed

** Affects: linux (Ubuntu Trusty)
     Importance: Undecided
     Assignee: Tim Gardner (timg-tpi)
         Status: In Progress

** Affects: linux (Ubuntu Utopic)
     Importance: Undecided
     Assignee: Tim Gardner (timg-tpi)
         Status: Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1328230

Title:
  powerpc: sendfile64() limitation up to 2^31

Status in “linux” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Trusty:
  In Progress
Status in “linux” source package in Utopic:
  Fix Committed

Bug description:
      commit 8f9c0119d7ba (compat: fs: Generic compat_sys_sendfile
      implementation) changed the PowerPC 64bit sendfile call from
      sys_sendile64 to sys_sendfile.
      
      Unfortunately this broke sendfile of lengths greater than 2G because
      sys_sendfile caps at MAX_NON_LFS. Restore what we had previously which
      fixes the bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1328230/+subscriptions


Follow ups

References