Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 388852 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]
Patch for aufs3-mmap.patch and hardened-sources
hardened-kernel.patch (text/plain), 1.92 KB, created by
Andrea Zuccherelli
on 2014-11-08 11:57:45 UTC
(
hide
)
Description:
Patch for aufs3-mmap.patch and hardened-sources
Filename:
MIME Type:
Creator:
Andrea Zuccherelli
Created:
2014-11-08 11:57:45 UTC
Size:
1.92 KB
patch
obsolete
>--- aufs3-mmap.patch.orig 2014-11-06 17:31:02.887891308 +0100 >+++ aufs3-mmap.patch 2014-11-06 18:00:21.129470412 +0100 >@@ -112,7 +112,7 @@ > +#define vmr_fput(region) vmr_do_fput(region, __func__, __LINE__) > +#endif /* CONFIG_MMU */ > + >- 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); > diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h >@@ -140,12 +140,12 @@ > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -412,7 +412,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); > diff --git a/mm/Makefile b/mm/Makefile >@@ -291,12 +291,11 @@ > > if (new->vm_ops && new->vm_ops->open) > new->vm_ops->open(new); >-@@ -2448,7 +2448,7 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma, >+@@ -2448,6 +2448,6 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma, > if (new->vm_ops && new->vm_ops->close) > new->vm_ops->close(new); > if (new->vm_file) > - fput(new->vm_file); > + vma_fput(new); >- unlink_anon_vmas(new); > out_free_mpol: > mpol_put(vma_policy(new));
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