Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 360718 Details for
Bug 487792
x11-drivers/ati-drivers - Memory leak with kernels >= 3.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix initial proc patch memory leak.
linux-3.10-proc2.patch (text/plain), 2.34 KB, created by
Mathieu Belanger
on 2013-10-12 16:43:14 UTC
(
hide
)
Description:
Patch to fix initial proc patch memory leak.
Filename:
MIME Type:
Creator:
Mathieu Belanger
Created:
2013-10-12 16:43:14 UTC
Size:
2.34 KB
patch
obsolete
>--- /common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2013-09-26 00:59:28.292596334 -0400 >+++ /common/lib/modules/fglrx/build_mod/firegl_public.c 2013-09-26 01:02:35.036252455 -0400 >@@ -821,7 +821,7 @@ static struct proc_dir_entry *firegl_pro > KCL_DEBUG1(FN_FIREGL_PROC, "minor %d, proc_list 0x%08lx\n", minor, (unsigned long)proc_list); > if (!minor) > { >- root = KCL_create_proc_dir(NULL, "ati", S_IRUGO|S_IXUGO); >+ root = KCL_create_proc_dir(NULL, "ati", 0); > } > > if (!root) >@@ -835,7 +835,7 @@ static struct proc_dir_entry *firegl_pro > // Global major debice number entry and Global debug entry > while (globallist->rp || globallist->fops) > { >- ent = KCL_create_proc_entry(root, globallist->name, S_IFREG|S_IRUGO, globallist->fops, globallist->rp, globallist->wp, dev); >+ ent = KCL_create_proc_entry(root, globallist->name, 0, globallist->fops, globallist->rp, globallist->wp, dev); > if (!ent) > { > KCL_remove_proc_dir_entry(NULL, "ati"); >@@ -847,7 +847,7 @@ static struct proc_dir_entry *firegl_pro > } > > sprintf(name, "%d", minor); >- *dev_root = KCL_create_proc_dir(root, name, S_IRUGO|S_IXUGO); >+ *dev_root = KCL_create_proc_dir(root, name, 0); > if (!*dev_root) { > KCL_remove_proc_dir_entry(root, "major"); > KCL_remove_proc_dir_entry(NULL, "ati"); >@@ -857,7 +857,7 @@ static struct proc_dir_entry *firegl_pro > > while (list->rp || list->fops) > { >- ent = KCL_create_proc_entry(*dev_root, list->name, S_IFREG|S_IRUGO, list->fops, list->rp, list->wp, >+ ent = KCL_create_proc_entry(*dev_root, list->name, 0, list->fops, list->rp, list->wp, > ((dev->pubdev.signature == FGL_DEVICE_SIGNATURE)? firegl_find_device(minor) : (dev))); > if (!ent) > { >@@ -6358,9 +6358,9 @@ void * KCL_create_proc_dir(void *root_di > dir = create_proc_entry(name, S_IFDIR | access, (struct proc_dir_entry *)root_dir); > #else > if (root_dir == NULL) >- dir = proc_mkdir_mode(name, S_IFDIR | access, NULL); >+ dir = proc_mkdir_mode(name, access, NULL); > else >- dir = proc_mkdir_mode(name, S_IFDIR | access, (struct proc_dir_entry *)root_dir); >+ dir = proc_mkdir_mode(name, access, (struct proc_dir_entry *)root_dir); > #endif > > return dir;
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 487792
: 360718