Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381388 Details for
Bug 497646
sys-fs/aufs3 patch fails for hardened-sources 3.11.7 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
aufs3-hardened-3.15.patch
aufs3-hardened-3.15.patch (text/plain), 1.84 KB, created by
Jason Zaman
on 2014-07-22 20:07:01 UTC
(
hide
)
Description:
aufs3-hardened-3.15.patch
Filename:
MIME Type:
Creator:
Jason Zaman
Created:
2014-07-22 20:07:01 UTC
Size:
1.84 KB
patch
obsolete
>--- aufs3-standalone-base-mmap-combined.orig.patch 2014-07-22 23:19:45.058853643 +0400 >+++ aufs3-standalone-base-mmap-combined.patch 2014-07-22 23:56:17.952854144 +0400 >@@ -518,9 +518,9 @@ > +#define vma_get_file(vma) vma_do_get_file(vma, __func__, __LINE__) > +#define vma_fput(vma) vma_do_fput(vma, __func__, __LINE__) > + >- extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write); >- extern int access_remote_vm(struct mm_struct *mm, unsigned long addr, >- void *buf, int len, int write); >+ extern ssize_t access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, size_t len, int write); >+ extern ssize_t access_remote_vm(struct mm_struct *mm, unsigned long addr, >+ void *buf, size_t len, int write); > only in patch2: > unchanged: > --- a/include/linux/mm_types.h >@@ -546,14 +546,14 @@ > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -416,7 +416,7 @@ static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) >- struct inode *inode = file_inode(file); >- struct address_space *mapping = file->f_mapping; >+ struct inode *inode = file_inode(file); >+ struct address_space *mapping = file->f_mapping; > >-- get_file(file); >-+ vma_get_file(tmp); >- if (tmp->vm_flags & VM_DENYWRITE) >- atomic_dec(&inode->i_writecount); >- mutex_lock(&mapping->i_mmap_mutex); >+- get_file(file); >++ vma_get_file(tmp); >+ if (tmp->vm_flags & VM_DENYWRITE) >+ atomic_dec(&inode->i_writecount); >+ mutex_lock(&mapping->i_mmap_mutex); > only in patch2: > unchanged: > --- a/mm/filemap.c >@@ -681,9 +681,9 @@ > if (new->vm_file) > - fput(new->vm_file); > + vma_fput(new); >- unlink_anon_vmas(new); > out_free_mpol: > mpol_put(vma_policy(new)); >+ out_free_vma: > @@ -2840,7 +2840,7 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, > if (anon_vma_clone(new_vma, vma)) > goto out_free_mempol;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 497646
:
367804
|
367808
|
373978
|
373980
| 381388 |
381556
|
388648
|
388850
|
388852
|
388854
|
388856
|
388858