Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 388648 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 and hardened-sources-3.14.17-r1
aufs3-standalone-base-mmap-combined.patch.patch (text/plain), 1.80 KB, created by
Andrea Zuccherelli
on 2014-11-06 00:57:35 UTC
(
hide
)
Description:
Patch for aufs3 and hardened-sources-3.14.17-r1
Filename:
MIME Type:
Creator:
Andrea Zuccherelli
Created:
2014-11-06 00:57:35 UTC
Size:
1.80 KB
patch
obsolete
>--- aufs3-standalone-base-mmap-combined.patch.orig 2014-10-17 22:29:51.000000000 +0200 >+++ aufs3-standalone-base-mmap-combined.patch 2014-10-31 00:32:39.860051658 +0100 >@@ -480,9 +480,9 @@ > +#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); > only in patch2: > unchanged: > --- a/include/linux/mm_types.h >@@ -508,14 +508,14 @@ > --- 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); > only in patch2: > unchanged: > --- a/mm/Makefile >@@ -665,9 +665,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: > @@ -2837,7 +2837,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