FreeBSD Bugzilla – Attachment 11231 Details for
Bug 22189
Patch to sys/compat/linux to add M_ZERO to appropriate malloc calls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 528 bytes, created by
josh
on 2000-10-21 15:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
josh
Created:
2000-10-21 15:40:01 UTC
Size:
528 bytes
patch
obsolete
>Index: linux/linux_mib.c >=================================================================== >RCS file: /usr/home/ncvs/src/sys/compat/linux/linux_mib.c,v >retrieving revision 1.7 >diff -u -r1.7 linux_mib.c >--- linux/linux_mib.c 2000/08/25 07:31:13 1.7 >+++ linux/linux_mib.c 2000/10/21 14:27:45 >@@ -123,8 +123,7 @@ > > if (pr->pr_linux == NULL) { > MALLOC(lpr, struct linux_prison *, sizeof *lpr, >- M_PRISON, M_WAITOK); >- bzero((caddr_t)lpr, sizeof *lpr); >+ M_PRISON, M_WAITOK | M_ZERO); > pr->pr_linux = lpr; > }
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 22189
: 11231