patch-2.4.0-test4 linux/arch/mips/kernel/irixelf.c
Next file: linux/arch/mips/kernel/irq.c
Previous file: linux/arch/mips/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Jul 11 15:43:45 2000
- Orig file:
v2.4.0-test3/linux/arch/mips/kernel/irixelf.c
- Orig date:
Mon Jul 10 16:47:19 2000
diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips/kernel/irixelf.c linux/arch/mips/kernel/irixelf.c
@@ -255,7 +255,7 @@
/* First of all, some simple consistency checks */
if ((interp_elf_ex->e_type != ET_EXEC &&
interp_elf_ex->e_type != ET_DYN) ||
- !elf_check_arch(interp_elf_ex->e_machine) ||
+ !irix_elf_check_arch(interp_elf_ex) ||
!interpreter->f_op->mmap) {
printk("IRIX interp has bad e_type %d\n", interp_elf_ex->e_type);
return 0xffffffff;
@@ -395,7 +395,7 @@
/* First of all, some simple consistency checks */
if((ehp->e_type != ET_EXEC && ehp->e_type != ET_DYN) ||
- !elf_check_arch(ehp->e_machine) || !bprm->file->f_op->mmap) {
+ !irix_elf_check_arch(ehp) || !bprm->file->f_op->mmap) {
return -ENOEXEC;
}
@@ -810,7 +810,7 @@
/* First of all, some simple consistency checks. */
if(elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 ||
- !elf_check_arch(elf_ex.e_machine) || !file->f_op->mmap)
+ !irix_elf_check_arch(&elf_ex) || !file->f_op->mmap)
return -ENOEXEC;
/* Now read in all of the header information. */
@@ -1156,7 +1156,7 @@
psinfo.pr_state = i;
psinfo.pr_sname = (i < 0 || i > 5) ? '.' : "RSDZTD"[i];
psinfo.pr_zomb = psinfo.pr_sname == 'Z';
- psinfo.pr_nice = current->priority-15;
+ psinfo.pr_nice = current->nice;
psinfo.pr_flag = current->flags;
psinfo.pr_uid = current->uid;
psinfo.pr_gid = current->gid;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)