tag | line | file | source code |
current | 387 | arch/i386/ibcs/binfmt_coff.c | fp = current->files->fd[fd]; |
current | 444 | arch/i386/ibcs/binfmt_coff.c | current->mm->mmap = NULL; |
current | 445 | arch/i386/ibcs/binfmt_coff.c | current->mm->rss = 0; |
current | 458 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_code = text_vaddr & PAGE_MASK; |
current | 459 | arch/i386/ibcs/binfmt_coff.c | current->mm->end_code = text_vaddr + text_size; |
current | 460 | arch/i386/ibcs/binfmt_coff.c | current->mm->end_data = data_vaddr + data_size; |
current | 461 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_brk = |
current | 462 | arch/i386/ibcs/binfmt_coff.c | current->mm->brk = bss_vaddr + bss_size; |
current | 463 | arch/i386/ibcs/binfmt_coff.c | current->suid = |
current | 464 | arch/i386/ibcs/binfmt_coff.c | current->euid = bprm->e_uid; |
current | 465 | arch/i386/ibcs/binfmt_coff.c | current->sgid = |
current | 466 | arch/i386/ibcs/binfmt_coff.c | current->egid = bprm->e_gid; |
current | 467 | arch/i386/ibcs/binfmt_coff.c | current->executable = bprm->inode; /* Store inode for file */ |
current | 471 | arch/i386/ibcs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
current | 557 | arch/i386/ibcs/binfmt_coff.c | send_sig (SIGSEGV, current, 0); /* Generate the error trap */ |
current | 559 | arch/i386/ibcs/binfmt_coff.c | if (current->flags & PF_PTRACED) |
current | 560 | arch/i386/ibcs/binfmt_coff.c | send_sig (SIGTRAP, current, 0); |
current | 759 | arch/i386/ibcs/binfmt_coff.c | file = current->files->fd[fd]; |
current | 65 | arch/i386/ibcs/binfmt_elf.c | mpnt->vm_task = current; |
current | 74 | arch/i386/ibcs/binfmt_elf.c | insert_vm_struct(current, mpnt); |
current | 105 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
current | 111 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 117 | arch/i386/ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
current | 172 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 221 | arch/i386/ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
current | 222 | arch/i386/ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
current | 223 | arch/i386/ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
current | 329 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 427 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_data = 0; |
current | 428 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_code = 0; |
current | 429 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
current | 430 | arch/i386/ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
current | 435 | arch/i386/ibcs/binfmt_elf.c | current->mm->rss = 0; |
current | 437 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 470 | arch/i386/ibcs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 514 | arch/i386/ibcs/binfmt_elf.c | current->personality = PER_LINUX; |
current | 515 | arch/i386/ibcs/binfmt_elf.c | current->lcall7 = no_lcall7; |
current | 516 | arch/i386/ibcs/binfmt_elf.c | current->signal_map = current->signal_invmap = ident_map; |
current | 518 | arch/i386/ibcs/binfmt_elf.c | current->executable = bprm->inode; |
current | 521 | arch/i386/ibcs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 532 | arch/i386/ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
current | 533 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
current | 534 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
current | 535 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
current | 536 | arch/i386/ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
current | 537 | arch/i386/ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 538 | arch/i386/ibcs/binfmt_elf.c | current->suid = current->euid = bprm->e_uid; |
current | 539 | arch/i386/ibcs/binfmt_elf.c | current->sgid = current->egid = bprm->e_gid; |
current | 543 | arch/i386/ibcs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
current | 557 | arch/i386/ibcs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 558 | arch/i386/ibcs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 578 | arch/i386/ibcs/binfmt_elf.c | file = current->files->fd[fd]; |
current | 40 | arch/i386/kernel/ioport.c | int numl = sizeof(current->tss.io_bitmap) >> 2; |
current | 45 | arch/i386/kernel/ioport.c | printk("%s ", ios(current->tss.io_bitmap[j++])); |
current | 47 | arch/i386/kernel/ioport.c | printk("%s", ios(current->tss.io_bitmap[j++])); |
current | 150 | arch/i386/kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
current | 17 | arch/i386/kernel/ldt.c | void * address = current->ldt; |
current | 63 | arch/i386/kernel/ldt.c | if (!current->ldt) { |
current | 65 | arch/i386/kernel/ldt.c | if (task[i] == current) { |
current | 66 | arch/i386/kernel/ldt.c | if (!(current->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE))) |
current | 68 | arch/i386/kernel/ldt.c | set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES); |
current | 74 | arch/i386/kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
current | 35 | arch/i386/kernel/process.c | if (current->pid != 0) |
current | 43 | arch/i386/kernel/process.c | current->counter = -100; |
current | 69 | arch/i386/kernel/process.c | current->tss.ldt = 0; |
current | 70 | arch/i386/kernel/process.c | if (current->ldt) { |
current | 71 | arch/i386/kernel/process.c | void * ldt = current->ldt; |
current | 72 | arch/i386/kernel/process.c | current->ldt = NULL; |
current | 81 | arch/i386/kernel/process.c | if (current->ldt) { |
current | 82 | arch/i386/kernel/process.c | free_page((unsigned long) current->ldt); |
current | 83 | arch/i386/kernel/process.c | current->ldt = NULL; |
current | 85 | arch/i386/kernel/process.c | if (task[i] == current) { |
current | 94 | arch/i386/kernel/process.c | current->debugreg[i] = 0; |
current | 131 | arch/i386/kernel/process.c | memcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE); |
current | 141 | arch/i386/kernel/process.c | if (last_task_used_math == current) |
current | 157 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
current | 158 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
current | 162 | arch/i386/kernel/process.c | dump->u_debugreg[i] = current->debugreg[i]; |
current | 172 | arch/i386/kernel/process.c | if ((dump->u_fpvalid = current->used_math) != 0) { |
current | 173 | arch/i386/kernel/process.c | if (last_task_used_math == current) |
current | 176 | arch/i386/kernel/process.c | memcpy(&dump->i387,¤t->tss.i387.hard,sizeof(dump->i387)); |
current | 281 | arch/i386/kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 284 | arch/i386/kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 292 | arch/i386/kernel/ptrace.c | if (child == current) |
current | 295 | arch/i386/kernel/ptrace.c | (current->uid != child->euid) || |
current | 296 | arch/i386/kernel/ptrace.c | (current->uid != child->uid) || |
current | 297 | arch/i386/kernel/ptrace.c | (current->gid != child->egid) || |
current | 298 | arch/i386/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
current | 304 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) { |
current | 306 | arch/i386/kernel/ptrace.c | child->p_pptr = current; |
current | 318 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) |
current | 502 | arch/i386/kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 505 | arch/i386/kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 506 | arch/i386/kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 507 | arch/i386/kernel/ptrace.c | notify_parent(current); |
current | 514 | arch/i386/kernel/ptrace.c | if (current->exit_code) |
current | 515 | arch/i386/kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 516 | arch/i386/kernel/ptrace.c | current->exit_code = 0; |
current | 31 | arch/i386/kernel/signal.c | mask = current->blocked; |
current | 32 | arch/i386/kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 35 | arch/i386/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 59 | arch/i386/kernel/signal.c | current->blocked = context.oldmask & _BLOCKABLE; |
current | 98 | arch/i386/kernel/signal.c | if (current->exec_domain && current->exec_domain->signal_invmap) |
current | 99 | arch/i386/kernel/signal.c | put_fs_long(current->exec_domain->signal_invmap[signr], frame+1); |
current | 114 | arch/i386/kernel/signal.c | put_fs_long(current->tss.trap_no, frame+14); |
current | 115 | arch/i386/kernel/signal.c | put_fs_long(current->tss.error_code, frame+15); |
current | 124 | arch/i386/kernel/signal.c | put_fs_long(current->tss.cr2, frame+23); |
current | 145 | arch/i386/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 152 | arch/i386/kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 155 | arch/i386/kernel/signal.c | :"=m" (current->signal),"=r" (signr) |
current | 157 | arch/i386/kernel/signal.c | sa = current->sigaction + signr; |
current | 159 | arch/i386/kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 160 | arch/i386/kernel/signal.c | current->exit_code = signr; |
current | 161 | arch/i386/kernel/signal.c | current->state = TASK_STOPPED; |
current | 162 | arch/i386/kernel/signal.c | notify_parent(current); |
current | 164 | arch/i386/kernel/signal.c | if (!(signr = current->exit_code)) |
current | 166 | arch/i386/kernel/signal.c | current->exit_code = 0; |
current | 169 | arch/i386/kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 170 | arch/i386/kernel/signal.c | current->signal |= _S(signr); |
current | 173 | arch/i386/kernel/signal.c | sa = current->sigaction + signr - 1; |
current | 184 | arch/i386/kernel/signal.c | if (current->pid == 1) |
current | 191 | arch/i386/kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 193 | arch/i386/kernel/signal.c | current->state = TASK_STOPPED; |
current | 194 | arch/i386/kernel/signal.c | current->exit_code = signr; |
current | 195 | arch/i386/kernel/signal.c | if (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & |
current | 197 | arch/i386/kernel/signal.c | notify_parent(current); |
current | 203 | arch/i386/kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 204 | arch/i386/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 209 | arch/i386/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 236 | arch/i386/kernel/signal.c | sa = current->sigaction; |
current | 251 | arch/i386/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 256 | arch/i386/kernel/signal.c | current->tss.trap_no = current->tss.error_code = 0; |
current | 41 | arch/i386/kernel/traps.c | if (signr == SIGTRAP && current->flags & PF_PTRACED) \ |
current | 42 | arch/i386/kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); \ |
current | 109 | arch/i386/kernel/traps.c | if (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page) |
current | 112 | arch/i386/kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
current | 122 | arch/i386/kernel/traps.c | DO_ERROR( 0, SIGFPE, "divide error", divide_error, current) |
current | 123 | arch/i386/kernel/traps.c | DO_ERROR( 3, SIGTRAP, "int3", int3, current) |
current | 124 | arch/i386/kernel/traps.c | DO_ERROR( 4, SIGSEGV, "overflow", overflow, current) |
current | 125 | arch/i386/kernel/traps.c | DO_ERROR( 5, SIGSEGV, "bounds", bounds, current) |
current | 126 | arch/i386/kernel/traps.c | DO_ERROR( 6, SIGILL, "invalid operand", invalid_op, current) |
current | 127 | arch/i386/kernel/traps.c | DO_ERROR( 7, SIGSEGV, "device not available", device_not_available, current) |
current | 128 | arch/i386/kernel/traps.c | DO_ERROR( 8, SIGSEGV, "double fault", double_fault, current) |
current | 130 | arch/i386/kernel/traps.c | DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS, current) |
current | 131 | arch/i386/kernel/traps.c | DO_ERROR(11, SIGBUS, "segment not present", segment_not_present, current) |
current | 132 | arch/i386/kernel/traps.c | DO_ERROR(12, SIGBUS, "stack segment", stack_segment, current) |
current | 133 | arch/i386/kernel/traps.c | DO_ERROR(15, SIGSEGV, "reserved", reserved, current) |
current | 134 | arch/i386/kernel/traps.c | DO_ERROR(17, SIGSEGV, "alignment check", alignment_check, current) |
current | 152 | arch/i386/kernel/traps.c | current->tss.error_code = error_code; |
current | 153 | arch/i386/kernel/traps.c | current->tss.trap_no = 13; |
current | 154 | arch/i386/kernel/traps.c | send_sig(signr, current, 1); |
current | 169 | arch/i386/kernel/traps.c | if (current->flags & PF_PTRACED) |
current | 170 | arch/i386/kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 171 | arch/i386/kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 172 | arch/i386/kernel/traps.c | current->tss.trap_no = 1; |
current | 173 | arch/i386/kernel/traps.c | current->tss.error_code = error_code; |
current | 237 | arch/i386/kernel/traps.c | if (last_task_used_math == current) |
current | 245 | arch/i386/kernel/traps.c | last_task_used_math = current; |
current | 246 | arch/i386/kernel/traps.c | if (current->used_math) { |
current | 247 | arch/i386/kernel/traps.c | __asm__("frstor %0": :"m" (current->tss.i387)); |
current | 250 | arch/i386/kernel/traps.c | current->used_math=1; |
current | 260 | arch/i386/kernel/traps.c | printk("killing %s.\n",current->comm); |
current | 261 | arch/i386/kernel/traps.c | send_sig(SIGFPE,current,1); |
current | 42 | arch/i386/kernel/vm86.c | #define VFLAGS (*(unsigned short *)&(current->tss.v86flags)) |
current | 43 | arch/i386/kernel/vm86.c | #define VEFLAGS (current->tss.v86flags) |
current | 55 | arch/i386/kernel/vm86.c | if (!current->tss.vm86_info) { |
current | 59 | arch/i386/kernel/vm86.c | set_flags(regs->eflags, VEFLAGS, VIF_MASK | current->tss.v86mask); |
current | 60 | arch/i386/kernel/vm86.c | memcpy_tofs(¤t->tss.vm86_info->regs,regs,sizeof(*regs)); |
current | 61 | arch/i386/kernel/vm86.c | put_fs_long(current->tss.screen_bitmap,¤t->tss.vm86_info->screen_bitmap); |
current | 62 | arch/i386/kernel/vm86.c | tmp = current->tss.esp0; |
current | 63 | arch/i386/kernel/vm86.c | current->tss.esp0 = current->saved_kernel_stack; |
current | 64 | arch/i386/kernel/vm86.c | current->saved_kernel_stack = 0; |
current | 94 | arch/i386/kernel/vm86.c | if (current->saved_kernel_stack) |
current | 120 | arch/i386/kernel/vm86.c | current->tss.v86mask = 0; |
current | 123 | arch/i386/kernel/vm86.c | current->tss.v86mask = NT_MASK | IOPL_MASK; |
current | 126 | arch/i386/kernel/vm86.c | current->tss.v86mask = AC_MASK | NT_MASK | IOPL_MASK; |
current | 129 | arch/i386/kernel/vm86.c | current->tss.v86mask = ID_MASK | AC_MASK | NT_MASK | IOPL_MASK; |
current | 137 | arch/i386/kernel/vm86.c | current->saved_kernel_stack = current->tss.esp0; |
current | 138 | arch/i386/kernel/vm86.c | current->tss.esp0 = (unsigned long) pt_regs; |
current | 139 | arch/i386/kernel/vm86.c | current->tss.vm86_info = v86; |
current | 141 | arch/i386/kernel/vm86.c | current->tss.screen_bitmap = info.screen_bitmap; |
current | 143 | arch/i386/kernel/vm86.c | mark_screen_rdonly(current); |
current | 181 | arch/i386/kernel/vm86.c | set_flags(VEFLAGS, eflags, current->tss.v86mask); |
current | 189 | arch/i386/kernel/vm86.c | set_flags(VFLAGS, flags, current->tss.v86mask); |
current | 201 | arch/i386/kernel/vm86.c | return flags | (VEFLAGS & current->tss.v86mask); |
current | 290 | arch/i386/kernel/vm86.c | is_revectored(i, ¤t->tss.vm86_info->int_revectored)) |
current | 292 | arch/i386/kernel/vm86.c | if (i==0x21 && is_revectored(AH(regs),¤t->tss.vm86_info->int21_revectored)) |
current | 310 | arch/i386/kernel/vm86.c | if (current->flags & PF_PTRACED) |
current | 311 | arch/i386/kernel/vm86.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 312 | arch/i386/kernel/vm86.c | send_sig(SIGTRAP, current, 1); |
current | 313 | arch/i386/kernel/vm86.c | current->tss.trap_no = 1; |
current | 314 | arch/i386/kernel/vm86.c | current->tss.error_code = error_code; |
current | 155 | arch/i386/math-emu/fpu_entry.c | if (!current->used_math) |
current | 166 | arch/i386/math-emu/fpu_entry.c | current->used_math = 1; |
current | 219 | arch/i386/math-emu/fpu_entry.c | if (current->flags & PF_PTRACED) |
current | 307 | arch/i386/math-emu/fpu_entry.c | current->tss.trap_no = 16; |
current | 308 | arch/i386/math-emu/fpu_entry.c | current->tss.error_code = 0; |
current | 309 | arch/i386/math-emu/fpu_entry.c | send_sig(SIGFPE, current, 1); |
current | 682 | arch/i386/math-emu/fpu_entry.c | current->tss.trap_no = 16; |
current | 683 | arch/i386/math-emu/fpu_entry.c | current->tss.error_code = 0; |
current | 684 | arch/i386/math-emu/fpu_entry.c | send_sig(signal,current,1); |
current | 22 | arch/i386/math-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
current | 35 | arch/i386/math-emu/fpu_system.h | #define I387 (current->tss.i387) |
current | 35 | arch/sparc/kernel/process.c | if (current->pid != 0) |
current | 42 | arch/sparc/kernel/process.c | current->counter = -100; |
current | 398 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 399 | drivers/block/cdu31a.c | current->timeout = jiffies; |
current | 574 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 575 | drivers/block/cdu31a.c | current->timeout = jiffies + 200; |
current | 772 | drivers/block/cdu31a.c | if (current != has_cd_task) /* Allow recursive calls to this routine */ |
current | 777 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 786 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 833 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 834 | drivers/block/cdu31a.c | current->timeout = jiffies + 10; /* Wait .1 seconds on retries */ |
current | 1392 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 1398 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 1994 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 2000 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 369 | drivers/block/floppy.c | #define NO_SIGNAL (!(current->signal & ~current->blocked) || !interruptible) |
current | 652 | drivers/block/floppy.c | if (!current->pid) |
current | 1650 | drivers/block/floppy.c | if (current->pid) |
current | 668 | drivers/block/sbpcd.c | current->state = TASK_INTERRUPTIBLE; |
current | 669 | drivers/block/sbpcd.c | current->timeout = jiffies + jifs; |
current | 802 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 830 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 892 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 969 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 2465 | drivers/char/console.c | struct wait_queue wait = { current, NULL }; |
current | 2474 | drivers/char/console.c | current->state = TASK_INTERRUPTIBLE; |
current | 2486 | drivers/char/console.c | current->state = TASK_RUNNING; |
current | 2080 | drivers/char/cyclades.c | current->state = TASK_INTERRUPTIBLE; |
current | 2081 | drivers/char/cyclades.c | current->timeout = jiffies + info->close_delay; |
current | 2137 | drivers/char/cyclades.c | struct wait_queue wait = { current, NULL }; |
current | 2167 | drivers/char/cyclades.c | (info->session != current->session)){ |
current | 2172 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
current | 2229 | drivers/char/cyclades.c | current->state = TASK_INTERRUPTIBLE; |
current | 2250 | drivers/char/cyclades.c | if (current->signal & ~current->blocked) { |
current | 2260 | drivers/char/cyclades.c | current->state = TASK_RUNNING; |
current | 2341 | drivers/char/cyclades.c | info->session = current->session; |
current | 2342 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
current | 200 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_INTERRUPT; |
current | 204 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 254 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 255 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 262 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 263 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 271 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 272 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 277 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 288 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 289 | drivers/char/lp.c | current->timeout = jiffies + LP_TIME(minor); |
current | 603 | drivers/char/n_tty.c | return ((current->blocked & (1<<(sig-1))) || |
current | 604 | drivers/char/n_tty.c | (current->sigaction[sig-1].sa_handler == SIG_IGN)); |
current | 735 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 755 | drivers/char/n_tty.c | current->tty == tty) { |
current | 758 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
current | 760 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
current | 762 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
current | 769 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 774 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 782 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 785 | drivers/char/n_tty.c | current->timeout = 0; |
current | 803 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 816 | drivers/char/n_tty.c | if (!current->timeout) |
current | 822 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 829 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 885 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 892 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 893 | drivers/char/n_tty.c | current->timeout = 0; |
current | 907 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 921 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 922 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 952 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 142 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 143 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 378 | drivers/char/psaux.c | struct wait_queue wait = { current, NULL }; |
current | 387 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 388 | drivers/char/psaux.c | if (queue_empty() && !(current->signal & ~current->blocked)) { |
current | 392 | drivers/char/psaux.c | current->state = TASK_RUNNING; |
current | 405 | drivers/char/psaux.c | if (current->signal & ~current->blocked) |
current | 491 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 492 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 514 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 515 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 207 | drivers/char/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
current | 1621 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1622 | drivers/char/serial.c | current->timeout = jiffies + duration; |
current | 1887 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1888 | drivers/char/serial.c | current->timeout = jiffies + info->timeout; |
current | 1911 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1912 | drivers/char/serial.c | current->timeout = jiffies + info->close_delay; |
current | 1949 | drivers/char/serial.c | struct wait_queue wait = { current, NULL }; |
current | 1978 | drivers/char/serial.c | (info->session != current->session)) |
current | 1982 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
current | 2030 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 2048 | drivers/char/serial.c | if (current->signal & ~current->blocked) { |
current | 2058 | drivers/char/serial.c | current->state = TASK_RUNNING; |
current | 2129 | drivers/char/serial.c | info->session = current->session; |
current | 2130 | drivers/char/serial.c | info->pgrp = current->pgrp; |
current | 756 | drivers/char/tpqic02.c | current->timeout = jiffies + 30; /* nap 0.30 sec between checks, */ |
current | 757 | drivers/char/tpqic02.c | current->state = TASK_INTERRUPTIBLE; |
current | 274 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 280 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
current | 284 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 286 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 447 | drivers/char/tty_io.c | struct tty_struct *tty = current->tty; |
current | 451 | drivers/char/tty_io.c | if (current->tty_old_pgrp) { |
current | 452 | drivers/char/tty_io.c | kill_pg(current->tty_old_pgrp, SIGHUP, priv); |
current | 453 | drivers/char/tty_io.c | kill_pg(current->tty_old_pgrp, SIGCONT, priv); |
current | 466 | drivers/char/tty_io.c | if (p->session == current->session) |
current | 486 | drivers/char/tty_io.c | return (current->signal & ~current->blocked) ? -1 : 0; |
current | 698 | drivers/char/tty_io.c | (current->tty == tty) && |
current | 699 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
current | 700 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
current | 703 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
current | 734 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
current | 735 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 738 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
current | 1123 | drivers/char/tty_io.c | if (!current->tty) |
current | 1125 | drivers/char/tty_io.c | device = current->tty->device; |
current | 1161 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 1171 | drivers/char/tty_io.c | current->leader && |
current | 1172 | drivers/char/tty_io.c | !current->tty && |
current | 1174 | drivers/char/tty_io.c | current->tty = tty; |
current | 1175 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1176 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1234 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
current | 1305 | drivers/char/tty_io.c | if ((current->tty != tty) && !suser()) |
current | 1367 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 1369 | drivers/char/tty_io.c | if (current->leader) |
current | 1371 | drivers/char/tty_io.c | current->tty = NULL; |
current | 1374 | drivers/char/tty_io.c | if (current->leader && |
current | 1375 | drivers/char/tty_io.c | (current->session == tty->session)) |
current | 1381 | drivers/char/tty_io.c | if (!current->leader || current->tty) |
current | 1400 | drivers/char/tty_io.c | current->tty = tty; |
current | 1401 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1402 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1409 | drivers/char/tty_io.c | if (tty == real_tty && current->tty != real_tty) |
current | 1421 | drivers/char/tty_io.c | if (!current->tty || |
current | 1422 | drivers/char/tty_io.c | (current->tty != real_tty) || |
current | 1423 | drivers/char/tty_io.c | (real_tty->session != current->session)) |
current | 1428 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
current | 1446 | drivers/char/tty_io.c | if (current->tty != tty && !suser()) |
current | 44 | drivers/char/tty_ioctl.c | struct wait_queue wait = { current, NULL }; |
current | 53 | drivers/char/tty_ioctl.c | current->counter = 0; /* make us low-priority */ |
current | 55 | drivers/char/tty_ioctl.c | current->timeout = timeout + jiffies; |
current | 57 | drivers/char/tty_ioctl.c | current->timeout = (unsigned) -1; |
current | 62 | drivers/char/tty_ioctl.c | current->state = TASK_INTERRUPTIBLE; |
current | 63 | drivers/char/tty_ioctl.c | if (current->signal & ~current->blocked) |
current | 68 | drivers/char/tty_ioctl.c | } while (current->timeout); |
current | 69 | drivers/char/tty_ioctl.c | current->state = TASK_RUNNING; |
current | 148 | drivers/char/vt.c | if (current->tty == tty || suser()) |
current | 610 | drivers/char/vt.c | spawnpid = current->pid; |
current | 634 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
current | 1283 | drivers/net/ppp.c | current->timeout = 0; |
current | 1286 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 1343 | drivers/net/ppp.c | current->timeout = 0; |
current | 1346 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 1484 | drivers/net/ppp.c | ppp->inp_sig_pid = current->pid; |
current | 3106 | drivers/scsi/53c7,8xx.c | cmd = (struct NCR53c7x0_cmd *) hostdata->current; |
current | 1202 | drivers/scsi/53c7,8xx.h | volatile struct NCR53c7x0_cmd *current; /* currently connected |
current | 805 | drivers/scsi/scsi.c | if ((unsigned long) &SCpnt < current->kernel_stack_page) |
current | 595 | drivers/scsi/scsi.h | struct wait_queue wait = { current, NULL}; \ |
current | 598 | drivers/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
current | 604 | drivers/scsi/scsi.h | current->state = TASK_RUNNING; \ |
current | 840 | drivers/scsi/sd.c | if (current == task[0]){ |
current | 916 | drivers/scsi/sd.c | if (current == task[0]) |
current | 96 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 107 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 145 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 180 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 252 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 868 | drivers/scsi/sr.c | if (current == task[0]) |
current | 1015 | drivers/sound/gus_wave.c | int current, target, rate; |
current | 1028 | drivers/sound/gus_wave.c | current = gus_read16 (0x09) >> 4; |
current | 1045 | drivers/sound/gus_wave.c | if ((target - current) / 64 == 0) /* Close enough to target. */ |
current | 1053 | drivers/sound/gus_wave.c | if (target > current) |
current | 1057 | drivers/sound/gus_wave.c | gus_ramp_range (current, target); |
current | 1065 | drivers/sound/gus_wave.c | gus_ramp_range (target, current); |
current | 76 | drivers/sound/os.h | #define PROCESS_ABORTING(q, f) (/*f.aborting | */(current->signal & ~current->blocked)) |
current | 81 | drivers/sound/os.h | if (time_limit) tl = current->timeout = jiffies + (time_limit); \ |
current | 86 | drivers/sound/os.h | if (current->signal & ~current->blocked) \ |
current | 84 | fs/binfmt_elf.c | mpnt->vm_task = current; |
current | 99 | fs/binfmt_elf.c | insert_vm_struct(current, mpnt); |
current | 101 | fs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
current | 134 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
current | 140 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 146 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
current | 201 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 250 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
current | 251 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
current | 252 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
current | 379 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 495 | fs/binfmt_elf.c | current->mm->end_data = 0; |
current | 496 | fs/binfmt_elf.c | current->mm->end_code = 0; |
current | 497 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
current | 498 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
current | 503 | fs/binfmt_elf.c | current->mm->rss = 0; |
current | 505 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 538 | fs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 579 | fs/binfmt_elf.c | current->personality = (ibcs2_interpreter ? PER_SVR4 : PER_LINUX); |
current | 581 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 582 | fs/binfmt_elf.c | (*current->exec_domain->use_count)--; |
current | 583 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 584 | fs/binfmt_elf.c | (*current->binfmt->use_count)--; |
current | 585 | fs/binfmt_elf.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 586 | fs/binfmt_elf.c | current->binfmt = &elf_format; |
current | 587 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 588 | fs/binfmt_elf.c | (*current->exec_domain->use_count)++; |
current | 589 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 590 | fs/binfmt_elf.c | (*current->binfmt->use_count)++; |
current | 593 | fs/binfmt_elf.c | current->executable = bprm->inode; |
current | 597 | fs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 608 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
current | 609 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
current | 610 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
current | 611 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
current | 612 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
current | 613 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 614 | fs/binfmt_elf.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 615 | fs/binfmt_elf.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 619 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
current | 625 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
current | 626 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
current | 627 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
current | 628 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
current | 629 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
current | 630 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
current | 641 | fs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 642 | fs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 670 | fs/binfmt_elf.c | file = current->files->fd[fd]; |
current | 111 | fs/buffer.c | struct wait_queue wait = { current, NULL }; |
current | 116 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 123 | fs/buffer.c | current->state = TASK_RUNNING; |
current | 244 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 1030 | fs/buffer.c | ++current->mm->min_flt; |
current | 1087 | fs/buffer.c | ++current->mm->maj_flt; |
current | 1141 | fs/buffer.c | ++current->mm->maj_flt; |
current | 1838 | fs/buffer.c | if (current->signal & (1 << (SIGKILL-1))) { |
current | 1842 | fs/buffer.c | current->signal = 0; |
current | 115 | fs/exec.c | fpp = current->files->fd; |
current | 170 | fs/exec.c | char corefile[6+sizeof(current->comm)]; |
current | 174 | fs/exec.c | if (!current->dumpable) |
current | 176 | fs/exec.c | current->dumpable = 0; |
current | 179 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
current | 185 | fs/exec.c | memcpy(corefile+5,current->comm,sizeof(current->comm)); |
current | 212 | fs/exec.c | strncpy(dump.u_comm, current->comm, sizeof(current->comm)); |
current | 220 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 225 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 249 | fs/exec.c | DUMP_WRITE(current,sizeof(*current)); |
current | 276 | fs/exec.c | file = current->files->fd[fd]; |
current | 305 | fs/exec.c | mpnt->vm_task = current; |
current | 314 | fs/exec.c | insert_vm_struct(current, mpnt); |
current | 326 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
current | 332 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 338 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
current | 442 | fs/exec.c | current->mm->start_code = code_base; |
current | 447 | fs/exec.c | current->mm->rss++; |
current | 448 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
current | 510 | fs/exec.c | current->dumpable = 1; |
current | 517 | fs/exec.c | current->comm[i++] = ch; |
current | 519 | fs/exec.c | current->comm[i] = '\0'; |
current | 522 | fs/exec.c | mpnt = current->mm->mmap; |
current | 523 | fs/exec.c | current->mm->mmap = NULL; |
current | 537 | fs/exec.c | if (bprm->e_uid != current->euid || bprm->e_gid != current->egid || |
current | 539 | fs/exec.c | current->dumpable = 0; |
current | 540 | fs/exec.c | current->signal = 0; |
current | 542 | fs/exec.c | current->sigaction[i].sa_mask = 0; |
current | 543 | fs/exec.c | current->sigaction[i].sa_flags = 0; |
current | 544 | fs/exec.c | if (current->sigaction[i].sa_handler != SIG_IGN) |
current | 545 | fs/exec.c | current->sigaction[i].sa_handler = NULL; |
current | 548 | fs/exec.c | if (FD_ISSET(i,¤t->files->close_on_exec)) |
current | 550 | fs/exec.c | FD_ZERO(¤t->files->close_on_exec); |
current | 551 | fs/exec.c | clear_page_tables(current); |
current | 552 | fs/exec.c | if (last_task_used_math == current) |
current | 554 | fs/exec.c | current->used_math = 0; |
current | 595 | fs/exec.c | if (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current-> |
current | 601 | fs/exec.c | if (current->flags & PF_PTRACED) { |
current | 602 | fs/exec.c | bprm.e_uid = current->euid; |
current | 603 | fs/exec.c | bprm.e_gid = current->egid; |
current | 605 | fs/exec.c | bprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid; |
current | 606 | fs/exec.c | bprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid; |
current | 715 | fs/exec.c | current->did_exec = 1; |
current | 761 | fs/exec.c | current->personality = PER_LINUX; |
current | 777 | fs/exec.c | current->mm->brk = ex.a_bss + |
current | 778 | fs/exec.c | (current->mm->start_brk = |
current | 779 | fs/exec.c | (current->mm->end_data = ex.a_data + |
current | 780 | fs/exec.c | (current->mm->end_code = ex.a_text + |
current | 781 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
current | 782 | fs/exec.c | current->mm->rss = 0; |
current | 783 | fs/exec.c | current->mm->mmap = NULL; |
current | 784 | fs/exec.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 785 | fs/exec.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 799 | fs/exec.c | file = current->files->fd[fd]; |
current | 817 | fs/exec.c | send_sig(SIGKILL, current, 0); |
current | 827 | fs/exec.c | send_sig(SIGKILL, current, 0); |
current | 832 | fs/exec.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 833 | fs/exec.c | (*current->exec_domain->use_count)--; |
current | 834 | fs/exec.c | if (current->binfmt && current->binfmt->use_count) |
current | 835 | fs/exec.c | (*current->binfmt->use_count)--; |
current | 836 | fs/exec.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 837 | fs/exec.c | current->binfmt = &aout_format; |
current | 838 | fs/exec.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 839 | fs/exec.c | (*current->exec_domain->use_count)++; |
current | 840 | fs/exec.c | if (current->binfmt && current->binfmt->use_count) |
current | 841 | fs/exec.c | (*current->binfmt->use_count)++; |
current | 843 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
current | 849 | fs/exec.c | current->personality != PER_LINUX); |
current | 850 | fs/exec.c | current->mm->start_stack = p; |
current | 852 | fs/exec.c | if (current->flags & PF_PTRACED) |
current | 853 | fs/exec.c | send_sig(SIGTRAP, current, 0); |
current | 868 | fs/exec.c | file = current->files->fd[fd]; |
current | 285 | fs/ext/freelists.c | inode->i_uid = current->fsuid; |
current | 286 | fs/ext/freelists.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 355 | fs/ext/namei.c | inode->i_uid = current->fsuid; |
current | 442 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 539 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 540 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 593 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 594 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 771 | fs/ext/namei.c | current->counter = 0; |
current | 785 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
current | 786 | fs/ext/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 806 | fs/ext/namei.c | current->fsuid != new_inode->i_uid && |
current | 807 | fs/ext/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 55 | fs/ext/symlink.c | dir = current->fs->root; |
current | 67 | fs/ext/symlink.c | if (current->link_count > 5) { |
current | 78 | fs/ext/symlink.c | current->link_count++; |
current | 80 | fs/ext/symlink.c | current->link_count--; |
current | 237 | fs/ext/truncate.c | current->counter = 0; |
current | 42 | fs/ext2/acl.c | else if (current->fsuid == inode->i_uid) |
current | 274 | fs/ext2/balloc.c | (!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) && |
current | 453 | fs/ext2/ialloc.c | inode->i_uid = current->fsuid; |
current | 461 | fs/ext2/ialloc.c | inode->i_gid = current->fsgid; |
current | 200 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 279 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 42 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 64 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 426 | fs/ext2/namei.c | inode->i_uid = current->fsuid; |
current | 517 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 622 | fs/ext2/namei.c | current->counter = 0; |
current | 627 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 628 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 705 | fs/ext2/namei.c | current->counter = 0; |
current | 710 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 711 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 936 | fs/ext2/namei.c | current->counter = 0; |
current | 951 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
current | 952 | fs/ext2/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 984 | fs/ext2/namei.c | current->fsuid != new_inode->i_uid && |
current | 985 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 60 | fs/ext2/symlink.c | dir = current->fs->root; |
current | 72 | fs/ext2/symlink.c | if (current->link_count > 5) { |
current | 86 | fs/ext2/symlink.c | current->link_count++; |
current | 88 | fs/ext2/symlink.c | current->link_count--; |
current | 344 | fs/ext2/truncate.c | current->counter = 0; |
current | 22 | fs/fcntl.c | if (fd >= NR_OPEN || !current->files->fd[fd]) |
current | 27 | fs/fcntl.c | if (current->files->fd[arg]) |
current | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->files->close_on_exec); |
current | 34 | fs/fcntl.c | (current->files->fd[arg] = current->files->fd[fd])->f_count++; |
current | 40 | fs/fcntl.c | if (oldfd >= NR_OPEN || !current->files->fd[oldfd]) |
current | 72 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 78 | fs/fcntl.c | return FD_ISSET(fd, ¤t->files->close_on_exec); |
current | 81 | fs/fcntl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 83 | fs/fcntl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
current | 149 | fs/fcntl.c | if ((p->session != current->session) && |
current | 150 | fs/fcntl.c | (p->uid != current->uid) && |
current | 151 | fs/fcntl.c | (p->euid != current->euid) && |
current | 31 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 64 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 547 | fs/hpfs/hpfs_fs.c | *uid = current->uid; |
current | 548 | fs/hpfs/hpfs_fs.c | *gid = current->gid; |
current | 549 | fs/hpfs/hpfs_fs.c | *umask = current->fs->umask; |
current | 241 | fs/inode.c | (current->fsuid != inode->i_uid || |
current | 253 | fs/inode.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 263 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 266 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 492 | fs/inode.c | inode->i_uid = current->fsuid; |
current | 493 | fs/inode.c | inode->i_gid = current->fsgid; |
current | 566 | fs/inode.c | struct wait_queue wait = { current, NULL }; |
current | 570 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 576 | fs/inode.c | current->state = TASK_RUNNING; |
current | 62 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 66 | fs/ioctl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 70 | fs/ioctl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 52 | fs/isofs/symlink.c | dir = current->fs->root; |
current | 65 | fs/isofs/symlink.c | if ((current->link_count > 5) || |
current | 73 | fs/isofs/symlink.c | current->link_count++; |
current | 75 | fs/isofs/symlink.c | current->link_count--; |
current | 55 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 99 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 144 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 150 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 245 | fs/locks.c | fl->fl_owner = current; |
current | 479 | fs/locks.c | tmp->fl_owner = current; /* FIXME: needed? */ |
current | 194 | fs/minix/bitmap.c | inode->i_uid = current->fsuid; |
current | 195 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 265 | fs/minix/namei.c | inode->i_uid = current->fsuid; |
current | 349 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 444 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 445 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 506 | fs/minix/namei.c | current->counter = 0; |
current | 511 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 512 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 688 | fs/minix/namei.c | current->counter = 0; |
current | 702 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
current | 703 | fs/minix/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 733 | fs/minix/namei.c | current->fsuid != new_inode->i_uid && |
current | 734 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 49 | fs/minix/symlink.c | dir = current->fs->root; |
current | 61 | fs/minix/symlink.c | if (current->link_count > 5) { |
current | 72 | fs/minix/symlink.c | current->link_count++; |
current | 74 | fs/minix/symlink.c | current->link_count--; |
current | 179 | fs/minix/truncate.c | current->counter = 0; |
current | 92 | fs/msdos/inode.c | *uid = current->uid; |
current | 93 | fs/msdos/inode.c | *gid = current->gid; |
current | 94 | fs/msdos/inode.c | *umask = current->fs->umask; |
current | 116 | fs/msdos/misc.c | int count,nr,limit,last,current,sector,last_sector; |
current | 148 | fs/msdos/misc.c | if ((current = MSDOS_I(inode)->i_start) != 0) { |
current | 149 | fs/msdos/misc.c | cache_lookup(inode,INT_MAX,&last,¤t); |
current | 150 | fs/msdos/misc.c | while (current && current != -1) |
current | 151 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
current | 152 | fs/msdos/misc.c | last = current,-1))) { |
current | 453 | fs/msdos/misc.c | int error,current,prev,nr; |
current | 458 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT, |
current | 461 | fs/msdos/misc.c | return current; |
current | 463 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
current | 465 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,&zero,NULL, |
current | 470 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
current | 34 | fs/namei.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 111 | fs/namei.c | else if (current->fsuid == inode->i_uid) |
current | 169 | fs/namei.c | if (dir == current->fs->root) { |
current | 229 | fs/namei.c | base = current->fs->pwd; |
current | 234 | fs/namei.c | base = current->fs->root; |
current | 344 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
current | 451 | fs/namei.c | mode &= ~current->fs->umask; |
current | 530 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
current | 92 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
current | 250 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 287 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 329 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 365 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 410 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 450 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 490 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 525 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 564 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 601 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 639 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 679 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 714 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 770 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 806 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 842 | fs/nfs/proc.c | *p++ = htonl(ruid ? current->uid : current->fsuid); |
current | 843 | fs/nfs/proc.c | *p++ = htonl(current->egid); |
current | 845 | fs/nfs/proc.c | for (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++) |
current | 846 | fs/nfs/proc.c | *p++ = htonl(current->groups[i]); |
current | 90 | fs/nfs/sock.c | old_mask = current->blocked; |
current | 91 | fs/nfs/sock.c | current->blocked |= ~(_S(SIGKILL) |
current | 96 | fs/nfs/sock.c | ? ((current->sigaction[SIGINT - 1].sa_handler == SIG_DFL |
current | 98 | fs/nfs/sock.c | | (current->sigaction[SIGQUIT - 1].sa_handler == SIG_DFL |
current | 112 | fs/nfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
current | 123 | fs/nfs/sock.c | current->timeout = jiffies + timeout; |
current | 126 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 127 | fs/nfs/sock.c | if (current->signal & ~current->blocked) { |
current | 128 | fs/nfs/sock.c | current->timeout = 0; |
current | 132 | fs/nfs/sock.c | if (!current->timeout) { |
current | 152 | fs/nfs/sock.c | current->timeout = 0; |
current | 156 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 218 | fs/nfs/sock.c | current->blocked = old_mask; |
current | 55 | fs/nfs/symlink.c | dir = current->fs->root; |
current | 67 | fs/nfs/symlink.c | if (current->link_count > 5) { |
current | 87 | fs/nfs/symlink.c | current->link_count++; |
current | 89 | fs/nfs/symlink.c | current->link_count--; |
current | 58 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 112 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 187 | fs/open.c | old_fsuid = current->fsuid; |
current | 188 | fs/open.c | old_fsgid = current->fsgid; |
current | 189 | fs/open.c | current->fsuid = current->uid; |
current | 190 | fs/open.c | current->fsgid = current->gid; |
current | 197 | fs/open.c | current->fsuid = old_fsuid; |
current | 198 | fs/open.c | current->fsgid = old_fsgid; |
current | 218 | fs/open.c | iput(current->fs->pwd); |
current | 219 | fs/open.c | current->fs->pwd = inode; |
current | 228 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 236 | fs/open.c | iput(current->fs->pwd); |
current | 237 | fs/open.c | current->fs->pwd = inode; |
current | 258 | fs/open.c | iput(current->fs->root); |
current | 259 | fs/open.c | current->fs->root = inode; |
current | 269 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 314 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 410 | fs/open.c | if (!current->files->fd[fd]) |
current | 414 | fs/open.c | FD_CLR(fd,¤t->files->close_on_exec); |
current | 418 | fs/open.c | current->files->fd[fd] = f; |
current | 432 | fs/open.c | current->files->fd[fd]=NULL; |
current | 449 | fs/open.c | current->files->fd[fd]=NULL; |
current | 485 | fs/open.c | fcntl_remove_locks(current, filp, fd); |
current | 505 | fs/open.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 506 | fs/open.c | if (!(filp = current->files->fd[fd])) |
current | 508 | fs/open.c | current->files->fd[fd] = NULL; |
current | 521 | fs/open.c | if (current->tty) |
current | 522 | fs/open.c | tty_vhangup(current->tty); |
current | 42 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 77 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 88 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 91 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 210 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 397 | fs/pipe.c | if (!current->files->fd[i]) { |
current | 398 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
current | 402 | fs/pipe.c | current->files->fd[fd[0]]=NULL; |
current | 409 | fs/pipe.c | current->files->fd[fd[0]] = NULL; |
current | 410 | fs/pipe.c | current->files->fd[fd[1]] = NULL; |
current | 395 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
current | 73 | fs/proc/link.c | if (current->files->fd[fd] == f) |
current | 94 | fs/proc/link.c | current->files->fd[fd] = new_f; |
current | 47 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 95 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 106 | fs/proc/mem.c | do_wp_page(0,addr,current,0); |
current | 122 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 186 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 203 | fs/proc/mem.c | dest_table = PAGE_DIR_OFFSET(current->tss.cr3, dtmp); |
current | 207 | fs/proc/mem.c | if (!*dest_table) { oom(current); *dest_table=BAD_PAGE; } |
current | 105 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
current | 31 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
current | 51 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 91 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 127 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 148 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 104 | fs/select.c | if (!current->files->fd[i]) |
current | 106 | fs/select.c | if (!current->files->fd[i]->f_inode) |
current | 123 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
current | 125 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) { |
current | 130 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) { |
current | 135 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) { |
current | 142 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
current | 148 | fs/select.c | current->state = TASK_RUNNING; |
current | 237 | fs/select.c | current->timeout = timeout; |
current | 239 | fs/select.c | if (current->timeout > jiffies) |
current | 240 | fs/select.c | timeout = current->timeout - jiffies; |
current | 243 | fs/select.c | current->timeout = 0; |
current | 244 | fs/select.c | if (tvp && !(current->personality & STICKY_TIMEOUTS)) { |
current | 252 | fs/select.c | if (!i && (current->signal & ~current->blocked)) |
current | 20 | fs/stat.c | current->comm); |
current | 168 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 183 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 186 | fs/super.c | struct wait_queue wait = { current, NULL }; |
current | 190 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 196 | fs/super.c | current->state = TASK_RUNNING; |
current | 520 | fs/super.c | for (vma = current->mm->mmap ; ; ) { |
current | 686 | fs/super.c | current->fs->pwd = inode; |
current | 687 | fs/super.c | current->fs->root = inode; |
current | 154 | fs/sysv/ialloc.c | inode->i_uid = current->fsuid; |
current | 155 | fs/sysv/ialloc.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 258 | fs/sysv/namei.c | inode->i_uid = current->fsuid; |
current | 340 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 436 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 437 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 497 | fs/sysv/namei.c | current->counter = 0; |
current | 502 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 503 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 682 | fs/sysv/namei.c | current->counter = 0; |
current | 696 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
current | 697 | fs/sysv/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 727 | fs/sysv/namei.c | current->fsuid != new_inode->i_uid && |
current | 728 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 55 | fs/sysv/symlink.c | dir = current->fs->root; |
current | 67 | fs/sysv/symlink.c | if (current->link_count > 5) { |
current | 78 | fs/sysv/symlink.c | current->link_count++; |
current | 80 | fs/sysv/symlink.c | current->link_count--; |
current | 278 | fs/sysv/truncate.c | current->counter = 0; |
current | 35 | fs/umsdos/check.c | int stack_level = (long)(&pg_dir)-current->kernel_stack_page; |
current | 37 | fs/umsdos/check.c | pg_dir = current->tss.cr3; |
current | 33 | fs/umsdos/ioctl.c | if (current->euid == 0 |
current | 35 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
current | 89 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 108 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 110 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 219 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
current | 221 | fs/umsdos/namei.c | ? dir->i_gid : current->fsgid; |
current | 236 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
current | 263 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
current | 298 | fs/umsdos/namei.c | if (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page){\ |
current | 300 | fs/umsdos/namei.c | , current->comm,STACK_MAGIC \ |
current | 301 | fs/umsdos/namei.c | ,*(unsigned long *)current->kernel_stack_page \ |
current | 670 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
current | 672 | fs/umsdos/namei.c | ? dir->i_gid : current->fsgid; |
current | 59 | fs/umsdos/symlink.c | if (current->link_count < 5) { |
current | 65 | fs/umsdos/symlink.c | dir = current->fs[1].root; |
current | 84 | fs/umsdos/symlink.c | current->link_count++; |
current | 86 | fs/umsdos/symlink.c | current->link_count--; |
current | 325 | fs/xiafs/bitmap.c | inode->i_uid = current->fsuid; |
current | 326 | fs/xiafs/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 297 | fs/xiafs/namei.c | inode->i_uid = current->fsuid; |
current | 380 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 500 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 501 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 557 | fs/xiafs/namei.c | current->counter = 0; |
current | 562 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 563 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 733 | fs/xiafs/namei.c | current->fsuid != old_inode->i_uid && |
current | 734 | fs/xiafs/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 754 | fs/xiafs/namei.c | current->fsuid != new_inode->i_uid && |
current | 755 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 792 | fs/xiafs/namei.c | current->counter=0; |
current | 83 | fs/xiafs/symlink.c | dir = current->fs->root; |
current | 99 | fs/xiafs/symlink.c | if (current->link_count > 5) { |
current | 110 | fs/xiafs/symlink.c | current->link_count++; |
current | 112 | fs/xiafs/symlink.c | current->link_count--; |
current | 192 | fs/xiafs/truncate.c | current->counter = 0; |
current | 53 | include/asm-i386/system.h | :"m" (current->debugreg[register]) \ |
current | 79 | include/asm-i386/system.h | if(current->debugreg[7]){ \ |
current | 42 | include/asm-m68k/system.h | : "r" (current->kernel_stack_page + PAGE_SIZE) \ |
current | 67 | include/linux/kernel.h | #define suser() (current->euid == 0) |
current | 68 | include/linux/kernel.h | #define fsuser() (current->fsuid == 0) |
current | 246 | include/linux/sched.h | extern struct task_struct *current; |
current | 353 | include/linux/sched.h | entry->wait.task = current; |
current | 527 | init/main.c | current->fs->root = pseudo_root; |
current | 528 | init/main.c | current->fs->pwd = pseudo_root; |
current | 72 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 104 | ipc/msg.c | msq->msg_lspid = current->pid; |
current | 189 | ipc/msg.c | msq->msg_lrpid = current->pid; |
current | 202 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 251 | ipc/msg.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 252 | ipc/msg.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 420 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 421 | ipc/msg.c | current->euid != ipcp->uid) |
current | 433 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 434 | ipc/msg.c | current->euid != ipcp->uid) |
current | 87 | ipc/sem.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 88 | ipc/sem.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 261 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 262 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 316 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 317 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 396 | ipc/sem.c | for (un = current->semundo; un; un = un->proc_next) |
current | 409 | ipc/sem.c | un->proc_next = current->semundo; |
current | 410 | ipc/sem.c | current->semundo = un; |
current | 427 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 437 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 449 | ipc/sem.c | curr->sempid = current->pid; |
current | 454 | ipc/sem.c | for (un = current->semundo; un; un = un->proc_next) |
current | 483 | ipc/sem.c | for (up = ¤t->semundo; (u = *up); *up = u->proc_next, kfree(u)) { |
current | 505 | ipc/sem.c | sem->sempid = current->pid; |
current | 513 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 520 | ipc/sem.c | current->semundo = NULL; |
current | 110 | ipc/shm.c | shp->shm_perm.cuid = shp->shm_perm.uid = current->euid; |
current | 111 | ipc/shm.c | shp->shm_perm.cgid = shp->shm_perm.gid = current->egid; |
current | 114 | ipc/shm.c | shp->shm_cpid = current->pid; |
current | 321 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 322 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 332 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 333 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 401 | ipc/shm.c | insert_vm_struct(current, shmd); |
current | 402 | ipc/shm.c | merge_segments(current->mm->mmap); |
current | 412 | ipc/shm.c | --current->mm->rss; |
current | 474 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) { |
current | 479 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmd->vm_next) |
current | 503 | ipc/shm.c | shmd->vm_task = current; |
current | 523 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 546 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 581 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 595 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
current | 631 | ipc/shm.c | oom(current); |
current | 650 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
current | 653 | ipc/shm.c | current->mm->min_flt++; |
current | 55 | ipc/util.c | if (current->euid == ipcp->cuid || current->euid == ipcp->uid) |
current | 31 | kernel/exec_domain.c | send_sig(SIGSEGV, current, 1); |
current | 87 | kernel/exec_domain.c | return current->personality; |
current | 93 | kernel/exec_domain.c | old_personality = current->personality; |
current | 94 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 95 | kernel/exec_domain.c | (*current->exec_domain->use_count)--; |
current | 96 | kernel/exec_domain.c | current->personality = personality; |
current | 97 | kernel/exec_domain.c | current->exec_domain = it; |
current | 98 | kernel/exec_domain.c | if (current->exec_domain->use_count) |
current | 99 | kernel/exec_domain.c | (*current->exec_domain->use_count)++; |
current | 49 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
current | 50 | kernel/exit.c | (current->euid != p->euid) && (current->uid != p->uid) && !suser()) |
current | 88 | kernel/exit.c | if (p == current) { |
current | 289 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
current | 293 | kernel/exit.c | if (p->pid > 1 && p != current) { |
current | 361 | kernel/exit.c | mpnt = current->mm->mmap; |
current | 362 | kernel/exit.c | current->mm->mmap = NULL; |
current | 374 | kernel/exit.c | free_page_tables(current); |
current | 382 | kernel/exit.c | if (current->files->fd[i]) |
current | 388 | kernel/exit.c | iput(current->fs->pwd); |
current | 389 | kernel/exit.c | current->fs->pwd = NULL; |
current | 390 | kernel/exit.c | iput(current->fs->root); |
current | 391 | kernel/exit.c | current->fs->root = NULL; |
current | 403 | kernel/exit.c | if (current->semundo) |
current | 409 | kernel/exit.c | forget_original_parent(current); |
current | 419 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
current | 420 | kernel/exit.c | (current->p_pptr->session == current->session) && |
current | 421 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
current | 422 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
current | 423 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
current | 424 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
current | 427 | kernel/exit.c | notify_parent(current); |
current | 437 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
current | 438 | kernel/exit.c | current->p_cptr = p->p_osptr; |
current | 441 | kernel/exit.c | if (task[1] && task[1] != current) |
current | 456 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
current | 457 | kernel/exit.c | (p->session == current->session) && |
current | 464 | kernel/exit.c | if (current->leader) |
current | 466 | kernel/exit.c | if (last_task_used_math == current) |
current | 468 | kernel/exit.c | current->state = TASK_ZOMBIE; |
current | 469 | kernel/exit.c | current->exit_code = code; |
current | 470 | kernel/exit.c | current->mm->rss = 0; |
current | 474 | kernel/exit.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 475 | kernel/exit.c | (*current->exec_domain->use_count)--; |
current | 476 | kernel/exit.c | if (current->binfmt && current->binfmt->use_count) |
current | 477 | kernel/exit.c | (*current->binfmt->use_count)--; |
current | 503 | kernel/exit.c | struct wait_queue wait = { current, NULL }; |
current | 511 | kernel/exit.c | add_wait_queue(¤t->wait_chldexit,&wait); |
current | 514 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
current | 519 | kernel/exit.c | if (p->pgrp != current->pgrp) |
current | 544 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
current | 545 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
current | 546 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
current | 547 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
current | 573 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
current | 575 | kernel/exit.c | current->signal &= ~(1<<(SIGCHLD-1)); |
current | 577 | kernel/exit.c | if (current->signal & ~current->blocked) |
current | 583 | kernel/exit.c | remove_wait_queue(¤t->wait_chldexit,&wait); |
current | 53 | kernel/fork.c | if (task[i]->uid == current->uid) |
current | 61 | kernel/fork.c | if (current->uid) |
current | 94 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
current | 157 | kernel/fork.c | if (current->fs->pwd) |
current | 158 | kernel/fork.c | current->fs->pwd->i_count++; |
current | 159 | kernel/fork.c | if (current->fs->root) |
current | 160 | kernel/fork.c | current->fs->root->i_count++; |
current | 179 | kernel/fork.c | *p = *current; |
current | 191 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
current | 219 | kernel/fork.c | p->counter = current->counter >> 1; |
current | 37 | kernel/itimer.c | val = current->it_real_value; |
current | 38 | kernel/itimer.c | interval = current->it_real_incr; |
current | 41 | kernel/itimer.c | val = current->it_virt_value; |
current | 42 | kernel/itimer.c | interval = current->it_virt_incr; |
current | 45 | kernel/itimer.c | val = current->it_prof_value; |
current | 46 | kernel/itimer.c | interval = current->it_prof_incr; |
current | 89 | kernel/itimer.c | current->it_real_value = j; |
current | 90 | kernel/itimer.c | current->it_real_incr = i; |
current | 95 | kernel/itimer.c | current->it_virt_value = j; |
current | 96 | kernel/itimer.c | current->it_virt_incr = i; |
current | 101 | kernel/itimer.c | current->it_prof_value = j; |
current | 102 | kernel/itimer.c | current->it_prof_incr = i; |
current | 197 | kernel/ksyms.c | X(current), |
current | 27 | kernel/panic.c | if (current == task[0]) |
current | 78 | kernel/printk.c | if (current->signal & ~current->blocked) { |
current | 106 | kernel/sched.c | struct task_struct *current = &init_task; |
current | 186 | kernel/sched.c | if (TASK_UNINTERRUPTIBLE >= (unsigned) current->state && |
current | 187 | kernel/sched.c | current->counter < current->priority*2) { |
current | 188 | kernel/sched.c | ++current->counter; |
current | 204 | kernel/sched.c | if (current == next) |
current | 212 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 237 | kernel/sched.c | if (p->counter > current->counter + 3) |
current | 264 | kernel/sched.c | if (p->counter > current->counter + 3) |
current | 282 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 284 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 287 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 289 | kernel/sched.c | current->state = TASK_RUNNING; |
current | 296 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 300 | kernel/sched.c | if (current == task[0]) |
current | 302 | kernel/sched.c | current->state = state; |
current | 611 | kernel/sched.c | current->utime++; |
current | 612 | kernel/sched.c | if (current != task[0]) { |
current | 613 | kernel/sched.c | if (current->priority < 15) |
current | 619 | kernel/sched.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 620 | kernel/sched.c | current->it_virt_value = current->it_virt_incr; |
current | 621 | kernel/sched.c | send_sig(SIGVTALRM,current,1); |
current | 624 | kernel/sched.c | current->stime++; |
current | 625 | kernel/sched.c | if(current != task[0]) |
current | 628 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
current | 639 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
current | 640 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
current | 641 | kernel/sched.c | send_sig(SIGKILL, current, 1); |
current | 642 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
current | 643 | kernel/sched.c | (((current->stime + current->utime) % HZ) == 0)) { |
current | 644 | kernel/sched.c | psecs = (current->stime + current->utime) / HZ; |
current | 646 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
current | 647 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 649 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
current | 650 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
current | 651 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 654 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
current | 655 | kernel/sched.c | current->counter = 0; |
current | 659 | kernel/sched.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 660 | kernel/sched.c | current->it_prof_value = current->it_prof_incr; |
current | 661 | kernel/sched.c | send_sig(SIGPROF,current,1); |
current | 696 | kernel/sched.c | return current->pid; |
current | 701 | kernel/sched.c | return current->p_opptr->pid; |
current | 706 | kernel/sched.c | return current->uid; |
current | 711 | kernel/sched.c | return current->euid; |
current | 716 | kernel/sched.c | return current->gid; |
current | 721 | kernel/sched.c | return current->egid; |
current | 730 | kernel/sched.c | newprio = current->priority - increment; |
current | 735 | kernel/sched.c | current->priority = newprio; |
current | 744 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
current | 750 | kernel/sched.c | if (p == current) |
current | 23 | kernel/signal.c | sigset_t new_set, old_set = current->blocked; |
current | 33 | kernel/signal.c | current->blocked |= new_set; |
current | 36 | kernel/signal.c | current->blocked &= ~new_set; |
current | 39 | kernel/signal.c | current->blocked = new_set; |
current | 56 | kernel/signal.c | return current->blocked; |
current | 61 | kernel/signal.c | int old=current->blocked; |
current | 63 | kernel/signal.c | current->blocked = newmask & _BLOCKABLE; |
current | 73 | kernel/signal.c | put_fs_long(current->blocked & current->signal, (unsigned long *)set); |
current | 96 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 100 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 106 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 127 | kernel/signal.c | handler = current->sigaction[signum-1].sa_handler; |
current | 128 | kernel/signal.c | current->sigaction[signum-1] = tmp; |
current | 142 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 41 | kernel/sys.c | if (!who && p == current) |
current | 46 | kernel/sys.c | who = current->pgrp; |
current | 50 | kernel/sys.c | who = current->uid; |
current | 71 | kernel/sys.c | if ((*p)->uid != current->euid && |
current | 72 | kernel/sys.c | (*p)->uid != current->uid && !suser()) { |
current | 196 | kernel/sys.c | int old_rgid = current->gid; |
current | 200 | kernel/sys.c | (current->egid==rgid) || |
current | 202 | kernel/sys.c | current->gid = rgid; |
current | 208 | kernel/sys.c | (current->egid == egid) || |
current | 209 | kernel/sys.c | (current->sgid == egid) || |
current | 211 | kernel/sys.c | current->egid = egid; |
current | 213 | kernel/sys.c | current->gid = old_rgid; |
current | 219 | kernel/sys.c | current->sgid = current->egid; |
current | 220 | kernel/sys.c | current->fsgid = current->egid; |
current | 230 | kernel/sys.c | current->gid = current->egid = current->sgid = current->fsgid = gid; |
current | 231 | kernel/sys.c | else if ((gid == current->gid) || (gid == current->sgid)) |
current | 232 | kernel/sys.c | current->egid = current->fsgid = gid; |
current | 285 | kernel/sys.c | int old_ruid = current->uid; |
current | 289 | kernel/sys.c | (current->euid==ruid) || |
current | 291 | kernel/sys.c | current->uid = ruid; |
current | 297 | kernel/sys.c | (current->euid == euid) || |
current | 298 | kernel/sys.c | (current->suid == euid) || |
current | 300 | kernel/sys.c | current->euid = euid; |
current | 302 | kernel/sys.c | current->uid = old_ruid; |
current | 308 | kernel/sys.c | current->suid = current->euid; |
current | 309 | kernel/sys.c | current->fsuid = current->euid; |
current | 327 | kernel/sys.c | current->uid = current->euid = current->suid = current->fsuid = uid; |
current | 328 | kernel/sys.c | else if ((uid == current->uid) || (uid == current->suid)) |
current | 329 | kernel/sys.c | current->fsuid = current->euid = uid; |
current | 343 | kernel/sys.c | int old_fsuid = current->fsuid; |
current | 345 | kernel/sys.c | if (uid == current->uid || uid == current->euid || |
current | 346 | kernel/sys.c | uid == current->suid || uid == current->fsuid || suser()) |
current | 347 | kernel/sys.c | current->fsuid = uid; |
current | 356 | kernel/sys.c | int old_fsgid = current->fsgid; |
current | 358 | kernel/sys.c | if (gid == current->gid || gid == current->egid || |
current | 359 | kernel/sys.c | gid == current->sgid || gid == current->fsgid || suser()) |
current | 360 | kernel/sys.c | current->fsgid = gid; |
current | 370 | kernel/sys.c | put_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime); |
current | 371 | kernel/sys.c | put_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime); |
current | 372 | kernel/sys.c | put_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime); |
current | 373 | kernel/sys.c | put_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime); |
current | 385 | kernel/sys.c | if (brk < current->mm->end_code) |
current | 386 | kernel/sys.c | return current->mm->brk; |
current | 388 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
current | 390 | kernel/sys.c | return current->mm->brk = brk; |
current | 395 | kernel/sys.c | if (brk <= current->mm->brk) { |
current | 396 | kernel/sys.c | current->mm->brk = brk; |
current | 403 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 406 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
current | 407 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
current | 408 | kernel/sys.c | return current->mm->brk; |
current | 412 | kernel/sys.c | for (vma = current->mm->mmap; vma; vma = vma->vm_next) { |
current | 416 | kernel/sys.c | return current->mm->brk; |
current | 429 | kernel/sys.c | return current->mm->brk; |
current | 431 | kernel/sys.c | freepages += current->mm->rss; |
current | 434 | kernel/sys.c | return current->mm->brk; |
current | 439 | kernel/sys.c | current->mm->brk = brk; |
current | 463 | kernel/sys.c | pid = current->pid; |
current | 475 | kernel/sys.c | if (p->p_pptr == current || p->p_opptr == current) { |
current | 476 | kernel/sys.c | if (p->session != current->session) |
current | 480 | kernel/sys.c | } else if (p != current) |
current | 488 | kernel/sys.c | tmp->session == current->session) |
current | 504 | kernel/sys.c | return current->pgrp; |
current | 514 | kernel/sys.c | return current->pgrp; |
current | 519 | kernel/sys.c | if (current->leader) |
current | 521 | kernel/sys.c | current->leader = 1; |
current | 522 | kernel/sys.c | current->session = current->pgrp = current->pid; |
current | 523 | kernel/sys.c | current->tty = NULL; |
current | 524 | kernel/sys.c | return current->pgrp; |
current | 539 | kernel/sys.c | for (i = 0 ; (i < NGROUPS) && (current->groups[i] != NOGROUP) ; i++) { |
current | 544 | kernel/sys.c | put_fs_word(current->groups[i], (short *) grouplist); |
current | 559 | kernel/sys.c | current->groups[i] = get_fs_word((unsigned short *) grouplist); |
current | 562 | kernel/sys.c | current->groups[i] = NOGROUP; |
current | 570 | kernel/sys.c | if (grp == current->fsgid) |
current | 574 | kernel/sys.c | if (current->groups[i] == NOGROUP) |
current | 576 | kernel/sys.c | if (current->groups[i] == grp) |
current | 684 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
current | 686 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
current | 702 | kernel/sys.c | old_rlim = current->rlim + resource; |
current | 762 | kernel/sys.c | return getrusage(current, who, ru); |
current | 767 | kernel/sys.c | int old = current->fs->umask; |
current | 769 | kernel/sys.c | current->fs->umask = mask & S_IRWXUGO; |
current | 93 | mm/filemap.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,start); |
current | 220 | mm/filemap.c | printk("%s tried to do a shared writeable mapping\n", current->comm); |
current | 87 | mm/memory.c | printk("\nOut of memory for %s.\n", current->comm); |
current | 186 | mm/memory.c | if (tsk == current) |
current | 209 | mm/memory.c | pg_dir = current->tss.cr3; |
current | 228 | mm/memory.c | old_pg_dir = current->tss.cr3; |
current | 298 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 323 | mm/memory.c | if (current->mm->rss > 0) |
current | 324 | mm/memory.c | --current->mm->rss; |
current | 356 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 383 | mm/memory.c | if (current->mm->rss > 0) |
current | 384 | mm/memory.c | --current->mm->rss; |
current | 418 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 445 | mm/memory.c | if (current->mm->rss > 0) |
current | 446 | mm/memory.c | --current->mm->rss; |
current | 467 | mm/memory.c | ++current->mm->rss; |
current | 639 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 649 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 878 | mm/memory.c | oom(current); |
current | 937 | mm/memory.c | oom(current); |
current | 965 | mm/memory.c | oom(current); |
current | 981 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 991 | mm/memory.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 1003 | mm/memory.c | current->tss.screen_bitmap |= 1 << bit; |
current | 1026 | mm/memory.c | current->tss.cr2 = address; |
current | 1027 | mm/memory.c | current->tss.error_code = error_code; |
current | 1028 | mm/memory.c | current->tss.trap_no = 14; |
current | 1029 | mm/memory.c | send_sig(SIGSEGV, current, 1); |
current | 1051 | mm/memory.c | current->tss.cr3, page); |
current | 116 | mm/mmap.c | vma->vm_task = current; |
current | 149 | mm/mmap.c | insert_vm_struct(current, vma); |
current | 150 | mm/mmap.c | merge_segments(current->mm->mmap); |
current | 164 | mm/mmap.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
current | 191 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 268 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 282 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 312 | mm/mmap.c | npp = ¤t->mm->mmap; |
current | 27 | mm/mprotect.c | dir = PAGE_DIR_OFFSET(current->tss.cr3, start); |
current | 80 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 103 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 137 | mm/mprotect.c | insert_vm_struct(current, left); |
current | 138 | mm/mprotect.c | insert_vm_struct(current, right); |
current | 191 | mm/mprotect.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 228 | mm/mprotect.c | merge_segments(current->mm->mmap); |
current | 281 | mm/swap.c | oom(current); |
current | 381 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |
current | 382 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |
current | 757 | net/inet/af_inet.c | current->timeout = jiffies + HZ*sk->lingertime; |
current | 759 | net/inet/af_inet.c | sk->state != TCP_TIME_WAIT && current->timeout>0) |
current | 762 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 768 | net/inet/af_inet.c | current->timeout=0; |
current | 773 | net/inet/af_inet.c | current->timeout=0; |
current | 936 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 1028 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 1132 | net/inet/af_inet.c | send_sig(SIGPIPE, current, 1); |
current | 1154 | net/inet/af_inet.c | send_sig(SIGPIPE, current, 1); |
current | 103 | net/inet/datagram.c | if (current->signal & ~current->blocked) |
current | 487 | net/inet/sock.c | if (current->signal & ~current->blocked) |
current | 1346 | net/inet/tcp.c | send_sig(SIGPIPE, current, 0); |
current | 1366 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1506 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1841 | net/inet/tcp.c | struct wait_queue wait = { current, NULL }; |
current | 1873 | net/inet/tcp.c | current->state = TASK_INTERRUPTIBLE; |
current | 1935 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1994 | net/inet/tcp.c | current->state = TASK_RUNNING; |
current | 3963 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 181 | net/socket.c | if (!current->files->fd[fd]) |
current | 189 | net/socket.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 190 | net/socket.c | current->files->fd[fd] = file; |
current | 234 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 283 | net/socket.c | SOCK_INODE(sock)->i_uid = current->uid; |
current | 284 | net/socket.c | SOCK_INODE(sock)->i_gid = current->gid; |
current | 304 | net/socket.c | if (current->signal & ~current->blocked) |
current | 798 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 825 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 858 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 919 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
current | 969 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 994 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 1018 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1045 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1078 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1109 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1143 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1161 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1181 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 551 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 629 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 648 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 690 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 704 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 710 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 729 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 740 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |