Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48020 Details for
Bug 77094
Kernel: grsecurity advisories (CAN-2005-{0179,0180,0504})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-2.6.10-ac-6-7.interdiff
patch-2.6.10-ac-6-7.interdiff (text/plain), 2.48 KB, created by
solar (RETIRED)
on 2005-01-09 08:04:18 UTC
(
hide
)
Description:
patch-2.6.10-ac-6-7.interdiff
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2005-01-09 08:04:18 UTC
Size:
2.48 KB
patch
obsolete
>diff -u linux-2.6.10/drivers/block/scsi_ioctl.c linux-2.6.10/drivers/block/scsi_ioctl.c >--- linux-2.6.10/drivers/block/scsi_ioctl.c 2004-12-26 17:27:50.000000000 +0000 >+++ linux-2.6.10/drivers/block/scsi_ioctl.c 2005-01-07 23:12:02.267014976 +0000 >@@ -339,7 +339,8 @@ > struct gendisk *bd_disk, Scsi_Ioctl_Command __user *sic) > { > struct request *rq; >- int err, in_len, out_len, bytes, opcode, cmdlen; >+ unsigned int bytes, opcode, cmdlen, in_len, out_len; >+ int err; > char *buffer = NULL, sense[SCSI_SENSE_BUFFERSIZE]; > > /* >diff -u linux-2.6.10/drivers/char/moxa.c linux-2.6.10/drivers/char/moxa.c >--- linux-2.6.10/drivers/char/moxa.c 2004-12-28 16:52:06.000000000 +0000 >+++ linux-2.6.10/drivers/char/moxa.c 2005-01-07 23:08:12.600929528 +0000 >@@ -807,6 +807,8 @@ > case TIOCSSERIAL: > return moxa_set_serial_info(ch, argp); > default: >+ if(!capable(CAP_SYS_RAWIO)) >+ return -EPERM; > retval = MoxaDriverIoctl(cmd, arg, port); > } > return (retval); >diff -u linux-2.6.10/mm/mmap.c linux-2.6.10/mm/mmap.c >--- linux-2.6.10/mm/mmap.c 2005-01-07 15:31:43.000000000 +0000 >+++ linux-2.6.10/mm/mmap.c 2005-01-07 23:10:52.419633392 +0000 >@@ -1360,6 +1360,13 @@ > vm_unacct_memory(grow); > return -ENOMEM; > } >+ if ((vma->vm_flags & VM_LOCKED) && !capable(CAP_IPC_LOCK) && >+ ((vma->vm_mm->locked_vm + grow) << PAGE_SHIFT) > >+ current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur) { >+ anon_vma_unlock(vma); >+ vm_unacct_memory(grow); >+ return -ENOMEM; >+ } > vma->vm_end = address; > vma->vm_mm->total_vm += grow; > if (vma->vm_flags & VM_LOCKED) >@@ -1422,6 +1429,13 @@ > vm_unacct_memory(grow); > return -ENOMEM; > } >+ if ((vma->vm_flags & VM_LOCKED) && !capable(CAP_IPC_LOCK) && >+ ((vma->vm_mm->locked_vm + grow) << PAGE_SHIFT) > >+ current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur) { >+ anon_vma_unlock(vma); >+ vm_unacct_memory(grow); >+ return -ENOMEM; >+ } > vma->vm_start = address; > vma->vm_pgoff -= grow; > vma->vm_mm->total_vm += grow; >@@ -1833,6 +1847,7 @@ > down_write(¤t->mm->mmap_sem); > ret = __do_brk(addr, len); > up_write(¤t->mm->mmap_sem); >+ return ret; > } > > EXPORT_SYMBOL(do_brk); >only in patch2: >unchanged: >--- linux.vanilla-2.6.10/drivers/char/random.c 2004-12-25 21:15:34.000000000 +0000 >+++ linux-2.6.10/drivers/char/random.c 2005-01-07 23:04:55.454900280 +0000 >@@ -1906,7 +1906,7 @@ > void __user *oldval, size_t __user *oldlenp, > void __user *newval, size_t newlen, void **context) > { >- int len; >+ unsigned int len; > > sysctl_poolsize = random_state->poolinfo.POOLBYTES; >
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 77094
:
48020
|
48045
|
48046
|
48178