tag | line | file | source code |
current | 104 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 150 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->euid; |
current | 151 | arch/alpha/kernel/osf_sys.c | return current->uid; |
current | 157 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->egid; |
current | 158 | arch/alpha/kernel/osf_sys.c | return current->gid; |
current | 164 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->p_opptr->pid; |
current | 165 | arch/alpha/kernel/osf_sys.c | return current->pid; |
current | 175 | arch/alpha/kernel/osf_sys.c | printk("%s: unimplemented OSF mmap flags %04lx\n", current->comm, flags); |
current | 177 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 216 | arch/alpha/kernel/osf_sys.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 415 | arch/alpha/kernel/osf_sys.c | current->timeout = ticks + jiffies; |
current | 416 | arch/alpha/kernel/osf_sys.c | current->state = TASK_INTERRUPTIBLE; |
current | 421 | arch/alpha/kernel/osf_sys.c | if (ticks < current->timeout) |
current | 422 | arch/alpha/kernel/osf_sys.c | ticks = current->timeout - ticks; |
current | 425 | arch/alpha/kernel/osf_sys.c | current->timeout = 0; |
current | 676 | arch/alpha/kernel/osf_sys.c | fpcw = current->tss.flags & IEEE_TRAP_ENABLE_MASK; |
current | 706 | arch/alpha/kernel/osf_sys.c | current->tss.flags &= ~IEEE_TRAP_ENABLE_MASK; |
current | 707 | arch/alpha/kernel/osf_sys.c | current->tss.flags |= (fpcw & IEEE_TRAP_ENABLE_MASK); |
current | 43 | arch/alpha/kernel/process.c | if (current->pid != 0) |
current | 47 | arch/alpha/kernel/process.c | current->counter = -100; |
current | 155 | arch/alpha/kernel/process.c | dump->start_code = current->mm->start_code; |
current | 156 | arch/alpha/kernel/process.c | dump->start_data = current->mm->start_data; |
current | 158 | arch/alpha/kernel/process.c | dump->u_tsize = (current->mm->end_code - dump->start_code) >> PAGE_SHIFT; |
current | 159 | arch/alpha/kernel/process.c | dump->u_dsize = (current->mm->brk + (PAGE_SIZE - 1) - dump->start_data) >> PAGE_SHIFT; |
current | 161 | arch/alpha/kernel/process.c | (current->mm->start_stack - dump->start_stack + PAGE_SIZE - 1) >> PAGE_SHIFT; |
current | 498 | arch/alpha/kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 501 | arch/alpha/kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 509 | arch/alpha/kernel/ptrace.c | if (child == current) |
current | 512 | arch/alpha/kernel/ptrace.c | (current->uid != child->euid) || |
current | 513 | arch/alpha/kernel/ptrace.c | (current->uid != child->uid) || |
current | 514 | arch/alpha/kernel/ptrace.c | (current->gid != child->egid) || |
current | 515 | arch/alpha/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
current | 521 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
current | 523 | arch/alpha/kernel/ptrace.c | child->p_pptr = current; |
current | 538 | arch/alpha/kernel/ptrace.c | if (child->p_pptr != current) { |
current | 637 | arch/alpha/kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 640 | arch/alpha/kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 641 | arch/alpha/kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 642 | arch/alpha/kernel/ptrace.c | notify_parent(current); |
current | 649 | arch/alpha/kernel/ptrace.c | if (current->exit_code) |
current | 650 | arch/alpha/kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 651 | arch/alpha/kernel/ptrace.c | current->exit_code = 0; |
current | 36 | arch/alpha/kernel/signal.c | unsigned long oldmask = current->blocked; |
current | 41 | arch/alpha/kernel/signal.c | current->blocked |= newmask; |
current | 44 | arch/alpha/kernel/signal.c | current->blocked &= ~newmask; |
current | 47 | arch/alpha/kernel/signal.c | current->blocked = newmask; |
current | 58 | arch/alpha/kernel/signal.c | unsigned long oldmask = current->blocked; |
current | 59 | arch/alpha/kernel/signal.c | current->blocked = mask & _BLOCKABLE; |
current | 61 | arch/alpha/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 90 | arch/alpha/kernel/signal.c | current->blocked = mask; |
current | 126 | arch/alpha/kernel/signal.c | if (ptrace_cancel_bpt (current)) |
current | 127 | arch/alpha/kernel/signal.c | send_sig(SIGTRAP, current, 1); |
current | 219 | arch/alpha/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 226 | arch/alpha/kernel/signal.c | single_stepping = ptrace_cancel_bpt(current); |
current | 228 | arch/alpha/kernel/signal.c | while ((signr = current->signal & mask) != 0) { |
current | 230 | arch/alpha/kernel/signal.c | clear_bit(signr, ¤t->signal); |
current | 231 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr; |
current | 233 | arch/alpha/kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 234 | arch/alpha/kernel/signal.c | current->exit_code = signr; |
current | 235 | arch/alpha/kernel/signal.c | current->state = TASK_STOPPED; |
current | 236 | arch/alpha/kernel/signal.c | notify_parent(current); |
current | 238 | arch/alpha/kernel/signal.c | single_stepping |= ptrace_cancel_bpt(current); |
current | 239 | arch/alpha/kernel/signal.c | if (!(signr = current->exit_code)) |
current | 241 | arch/alpha/kernel/signal.c | current->exit_code = 0; |
current | 244 | arch/alpha/kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 245 | arch/alpha/kernel/signal.c | current->signal |= _S(signr); |
current | 248 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr - 1; |
current | 259 | arch/alpha/kernel/signal.c | if (current->pid == 1) |
current | 266 | arch/alpha/kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 268 | arch/alpha/kernel/signal.c | current->state = TASK_STOPPED; |
current | 269 | arch/alpha/kernel/signal.c | current->exit_code = signr; |
current | 270 | arch/alpha/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
current | 272 | arch/alpha/kernel/signal.c | notify_parent(current); |
current | 274 | arch/alpha/kernel/signal.c | single_stepping |= ptrace_cancel_bpt(current); |
current | 279 | arch/alpha/kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 280 | arch/alpha/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 285 | arch/alpha/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 310 | arch/alpha/kernel/signal.c | ptrace_set_bpt(current); /* re-set breakpoint */ |
current | 317 | arch/alpha/kernel/signal.c | sa = current->sig->action; |
current | 328 | arch/alpha/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 335 | arch/alpha/kernel/signal.c | ptrace_set_bpt(current); /* re-set breakpoint */ |
current | 28 | arch/alpha/kernel/traps.c | printk("%s(%d): %s %ld\n", current->comm, current->pid, str, err); |
current | 70 | arch/alpha/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 82 | arch/alpha/kernel/traps.c | if (ptrace_cancel_bpt(current)) { |
current | 85 | arch/alpha/kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 100 | arch/alpha/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 121 | arch/alpha/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 128 | arch/alpha/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 145 | arch/alpha/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 150 | arch/alpha/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 296 | arch/alpha/kernel/traps.c | current->comm, current->pid, |
current | 317 | arch/alpha/kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 365 | arch/alpha/kernel/traps.c | send_sig(SIGBUS, current, 1); |
current | 172 | arch/alpha/math-emu/fp-emul.c | unsigned long fpcw = current->tss.flags; |
current | 46 | arch/alpha/mm/fault.c | vma = find_vma(current, address); |
current | 83 | arch/alpha/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 60 | arch/i386/kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
current | 18 | arch/i386/kernel/ldt.c | void * address = current->ldt; |
current | 82 | arch/i386/kernel/ldt.c | if (!current->ldt) { |
current | 84 | arch/i386/kernel/ldt.c | if (task[i] == current) { |
current | 85 | arch/i386/kernel/ldt.c | if (!(current->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE))) |
current | 87 | arch/i386/kernel/ldt.c | memset(current->ldt, 0, LDT_ENTRIES*LDT_ENTRY_SIZE); |
current | 88 | arch/i386/kernel/ldt.c | set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES); |
current | 94 | arch/i386/kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
current | 94 | arch/i386/kernel/process.c | if (current->pid != 0) |
current | 97 | arch/i386/kernel/process.c | current->counter = -100; |
current | 131 | arch/i386/kernel/process.c | if(current->pid != 0) |
current | 137 | arch/i386/kernel/process.c | current->counter= -100; |
current | 216 | arch/i386/kernel/process.c | if (last_task_used_math == current) |
current | 222 | arch/i386/kernel/process.c | current->tss.ldt = 0; |
current | 223 | arch/i386/kernel/process.c | if (current->ldt) { |
current | 224 | arch/i386/kernel/process.c | void * ldt = current->ldt; |
current | 225 | arch/i386/kernel/process.c | current->ldt = NULL; |
current | 234 | arch/i386/kernel/process.c | if (current->ldt) { |
current | 235 | arch/i386/kernel/process.c | free_page((unsigned long) current->ldt); |
current | 236 | arch/i386/kernel/process.c | current->ldt = NULL; |
current | 238 | arch/i386/kernel/process.c | if (task[i] == current) { |
current | 247 | arch/i386/kernel/process.c | current->debugreg[i] = 0; |
current | 281 | arch/i386/kernel/process.c | memcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE); |
current | 291 | arch/i386/kernel/process.c | if (last_task_used_math == current) |
current | 305 | arch/i386/kernel/process.c | if ((fpvalid = current->used_math) != 0) { |
current | 306 | arch/i386/kernel/process.c | if (last_task_used_math == current) |
current | 309 | arch/i386/kernel/process.c | memcpy(fpu,¤t->tss.i387.hard,sizeof(*fpu)); |
current | 331 | arch/i386/kernel/process.c | dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; |
current | 332 | arch/i386/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; |
current | 336 | arch/i386/kernel/process.c | dump->u_debugreg[i] = current->debugreg[i]; |
current | 308 | arch/i386/kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 311 | arch/i386/kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 319 | arch/i386/kernel/ptrace.c | if (child == current) |
current | 322 | arch/i386/kernel/ptrace.c | (current->uid != child->euid) || |
current | 323 | arch/i386/kernel/ptrace.c | (current->uid != child->uid) || |
current | 324 | arch/i386/kernel/ptrace.c | (current->gid != child->egid) || |
current | 325 | arch/i386/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
current | 331 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) { |
current | 333 | arch/i386/kernel/ptrace.c | child->p_pptr = current; |
current | 345 | arch/i386/kernel/ptrace.c | if (child->p_pptr != current) |
current | 531 | arch/i386/kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 534 | arch/i386/kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 535 | arch/i386/kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 536 | arch/i386/kernel/ptrace.c | notify_parent(current); |
current | 543 | arch/i386/kernel/ptrace.c | if (current->exit_code) |
current | 544 | arch/i386/kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 545 | arch/i386/kernel/ptrace.c | current->exit_code = 0; |
current | 33 | arch/i386/kernel/signal.c | mask = current->blocked; |
current | 34 | arch/i386/kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 37 | arch/i386/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 61 | arch/i386/kernel/signal.c | current->blocked = context.oldmask & _BLOCKABLE; |
current | 100 | arch/i386/kernel/signal.c | if (current->exec_domain && current->exec_domain->signal_invmap) |
current | 101 | arch/i386/kernel/signal.c | put_fs_long(current->exec_domain->signal_invmap[signr], frame+1); |
current | 116 | arch/i386/kernel/signal.c | put_fs_long(current->tss.trap_no, frame+14); |
current | 117 | arch/i386/kernel/signal.c | put_fs_long(current->tss.error_code, frame+15); |
current | 126 | arch/i386/kernel/signal.c | put_fs_long(current->tss.cr2, frame+23); |
current | 147 | arch/i386/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 154 | arch/i386/kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 160 | arch/i386/kernel/signal.c | struct task_struct *t=current; |
current | 165 | arch/i386/kernel/signal.c | sa = current->sig->action + signr; |
current | 167 | arch/i386/kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 168 | arch/i386/kernel/signal.c | current->exit_code = signr; |
current | 169 | arch/i386/kernel/signal.c | current->state = TASK_STOPPED; |
current | 170 | arch/i386/kernel/signal.c | notify_parent(current); |
current | 172 | arch/i386/kernel/signal.c | if (!(signr = current->exit_code)) |
current | 174 | arch/i386/kernel/signal.c | current->exit_code = 0; |
current | 177 | arch/i386/kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 178 | arch/i386/kernel/signal.c | current->signal |= _S(signr); |
current | 181 | arch/i386/kernel/signal.c | sa = current->sig->action + signr - 1; |
current | 192 | arch/i386/kernel/signal.c | if (current->pid == 1) |
current | 199 | arch/i386/kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 201 | arch/i386/kernel/signal.c | current->state = TASK_STOPPED; |
current | 202 | arch/i386/kernel/signal.c | current->exit_code = signr; |
current | 203 | arch/i386/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
current | 205 | arch/i386/kernel/signal.c | notify_parent(current); |
current | 211 | arch/i386/kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 212 | arch/i386/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 217 | arch/i386/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 244 | arch/i386/kernel/signal.c | sa = current->sig->action; |
current | 257 | arch/i386/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 263 | arch/i386/kernel/signal.c | current->tss.trap_no = current->tss.error_code = 0; |
current | 1072 | arch/i386/kernel/smp.c | current->utime++; |
current | 1073 | arch/i386/kernel/smp.c | if (current->pid) |
current | 1075 | arch/i386/kernel/smp.c | if (current->priority < 15) |
current | 1081 | arch/i386/kernel/smp.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 1082 | arch/i386/kernel/smp.c | current->it_virt_value = current->it_virt_incr; |
current | 1083 | arch/i386/kernel/smp.c | send_sig(SIGVTALRM,current,1); |
current | 1086 | arch/i386/kernel/smp.c | current->stime++; |
current | 1087 | arch/i386/kernel/smp.c | if(current->pid) |
current | 1090 | arch/i386/kernel/smp.c | if (prof_buffer && current->pid) { |
current | 1102 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
current | 1103 | arch/i386/kernel/smp.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
current | 1104 | arch/i386/kernel/smp.c | send_sig(SIGKILL, current, 1); |
current | 1105 | arch/i386/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
current | 1106 | arch/i386/kernel/smp.c | (((current->stime + current->utime) % HZ) == 0)) { |
current | 1107 | arch/i386/kernel/smp.c | unsigned long psecs = (current->stime + current->utime) / HZ; |
current | 1109 | arch/i386/kernel/smp.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
current | 1110 | arch/i386/kernel/smp.c | send_sig(SIGXCPU, current, 1); |
current | 1112 | arch/i386/kernel/smp.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
current | 1113 | arch/i386/kernel/smp.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
current | 1114 | arch/i386/kernel/smp.c | send_sig(SIGXCPU, current, 1); |
current | 1118 | arch/i386/kernel/smp.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 1119 | arch/i386/kernel/smp.c | current->it_prof_value = current->it_prof_incr; |
current | 1120 | arch/i386/kernel/smp.c | send_sig(SIGPROF,current,1); |
current | 1136 | arch/i386/kernel/smp.c | if ( 0 > --current->counter || current->pid == 0) |
current | 1138 | arch/i386/kernel/smp.c | current->counter = 0; |
current | 58 | arch/i386/kernel/sys_i386.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 43 | arch/i386/kernel/traps.c | if (signr == SIGTRAP && current->flags & PF_PTRACED) \ |
current | 44 | arch/i386/kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); \ |
current | 124 | arch/i386/kernel/traps.c | if (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page) |
current | 127 | arch/i386/kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
current | 167 | arch/i386/kernel/traps.c | DO_ERROR( 0, SIGFPE, "divide error", divide_error, current) |
current | 168 | arch/i386/kernel/traps.c | DO_ERROR( 3, SIGTRAP, "int3", int3, current) |
current | 169 | arch/i386/kernel/traps.c | DO_ERROR( 4, SIGSEGV, "overflow", overflow, current) |
current | 170 | arch/i386/kernel/traps.c | DO_ERROR( 5, SIGSEGV, "bounds", bounds, current) |
current | 171 | arch/i386/kernel/traps.c | DO_ERROR( 6, SIGILL, "invalid operand", invalid_op, current) |
current | 172 | arch/i386/kernel/traps.c | DO_ERROR( 7, SIGSEGV, "device not available", device_not_available, current) |
current | 173 | arch/i386/kernel/traps.c | DO_ERROR( 8, SIGSEGV, "double fault", double_fault, current) |
current | 175 | arch/i386/kernel/traps.c | DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS, current) |
current | 176 | arch/i386/kernel/traps.c | DO_ERROR(11, SIGBUS, "segment not present", segment_not_present, current) |
current | 177 | arch/i386/kernel/traps.c | DO_ERROR(12, SIGBUS, "stack segment", stack_segment, current) |
current | 178 | arch/i386/kernel/traps.c | DO_ERROR(15, SIGSEGV, "reserved", reserved, current) |
current | 179 | arch/i386/kernel/traps.c | DO_ERROR(17, SIGSEGV, "alignment check", alignment_check, current) |
current | 188 | arch/i386/kernel/traps.c | current->tss.error_code = error_code; |
current | 189 | arch/i386/kernel/traps.c | current->tss.trap_no = 13; |
current | 190 | arch/i386/kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 212 | arch/i386/kernel/traps.c | if (current->flags & PF_PTRACED) |
current | 213 | arch/i386/kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 214 | arch/i386/kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 215 | arch/i386/kernel/traps.c | current->tss.trap_no = 1; |
current | 216 | arch/i386/kernel/traps.c | current->tss.error_code = error_code; |
current | 246 | arch/i386/kernel/traps.c | env=¤t->tss.i387.hard; |
current | 247 | arch/i386/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 252 | arch/i386/kernel/traps.c | current->flags&=~PF_USEDFPU; |
current | 304 | arch/i386/kernel/traps.c | if(current->used_math) |
current | 305 | arch/i386/kernel/traps.c | __asm__("frstor %0": :"m" (current->tss.i387)); |
current | 312 | arch/i386/kernel/traps.c | current->used_math = 1; |
current | 314 | arch/i386/kernel/traps.c | current->flags|=PF_USEDFPU; /* So we fnsave on switch_to() */ |
current | 317 | arch/i386/kernel/traps.c | if (last_task_used_math == current) |
current | 325 | arch/i386/kernel/traps.c | last_task_used_math = current; |
current | 326 | arch/i386/kernel/traps.c | if (current->used_math) { |
current | 327 | arch/i386/kernel/traps.c | __asm__("frstor %0": :"m" (current->tss.i387)); |
current | 330 | arch/i386/kernel/traps.c | current->used_math=1; |
current | 341 | arch/i386/kernel/traps.c | printk("killing %s.\n",current->comm); |
current | 342 | arch/i386/kernel/traps.c | send_sig(SIGFPE,current,1); |
current | 44 | arch/i386/kernel/vm86.c | #define VFLAGS (*(unsigned short *)&(current->tss.v86flags)) |
current | 45 | arch/i386/kernel/vm86.c | #define VEFLAGS (current->tss.v86flags) |
current | 57 | arch/i386/kernel/vm86.c | if (!current->tss.vm86_info) { |
current | 61 | arch/i386/kernel/vm86.c | set_flags(regs->eflags, VEFLAGS, VIF_MASK | current->tss.v86mask); |
current | 62 | arch/i386/kernel/vm86.c | memcpy_tofs(¤t->tss.vm86_info->regs,regs,sizeof(*regs)); |
current | 63 | arch/i386/kernel/vm86.c | put_fs_long(current->tss.screen_bitmap,¤t->tss.vm86_info->screen_bitmap); |
current | 64 | arch/i386/kernel/vm86.c | tmp = current->tss.esp0; |
current | 65 | arch/i386/kernel/vm86.c | current->tss.esp0 = current->saved_kernel_stack; |
current | 66 | arch/i386/kernel/vm86.c | current->saved_kernel_stack = 0; |
current | 108 | arch/i386/kernel/vm86.c | if (current->saved_kernel_stack) |
current | 134 | arch/i386/kernel/vm86.c | current->tss.v86mask = 0; |
current | 137 | arch/i386/kernel/vm86.c | current->tss.v86mask = NT_MASK | IOPL_MASK; |
current | 140 | arch/i386/kernel/vm86.c | current->tss.v86mask = AC_MASK | NT_MASK | IOPL_MASK; |
current | 143 | arch/i386/kernel/vm86.c | current->tss.v86mask = ID_MASK | AC_MASK | NT_MASK | IOPL_MASK; |
current | 151 | arch/i386/kernel/vm86.c | current->saved_kernel_stack = current->tss.esp0; |
current | 152 | arch/i386/kernel/vm86.c | current->tss.esp0 = (unsigned long) pt_regs; |
current | 153 | arch/i386/kernel/vm86.c | current->tss.vm86_info = v86; |
current | 155 | arch/i386/kernel/vm86.c | current->tss.screen_bitmap = info.screen_bitmap; |
current | 157 | arch/i386/kernel/vm86.c | mark_screen_rdonly(current); |
current | 195 | arch/i386/kernel/vm86.c | set_flags(VEFLAGS, eflags, current->tss.v86mask); |
current | 203 | arch/i386/kernel/vm86.c | set_flags(VFLAGS, flags, current->tss.v86mask); |
current | 215 | arch/i386/kernel/vm86.c | return flags | (VEFLAGS & current->tss.v86mask); |
current | 307 | arch/i386/kernel/vm86.c | if (is_revectored(i, ¤t->tss.vm86_info->int_revectored)) |
current | 309 | arch/i386/kernel/vm86.c | if (i==0x21 && is_revectored(AH(regs),¤t->tss.vm86_info->int21_revectored)) |
current | 336 | arch/i386/kernel/vm86.c | if (current->flags & PF_PTRACED) |
current | 337 | arch/i386/kernel/vm86.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 338 | arch/i386/kernel/vm86.c | send_sig(SIGTRAP, current, 1); |
current | 339 | arch/i386/kernel/vm86.c | current->tss.trap_no = 1; |
current | 340 | 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 | 23 | arch/i386/math-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
current | 36 | arch/i386/math-emu/fpu_system.h | #define I387 (current->tss.i387) |
current | 42 | arch/i386/mm/fault.c | vma = find_vma(current, address); |
current | 85 | arch/i386/mm/fault.c | current->tss.screen_bitmap |= 1 << bit; |
current | 92 | arch/i386/mm/fault.c | do_wp_page(current, vma, address, error_code & 2); |
current | 95 | arch/i386/mm/fault.c | do_no_page(current, vma, address, error_code & 2); |
current | 104 | arch/i386/mm/fault.c | current->tss.cr2 = address; |
current | 105 | arch/i386/mm/fault.c | current->tss.error_code = error_code; |
current | 106 | arch/i386/mm/fault.c | current->tss.trap_no = 14; |
current | 107 | arch/i386/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 131 | arch/i386/mm/fault.c | current->tss.cr3, page); |
current | 290 | arch/mips/kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 293 | arch/mips/kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 301 | arch/mips/kernel/ptrace.c | if (child == current) |
current | 304 | arch/mips/kernel/ptrace.c | (current->uid != child->euid) || |
current | 305 | arch/mips/kernel/ptrace.c | (current->uid != child->uid) || |
current | 306 | arch/mips/kernel/ptrace.c | (current->gid != child->egid) || |
current | 307 | arch/mips/kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
current | 313 | arch/mips/kernel/ptrace.c | if (child->p_pptr != current) { |
current | 315 | arch/mips/kernel/ptrace.c | child->p_pptr = current; |
current | 327 | arch/mips/kernel/ptrace.c | if (child->p_pptr != current) |
current | 514 | arch/mips/kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 517 | arch/mips/kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 518 | arch/mips/kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 519 | arch/mips/kernel/ptrace.c | notify_parent(current); |
current | 526 | arch/mips/kernel/ptrace.c | if (current->exit_code) |
current | 527 | arch/mips/kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 528 | arch/mips/kernel/ptrace.c | current->exit_code = 0; |
current | 34 | arch/mips/kernel/signal.c | mask = current->blocked; |
current | 35 | arch/mips/kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 38 | arch/mips/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 62 | arch/mips/kernel/signal.c | current->blocked = context->sc_oldmask & _BLOCKABLE; |
current | 242 | arch/mips/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 249 | arch/mips/kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 251 | arch/mips/kernel/signal.c | clear_bit(signr, ¤t->signal); |
current | 252 | arch/mips/kernel/signal.c | sa = current->sig->action + signr; |
current | 254 | arch/mips/kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 255 | arch/mips/kernel/signal.c | current->exit_code = signr; |
current | 256 | arch/mips/kernel/signal.c | current->state = TASK_STOPPED; |
current | 257 | arch/mips/kernel/signal.c | notify_parent(current); |
current | 259 | arch/mips/kernel/signal.c | if (!(signr = current->exit_code)) |
current | 261 | arch/mips/kernel/signal.c | current->exit_code = 0; |
current | 264 | arch/mips/kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 265 | arch/mips/kernel/signal.c | current->signal |= _S(signr); |
current | 268 | arch/mips/kernel/signal.c | sa = current->sig->action + signr - 1; |
current | 279 | arch/mips/kernel/signal.c | if (current->pid == 1) |
current | 286 | arch/mips/kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 288 | arch/mips/kernel/signal.c | current->state = TASK_STOPPED; |
current | 289 | arch/mips/kernel/signal.c | current->exit_code = signr; |
current | 290 | arch/mips/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
current | 292 | arch/mips/kernel/signal.c | notify_parent(current); |
current | 298 | arch/mips/kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 299 | arch/mips/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 304 | arch/mips/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 338 | arch/mips/kernel/signal.c | sa = current->sig->action; |
current | 348 | arch/mips/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 45 | arch/mips/kernel/syscall.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 55 | arch/mips/kernel/syscall.c | if (current->pid != 0) |
current | 59 | arch/mips/kernel/syscall.c | current->counter = -100; |
current | 148 | arch/mips/kernel/syscall.c | printk("%s: syscall in branch delay slot.\n", current->comm); |
current | 149 | arch/mips/kernel/syscall.c | current->sig->action[SIGILL-1].sa_handler = NULL; |
current | 150 | arch/mips/kernel/syscall.c | current->blocked &= ~(1<<(SIGILL-1)); |
current | 151 | arch/mips/kernel/syscall.c | send_sig(SIGILL, current, 1); |
current | 177 | arch/mips/kernel/syscall.c | send_sig(SIGSEGV, current, 1); |
current | 188 | arch/mips/kernel/syscall.c | if ((current->flags & PF_TRACESYS) == 0) |
current | 191 | arch/mips/kernel/syscall.c | if (errno < 0 || current->errno) |
current | 202 | arch/mips/kernel/syscall.c | if (errno < 0 || current->errno) |
current | 38 | arch/mips/kernel/sysmips.c | vma = find_vma(current, address); |
current | 85 | arch/mips/kernel/sysmips.c | current->tss.mflags |= MF_FIXADE; |
current | 87 | arch/mips/kernel/sysmips.c | current->tss.mflags |= MF_FIXADE; |
current | 104 | arch/mips/kernel/traps.c | if (STACK_MAGIC != *(u32 *)current->kernel_stack_page) |
current | 107 | arch/mips/kernel/traps.c | current->comm, current->pid, current->kernel_stack_page); |
current | 168 | arch/mips/kernel/traps.c | if(current->tss.mflags & MF_FIXADE) |
current | 176 | arch/mips/kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 184 | arch/mips/kernel/traps.c | if(current->tss.mflags & MF_FIXADE) |
current | 198 | arch/mips/kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 214 | arch/mips/kernel/traps.c | send_sig(SIGBUS, current, 1); |
current | 221 | arch/mips/kernel/traps.c | send_sig(SIGBUS, current, 1); |
current | 228 | arch/mips/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 235 | arch/mips/kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 242 | arch/mips/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 249 | arch/mips/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 264 | arch/mips/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 283 | arch/mips/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 38 | arch/mips/mm/fault.c | vma = find_vma(current, address); |
current | 71 | arch/mips/mm/fault.c | current->tss.cp0_badvaddr = address; |
current | 72 | arch/mips/mm/fault.c | current->tss.error_code = writeaccess; |
current | 73 | arch/mips/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 51 | arch/ppc/kernel/process.c | old_tss = ¤t->tss; |
current | 52 | arch/ppc/kernel/process.c | current = new; |
current | 63 | arch/ppc/kernel/process.c | if (current->pid != 0) |
current | 67 | arch/ppc/kernel/process.c | current->counter = -100; |
current | 30 | arch/ppc/kernel/signal.c | mask = current->blocked; |
current | 31 | arch/ppc/kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 34 | arch/ppc/kernel/signal.c | printk("Task: %x[%d] - SIGSUSPEND at %x, Mask: %x\n", current, current->pid, regs->nip, set); |
current | 37 | arch/ppc/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 53 | arch/ppc/kernel/signal.c | current->blocked = sc->oldmask & _BLOCKABLE; |
current | 93 | arch/ppc/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 105 | arch/ppc/kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 115 | arch/ppc/kernel/signal.c | current->signal &= ~(1<<signr); /* Clear bit */ |
current | 116 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr; |
current | 118 | arch/ppc/kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 119 | arch/ppc/kernel/signal.c | current->exit_code = signr; |
current | 120 | arch/ppc/kernel/signal.c | current->state = TASK_STOPPED; |
current | 121 | arch/ppc/kernel/signal.c | notify_parent(current); |
current | 123 | arch/ppc/kernel/signal.c | if (!(signr = current->exit_code)) |
current | 125 | arch/ppc/kernel/signal.c | current->exit_code = 0; |
current | 128 | arch/ppc/kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 129 | arch/ppc/kernel/signal.c | current->signal |= _S(signr); |
current | 132 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr - 1; |
current | 143 | arch/ppc/kernel/signal.c | if (current->pid == 1) |
current | 150 | arch/ppc/kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 152 | arch/ppc/kernel/signal.c | current->state = TASK_STOPPED; |
current | 153 | arch/ppc/kernel/signal.c | current->exit_code = signr; |
current | 154 | arch/ppc/kernel/signal.c | if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
current | 156 | arch/ppc/kernel/signal.c | notify_parent(current); |
current | 162 | arch/ppc/kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 163 | arch/ppc/kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 168 | arch/ppc/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 199 | arch/ppc/kernel/signal.c | sa = current->sig->action; |
current | 214 | arch/ppc/kernel/signal.c | sc->oldmask = current->blocked; |
current | 217 | arch/ppc/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 44 | arch/ppc/kernel/traps.c | send_sig(signr, current, 1); |
current | 99 | arch/ppc/kernel/traps.c | printk("TASK = %x[%d] '%s'\n", current, current->pid, current->comm); |
current | 118 | arch/ppc/kernel/traps.c | printk("Task: %08X(%d), PC: %08X/%08X, Syscall: %3d, Result: %d\n", current, current->pid, regs->nip, regs->link, regs->gpr[0], regs->gpr[3]); |
current | 64 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
current | 76 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
current | 87 | arch/ppc/mm/fault.c | printk("beforefault: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd)); |
current | 91 | arch/ppc/mm/fault.c | printk("handled: pgd[0] = %x[%x]\n",current->mm->pgd,*(current->mm->pgd)); |
current | 119 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, regs->dar & PAGE_MASK); |
current | 135 | arch/ppc/mm/fault.c | current->mm, current->mm->pgd, |
current | 136 | arch/ppc/mm/fault.c | current->mm->pgd+((regs->dar&PAGE_MASK) >> PGDIR_SHIFT)); |
current | 142 | arch/ppc/mm/fault.c | current->mm->pgd,dir,*dir,pmd,*pmd,pte); |
current | 156 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
current | 164 | arch/ppc/mm/fault.c | regs->dar, regs->dsisr, regs->nip, current->mm); |
current | 190 | arch/ppc/mm/fault.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) |
current | 195 | arch/ppc/mm/fault.c | regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
current | 202 | arch/ppc/mm/fault.c | vma = find_vma(current, address); |
current | 213 | arch/ppc/mm/fault.c | printk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
current | 217 | arch/ppc/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 220 | arch/ppc/mm/fault.c | current->rlim[RLIMIT_STACK].rlim_cur); |
current | 222 | arch/ppc/mm/fault.c | printk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
current | 242 | arch/ppc/mm/fault.c | current,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end); |
current | 284 | arch/ppc/mm/fault.c | printk("Task: %x, PC: %x, bad area! - Addr: %x\n", current, regs->nip, address); |
current | 285 | arch/ppc/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 290 | arch/ppc/mm/fault.c | current, regs->nip, address, current->tss.pg_tables); |
current | 296 | arch/ppc/mm/fault.c | current,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end); |
current | 309 | arch/ppc/mm/fault.c | dir = pgd_offset(current->mm, address & PAGE_MASK); |
current | 568 | arch/ppc/mm/init.c | last_mappings[next_mapping].task = current; |
current | 730 | arch/ppc/mm/init.c | pgd = pgd_offset(current->mm, 0); |
current | 745 | arch/ppc/mm/init.c | flags = MMU_hash_page(¤t->tss, address, 0); |
current | 42 | arch/sparc/kernel/process.c | if (current->pid != 0) |
current | 46 | arch/sparc/kernel/process.c | current->counter = -100; |
current | 97 | arch/sparc/kernel/process.c | if(last_task_used_math == current) { |
current | 100 | arch/sparc/kernel/process.c | fpsave(¤t->tss.float_regs[0], ¤t->tss.fsr, |
current | 101 | arch/sparc/kernel/process.c | ¤t->tss.fpqueue[0], ¤t->tss.fpqdepth); |
current | 118 | arch/sparc/kernel/process.c | current->tss.w_saved = 0; |
current | 119 | arch/sparc/kernel/process.c | current->tss.uwinmask = 0; |
current | 120 | arch/sparc/kernel/process.c | current->tss.sig_address = 0; |
current | 121 | arch/sparc/kernel/process.c | current->tss.sig_desc = 0; |
current | 122 | arch/sparc/kernel/process.c | current->tss.sstk_info.cur_status = 0; |
current | 123 | arch/sparc/kernel/process.c | current->tss.sstk_info.the_stack = 0; |
current | 125 | arch/sparc/kernel/process.c | if(last_task_used_math == current) { |
current | 128 | arch/sparc/kernel/process.c | fpsave(¤t->tss.float_regs[0], ¤t->tss.fsr, |
current | 129 | arch/sparc/kernel/process.c | ¤t->tss.fpqueue[0], ¤t->tss.fpqdepth); |
current | 132 | arch/sparc/kernel/process.c | memset(¤t->tss.reg_window[0], 0, |
current | 134 | arch/sparc/kernel/process.c | memset(¤t->tss.rwbuf_stkptrs[0], 0, |
current | 138 | arch/sparc/kernel/process.c | current->tss.flags &= ~SPARC_FLAG_KTHREAD; |
current | 163 | arch/sparc/kernel/process.c | if(last_task_used_math == current) { |
current | 180 | arch/sparc/kernel/process.c | p->tss.kpsr = current->tss.fork_kpsr; |
current | 181 | arch/sparc/kernel/process.c | p->tss.kwim = current->tss.fork_kwim; |
current | 193 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_I0] = current->pid; |
current | 215 | arch/sparc/kernel/process.c | dump->uexec = current->tss.core_exec; |
current | 216 | arch/sparc/kernel/process.c | dump->u_tsize = (((unsigned long) current->mm->end_code) - |
current | 217 | arch/sparc/kernel/process.c | ((unsigned long) current->mm->start_code)) & ~(PAGE_SIZE - 1); |
current | 218 | arch/sparc/kernel/process.c | dump->u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))); |
current | 223 | arch/sparc/kernel/process.c | memcpy(&dump->fpu.fpstatus.fregs.regs[0], ¤t->tss.float_regs[0], (sizeof(unsigned long) * 32)); |
current | 224 | arch/sparc/kernel/process.c | dump->fpu.fpstatus.fsr = current->tss.fsr; |
current | 226 | arch/sparc/kernel/process.c | dump->fpu.fpstatus.fpq_count = current->tss.fpqdepth; |
current | 227 | arch/sparc/kernel/process.c | memcpy(&dump->fpu.fpstatus.fpq[0], ¤t->tss.fpqueue[0], |
current | 229 | arch/sparc/kernel/process.c | dump->sigcode = current->tss.sig_desc; |
current | 84 | arch/sparc/kernel/setup.c | if(current != task[0]) { |
current | 35 | arch/sparc/kernel/signal.c | mask = current->blocked; |
current | 36 | arch/sparc/kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 49 | arch/sparc/kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 92 | arch/sparc/kernel/signal.c | current->comm, current->pid, regs->pc, scptr); |
current | 99 | arch/sparc/kernel/signal.c | current->blocked = scptr->sigc_mask & _BLOCKABLE; |
current | 100 | arch/sparc/kernel/signal.c | current->tss.sstk_info.cur_status = (scptr->sigc_onstack & 1); |
current | 144 | arch/sparc/kernel/signal.c | int old_status = current->tss.sstk_info.cur_status; |
current | 156 | arch/sparc/kernel/signal.c | current->comm, current->pid); |
current | 162 | arch/sparc/kernel/signal.c | current->sig->action[SIGILL-1].sa_handler = SIG_DFL; |
current | 163 | arch/sparc/kernel/signal.c | current->blocked &= ~(1<<(SIGILL-1)); |
current | 164 | arch/sparc/kernel/signal.c | send_sig(SIGILL,current,1); |
current | 177 | arch/sparc/kernel/signal.c | sc->sigc_oswins = current->tss.w_saved; |
current | 178 | arch/sparc/kernel/signal.c | if(current->tss.w_saved) |
current | 179 | arch/sparc/kernel/signal.c | for(window = 0; window < current->tss.w_saved; window++) { |
current | 181 | arch/sparc/kernel/signal.c | (char *)current->tss.rwbuf_stkptrs[window]; |
current | 183 | arch/sparc/kernel/signal.c | ¤t->tss.reg_window[window], |
current | 190 | arch/sparc/kernel/signal.c | current->tss.w_saved = 0; /* So process is allowed to execute. */ |
current | 197 | arch/sparc/kernel/signal.c | sframep->sig_code = current->tss.sig_desc; |
current | 198 | arch/sparc/kernel/signal.c | sframep->sig_address = current->tss.sig_address; |
current | 219 | arch/sparc/kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 227 | arch/sparc/kernel/signal.c | while ((signr = current->signal & mask) != 0) { |
current | 229 | arch/sparc/kernel/signal.c | clear_bit(signr, ¤t->signal); |
current | 230 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr; |
current | 239 | arch/sparc/kernel/signal.c | if(current->pid == 1) |
current | 246 | arch/sparc/kernel/signal.c | current->state = TASK_STOPPED; |
current | 247 | arch/sparc/kernel/signal.c | current->exit_code = signr; |
current | 248 | arch/sparc/kernel/signal.c | if(!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags & |
current | 250 | arch/sparc/kernel/signal.c | notify_parent(current); |
current | 256 | arch/sparc/kernel/signal.c | if(current->binfmt && current->binfmt->core_dump) { |
current | 257 | arch/sparc/kernel/signal.c | if(current->binfmt->core_dump(signr, regs)) |
current | 262 | arch/sparc/kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 290 | arch/sparc/kernel/signal.c | sa = current->sig->action; |
current | 301 | arch/sparc/kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 316 | arch/sparc/kernel/signal.c | memcpy(ossptr, ¤t->tss.sstk_info, sizeof(struct sigstack)); |
current | 323 | arch/sparc/kernel/signal.c | memcpy(¤t->tss.sstk_info, ssptr, sizeof(struct sigstack)); |
current | 144 | arch/sparc/kernel/smp.c | current->utime++; |
current | 145 | arch/sparc/kernel/smp.c | if (current->pid) { |
current | 146 | arch/sparc/kernel/smp.c | if (current->priority < 15) |
current | 152 | arch/sparc/kernel/smp.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 153 | arch/sparc/kernel/smp.c | current->it_virt_value = current->it_virt_incr; |
current | 154 | arch/sparc/kernel/smp.c | send_sig(SIGVTALRM,current,1); |
current | 157 | arch/sparc/kernel/smp.c | current->stime++; |
current | 158 | arch/sparc/kernel/smp.c | if(current->pid) |
current | 161 | arch/sparc/kernel/smp.c | if (prof_buffer && current->pid) { |
current | 174 | arch/sparc/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
current | 175 | arch/sparc/kernel/smp.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
current | 176 | arch/sparc/kernel/smp.c | send_sig(SIGKILL, current, 1); |
current | 177 | arch/sparc/kernel/smp.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
current | 178 | arch/sparc/kernel/smp.c | (((current->stime + current->utime) % HZ) == 0)) { |
current | 179 | arch/sparc/kernel/smp.c | unsigned long psecs = (current->stime + current->utime) / HZ; |
current | 181 | arch/sparc/kernel/smp.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
current | 182 | arch/sparc/kernel/smp.c | send_sig(SIGXCPU, current, 1); |
current | 184 | arch/sparc/kernel/smp.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
current | 185 | arch/sparc/kernel/smp.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
current | 186 | arch/sparc/kernel/smp.c | send_sig(SIGXCPU, current, 1); |
current | 190 | arch/sparc/kernel/smp.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 191 | arch/sparc/kernel/smp.c | current->it_prof_value = current->it_prof_incr; |
current | 192 | arch/sparc/kernel/smp.c | send_sig(SIGPROF,current,1); |
current | 195 | arch/sparc/kernel/smp.c | if(0 > --current->counter || current->pid == 0) { |
current | 196 | arch/sparc/kernel/smp.c | current->counter = 0; |
current | 36 | arch/sparc/kernel/sunos_ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd [fd])) |
current | 39 | arch/sparc/kernel/sys_bsd.c | regs = (struct pt_regs *) (current->saved_kernel_stack + |
current | 41 | arch/sparc/kernel/sys_bsd.c | current->tss.sig_address = regs->pc; |
current | 42 | arch/sparc/kernel/sys_bsd.c | current->tss.sig_desc = regs->u_regs[UREG_G1]; |
current | 43 | arch/sparc/kernel/sys_bsd.c | send_sig(SIGSYS, current, 1); |
current | 49 | arch/sparc/kernel/sys_sparc.c | struct file *file = current->files->fd[fd]; |
current | 50 | arch/sparc/kernel/sys_sunos.c | for (vmm = find_vma(current, addr); ; vmm = vmm->vm_next) { |
current | 70 | arch/sparc/kernel/sys_sunos.c | current->comm); |
current | 74 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 115 | arch/sparc/kernel/sys_sunos.c | if (brk < current->mm->end_code) |
current | 119 | arch/sparc/kernel/sys_sunos.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
current | 121 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
current | 128 | arch/sparc/kernel/sys_sunos.c | if (brk <= current->mm->brk) { |
current | 129 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
current | 136 | arch/sparc/kernel/sys_sunos.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 139 | arch/sparc/kernel/sys_sunos.c | if (brk - current->mm->end_code > rlim) |
current | 145 | arch/sparc/kernel/sys_sunos.c | if (find_vma_intersection(current, oldbrk, newbrk+PAGE_SIZE)) |
current | 163 | arch/sparc/kernel/sys_sunos.c | current->mm->brk = brk; |
current | 175 | arch/sparc/kernel/sys_sunos.c | error = sunos_brk(((int) current->mm->brk) + increment); |
current | 179 | arch/sparc/kernel/sys_sunos.c | return current->mm->brk; |
current | 190 | arch/sparc/kernel/sys_sunos.c | current->comm, increment); |
current | 212 | arch/sparc/kernel/sys_sunos.c | current->comm, |
current | 239 | arch/sparc/kernel/sys_sunos.c | current->comm, |
current | 275 | arch/sparc/kernel/sys_sunos.c | pgdp = pgd_offset(current->mm, addr); |
current | 308 | arch/sparc/kernel/sys_sunos.c | old = current->blocked; |
current | 309 | arch/sparc/kernel/sys_sunos.c | current->blocked |= (blk_mask & _BLOCKABLE); |
current | 320 | arch/sparc/kernel/sys_sunos.c | retval = current->blocked; |
current | 321 | arch/sparc/kernel/sys_sunos.c | current->blocked = newmask & _BLOCKABLE; |
current | 380 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 449 | arch/sparc/kernel/sys_sunos.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 521 | arch/sparc/kernel/sys_sunos.c | regs = (struct pt_regs *) (current->saved_kernel_stack + |
current | 523 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_address = regs->pc; |
current | 524 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_desc = regs->u_regs[UREG_G1]; |
current | 525 | arch/sparc/kernel/sys_sunos.c | send_sig(SIGSYS, current, 1); |
current | 573 | arch/sparc/kernel/sys_sunos.c | current->personality |= STICKY_TIMEOUTS; |
current | 637 | arch/sparc/kernel/sys_sunos.c | file = current->files->fd [fd]; |
current | 792 | arch/sparc/kernel/sys_sunos.c | if((!pid || pid == current->pid) && |
current | 35 | arch/sparc/kernel/traps.c | printk("%s[%d]: ", current->comm, current->pid); |
current | 51 | arch/sparc/kernel/traps.c | printk("%s(%d): %s\n", current->comm, current->pid, str); |
current | 68 | arch/sparc/kernel/traps.c | current->tss.sig_desc = SUBSIG_BADTRAP(type - 0x80); |
current | 69 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
current | 70 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 78 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
current | 79 | arch/sparc/kernel/traps.c | current->tss.sig_desc = SUBSIG_ILLINST; |
current | 80 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 88 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
current | 89 | arch/sparc/kernel/traps.c | current->tss.sig_desc = SUBSIG_PRIVINST; |
current | 90 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 100 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
current | 101 | arch/sparc/kernel/traps.c | current->tss.sig_desc = SUBSIG_PRIVINST; |
current | 102 | arch/sparc/kernel/traps.c | send_sig(SIGBUS, current, 1); |
current | 125 | arch/sparc/kernel/traps.c | if(last_task_used_math == current) |
current | 133 | arch/sparc/kernel/traps.c | last_task_used_math = current; |
current | 134 | arch/sparc/kernel/traps.c | if(current->used_math) { |
current | 135 | arch/sparc/kernel/traps.c | fpload(¤t->tss.float_regs[0], ¤t->tss.fsr); |
current | 139 | arch/sparc/kernel/traps.c | current->used_math = 1; |
current | 194 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
current | 195 | arch/sparc/kernel/traps.c | current->tss.sig_desc = SUBSIG_TAG; /* as good as any */ |
current | 196 | arch/sparc/kernel/traps.c | send_sig(SIGEMT, current, 1); |
current | 214 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 220 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 228 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 236 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 244 | arch/sparc/kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 15 | arch/sparc/kernel/windows.c | if(current->tss.uwinmask) |
current | 40 | arch/sparc/kernel/windows.c | struct thread_struct *tp = ¤t->tss; |
current | 95 | arch/sparc/kernel/windows.c | struct thread_struct *tp = ¤t->tss; |
current | 138 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
current | 168 | arch/sparc/mm/fault.c | current->tss.sig_address = address; |
current | 169 | arch/sparc/mm/fault.c | current->tss.sig_desc = SUBSIG_NOMAPPING; |
current | 170 | arch/sparc/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 189 | arch/sparc/mm/fault.c | (unsigned long) current->mm->context); |
current | 191 | arch/sparc/mm/fault.c | (unsigned long) current->mm->pgd); |
current | 200 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
current | 219 | arch/sparc/mm/fault.c | current->tss.sig_address = address; |
current | 220 | arch/sparc/mm/fault.c | current->tss.sig_desc = SUBSIG_NOMAPPING; |
current | 221 | arch/sparc/mm/fault.c | send_sig(SIGSEGV, current, 1); |
current | 227 | arch/sparc/mm/fault.c | unsigned long sp = current->tss.rwbuf_stkptrs[0]; |
current | 682 | arch/sparc/mm/srmmu.c | if(ctxp->ctx_mm == current->mm) |
current | 1133 | arch/sparc/mm/srmmu.c | struct mm_struct *mm = current->mm; |
current | 1147 | arch/sparc/mm/srmmu.c | if(current->tss.flags & SPARC_FLAG_KTHREAD) { |
current | 1148 | arch/sparc/mm/srmmu.c | alloc_context(current->mm); |
current | 1149 | arch/sparc/mm/srmmu.c | srmmu_ctxd_set(&srmmu_context_table[current->mm->context], current->mm->pgd); |
current | 1150 | arch/sparc/mm/srmmu.c | srmmu_set_context(current->mm->context); |
current | 983 | arch/sparc/mm/sun4c.c | if(ctxp->ctx_mm == current->mm) |
current | 1028 | arch/sparc/mm/sun4c.c | if(current->tss.flags & SPARC_FLAG_KTHREAD) { |
current | 1029 | arch/sparc/mm/sun4c.c | sun4c_alloc_context(current->mm); |
current | 1030 | arch/sparc/mm/sun4c.c | sun4c_set_context(current->mm->context); |
current | 1037 | arch/sparc/mm/sun4c.c | struct mm_struct *mm = current->mm; |
current | 428 | drivers/block/floppy.c | #define NO_SIGNAL (!(current->signal & ~current->blocked) || !interruptible) |
current | 4035 | drivers/block/floppy.c | for (i=current->mm->env_start; i< current->mm->env_end; i ++){ |
current | 1371 | drivers/block/ide-cd.c | current->state = TASK_INTERRUPTIBLE; |
current | 1372 | drivers/block/ide-cd.c | current->timeout = jiffies + time; |
current | 153 | drivers/block/ll_rw_blk.c | struct wait_queue wait = { current, NULL }; |
current | 158 | drivers/block/ll_rw_blk.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 167 | drivers/block/ll_rw_blk.c | current->state = TASK_RUNNING; |
current | 242 | drivers/block/loop.c | if (arg >= NR_OPEN || !current->files->fd[arg]) |
current | 246 | drivers/block/loop.c | inode = current->files->fd[arg]->f_inode; |
current | 398 | drivers/cdrom/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 399 | drivers/cdrom/cdu31a.c | current->timeout = jiffies; |
current | 637 | drivers/cdrom/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 638 | drivers/cdrom/cdu31a.c | current->timeout = jiffies + 2*HZ; |
current | 833 | drivers/cdrom/cdu31a.c | if (current != has_cd_task) /* Allow recursive calls to this routine */ |
current | 838 | drivers/cdrom/cdu31a.c | if (current->signal & ~current->blocked) |
current | 848 | drivers/cdrom/cdu31a.c | has_cd_task = current; |
current | 896 | drivers/cdrom/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 897 | drivers/cdrom/cdu31a.c | current->timeout = jiffies + HZ/10; /* Wait .1 seconds on retries */ |
current | 1492 | drivers/cdrom/cdu31a.c | if (current->signal & ~current->blocked) |
current | 1504 | drivers/cdrom/cdu31a.c | has_cd_task = current; |
current | 2193 | drivers/cdrom/cdu31a.c | if (current->signal & ~current->blocked) |
current | 2200 | drivers/cdrom/cdu31a.c | has_cd_task = current; |
current | 851 | drivers/cdrom/mcdx.c | if (current->pid == 0) { /* no sleep allowed */ |
current | 853 | drivers/cdrom/mcdx.c | current->timeout = jiffies; |
current | 857 | drivers/cdrom/mcdx.c | current->timeout = tout; |
current | 860 | drivers/cdrom/mcdx.c | while (current->timeout) { |
current | 862 | drivers/cdrom/mcdx.c | TRACE((SLEEP, "delay: to is %d\n", current->timeout)); |
current | 1315 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
current | 1322 | drivers/cdrom/mcdx.c | current->timeout = jiffies + 5 * HZ; |
current | 1323 | drivers/cdrom/mcdx.c | while (stuffp->introk && stuffp->busy && current->timeout) { |
current | 1326 | drivers/cdrom/mcdx.c | stuffp->busy, current->timeout)); |
current | 1330 | drivers/cdrom/mcdx.c | if (current->timeout == 0 || !stuffp->introk) { |
current | 1331 | drivers/cdrom/mcdx.c | if (current->timeout == 0) { |
current | 797 | drivers/cdrom/sbpcd.c | current->state = TASK_INTERRUPTIBLE; |
current | 798 | drivers/cdrom/sbpcd.c | current->timeout = jiffies + time; |
current | 336 | drivers/cdrom/sonycd535.c | current->state = TASK_INTERRUPTIBLE; |
current | 337 | drivers/cdrom/sonycd535.c | current->timeout = jiffies; |
current | 893 | drivers/cdrom/sonycd535.c | current->state = TASK_INTERRUPTIBLE; |
current | 894 | drivers/cdrom/sonycd535.c | current->timeout = jiffies + RETRY_FOR_BAD_STATUS; |
current | 780 | drivers/char/apm_bios.c | struct wait_queue wait = { current, NULL }; |
current | 792 | drivers/char/apm_bios.c | current->state = TASK_INTERRUPTIBLE; |
current | 794 | drivers/char/apm_bios.c | && !(current->signal & ~current->blocked)) { |
current | 798 | drivers/char/apm_bios.c | current->state = TASK_RUNNING; |
current | 810 | drivers/char/apm_bios.c | if (current->signal & ~current->blocked) |
current | 2355 | drivers/char/cyclades.c | printk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count - 1); |
current | 2389 | drivers/char/cyclades.c | current->state = TASK_INTERRUPTIBLE; |
current | 2390 | drivers/char/cyclades.c | current->timeout = jiffies + info->close_delay; |
current | 2427 | drivers/char/cyclades.c | printk("cyc: %d(%d): setting count to 0\n", __LINE__, current->pid); |
current | 2446 | drivers/char/cyclades.c | struct wait_queue wait = { current, NULL }; |
current | 2476 | drivers/char/cyclades.c | (info->session != current->session)){ |
current | 2481 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
current | 2515 | drivers/char/cyclades.c | printk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count); |
current | 2539 | drivers/char/cyclades.c | current->state = TASK_INTERRUPTIBLE; |
current | 2560 | drivers/char/cyclades.c | if (current->signal & ~current->blocked) { |
current | 2570 | drivers/char/cyclades.c | current->state = TASK_RUNNING; |
current | 2575 | drivers/char/cyclades.c | printk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count); |
current | 2619 | drivers/char/cyclades.c | printk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count); |
current | 2654 | drivers/char/cyclades.c | info->session = current->session; |
current | 2655 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
current | 307 | drivers/char/ftape/fdc-io.c | {current, NULL}; |
current | 310 | drivers/char/ftape/fdc-io.c | int current_blocked = current->blocked; |
current | 320 | drivers/char/ftape/fdc-io.c | current->timeout = jiffies + 1 + (time + MSPT - 1) / MSPT; |
current | 321 | drivers/char/ftape/fdc-io.c | current->state = TASK_INTERRUPTIBLE; |
current | 322 | drivers/char/ftape/fdc-io.c | current->blocked = _BLOCK_ALL; |
current | 326 | drivers/char/ftape/fdc-io.c | } while (!interrupt_seen && current->state != TASK_RUNNING); |
current | 327 | drivers/char/ftape/fdc-io.c | current->blocked = current_blocked; /* restore */ |
current | 330 | drivers/char/ftape/fdc-io.c | current->timeout = 0; /* interrupt hasn't cleared this */ |
current | 335 | drivers/char/ftape/fdc-io.c | if (current->timeout > 0) { |
current | 337 | drivers/char/ftape/fdc-io.c | if (current->signal & ~current->blocked) { |
current | 342 | drivers/char/ftape/fdc-io.c | if (current->signal & ~current->blocked) { |
current | 134 | drivers/char/ftape/ftape-io.c | current->timeout = jiffies + ticks; |
current | 135 | drivers/char/ftape/ftape-io.c | current->state = TASK_INTERRUPTIBLE; |
current | 139 | drivers/char/ftape/ftape-io.c | while (current->state != TASK_RUNNING) { |
current | 142 | drivers/char/ftape/ftape-io.c | if (current->signal & ~current->blocked) { |
current | 146 | drivers/char/ftape/ftape-io.c | } while (current->timeout > 0); |
current | 227 | drivers/char/ftape/ftape-io.c | if (current->signal & _DONT_BLOCK) { |
current | 244 | drivers/char/ftape/ftape-io.c | if (current->signal & _DONT_BLOCK) { |
current | 350 | drivers/char/ftape/ftape-io.c | if (current->signal & _NEVER_BLOCK) { |
current | 1036 | drivers/char/ftape/ftape-io.c | if (current->signal & _DONT_BLOCK) { |
current | 312 | drivers/char/ftape/ftape-read.c | if (current->signal & _DONT_BLOCK) { |
current | 640 | drivers/char/ftape/ftape-read.c | if (current->signal & _DONT_BLOCK) { |
current | 590 | drivers/char/ftape/ftape-rw.c | (current->signal & _DONT_BLOCK)) { |
current | 734 | drivers/char/ftape/ftape-rw.c | (current->signal & _DONT_BLOCK) == 0); |
current | 922 | drivers/char/ftape/ftape-rw.c | if ((current->signal & _DONT_BLOCK) || ftape_failure) { |
current | 947 | drivers/char/ftape/ftape-rw.c | (current->signal & _DONT_BLOCK) == 0 && |
current | 163 | drivers/char/ftape/ftape-write.c | if (current->signal & _DONT_BLOCK) { |
current | 335 | drivers/char/ftape/ftape-write.c | if (current->signal & _DONT_BLOCK) { |
current | 683 | drivers/char/ftape/ftape-write.c | if (current->signal & _DONT_BLOCK) { |
current | 180 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore mask */ |
current | 263 | drivers/char/ftape/kernel-interface.c | old_sigmask = current->blocked; |
current | 264 | drivers/char/ftape/kernel-interface.c | current->blocked = _BLOCK_ALL; |
current | 269 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore mask */ |
current | 278 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask | _DO_BLOCK; |
current | 296 | drivers/char/ftape/kernel-interface.c | current->blocked = _BLOCK_ALL; |
current | 304 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore before open state */ |
current | 323 | drivers/char/ftape/kernel-interface.c | old_sigmask = current->blocked; /* save mask */ |
current | 324 | drivers/char/ftape/kernel-interface.c | current->blocked = _BLOCK_ALL; |
current | 328 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore mask */ |
current | 347 | drivers/char/ftape/kernel-interface.c | old_sigmask = current->blocked; /* save mask */ |
current | 348 | drivers/char/ftape/kernel-interface.c | current->blocked = _BLOCK_ALL; |
current | 351 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore mask */ |
current | 370 | drivers/char/ftape/kernel-interface.c | old_sigmask = current->blocked; /* save mask */ |
current | 371 | drivers/char/ftape/kernel-interface.c | current->blocked = _BLOCK_ALL; |
current | 374 | drivers/char/ftape/kernel-interface.c | current->blocked = old_sigmask; /* restore mask */ |
current | 906 | drivers/char/istallion.c | if (current->signal & ~current->blocked) |
current | 946 | drivers/char/istallion.c | (portp->session != current->session)) |
current | 949 | drivers/char/istallion.c | (portp->pgrp != current->pgrp)) |
current | 972 | drivers/char/istallion.c | portp->session = current->session; |
current | 973 | drivers/char/istallion.c | portp->pgrp = current->pgrp; |
current | 1141 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1175 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1217 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1250 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1283 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1293 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 1350 | drivers/char/istallion.c | current->state = TASK_INTERRUPTIBLE; |
current | 1351 | drivers/char/istallion.c | current->timeout = jiffies + len; |
current | 1399 | drivers/char/istallion.c | if (current->signal & ~current->blocked) { |
current | 209 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_INTERRUPT; |
current | 213 | 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 | 289 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 290 | drivers/char/lp.c | current->timeout = jiffies + LP_TIME(minor); |
current | 620 | drivers/char/n_tty.c | return ((current->blocked & (1<<(sig-1))) || |
current | 621 | drivers/char/n_tty.c | (current->sig->action[sig-1].sa_handler == SIG_IGN)); |
current | 754 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 774 | drivers/char/n_tty.c | current->tty == tty) { |
current | 777 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
current | 779 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
current | 781 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
current | 788 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 793 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 801 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 804 | drivers/char/n_tty.c | current->timeout = 0; |
current | 822 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 835 | drivers/char/n_tty.c | if (!current->timeout) |
current | 841 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 848 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 904 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 911 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 912 | drivers/char/n_tty.c | current->timeout = 0; |
current | 926 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 940 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 941 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 971 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 421 | drivers/char/psaux.c | struct wait_queue wait = { current, NULL }; |
current | 430 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 431 | drivers/char/psaux.c | if (queue_empty() && !(current->signal & ~current->blocked)) { |
current | 435 | drivers/char/psaux.c | current->state = TASK_RUNNING; |
current | 448 | drivers/char/psaux.c | if (current->signal & ~current->blocked) |
current | 552 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 553 | drivers/char/psaux.c | current->timeout = jiffies + (5*HZ + 99) / 100; |
current | 587 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 588 | drivers/char/psaux.c | current->timeout = jiffies + (5*HZ + 99) / 100; |
current | 210 | drivers/char/pty.c | !(current->signal & ~current->blocked)) |
current | 648 | drivers/char/random.c | struct wait_queue wait = { current, NULL }; |
current | 658 | drivers/char/random.c | current->state = TASK_INTERRUPTIBLE; |
current | 668 | drivers/char/random.c | if (current->signal & ~current->blocked) { |
current | 682 | drivers/char/random.c | current->state = TASK_RUNNING; |
current | 272 | drivers/char/selection.c | struct wait_queue wait = { current, NULL }; |
current | 281 | drivers/char/selection.c | current->state = TASK_INTERRUPTIBLE; |
current | 293 | drivers/char/selection.c | current->state = TASK_RUNNING; |
current | 1706 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1707 | drivers/char/serial.c | current->timeout = jiffies + duration; |
current | 1998 | drivers/char/serial.c | if (current->signal & ~current->blocked) |
current | 2151 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 2152 | drivers/char/serial.c | current->timeout = jiffies + info->timeout; |
current | 2176 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 2177 | drivers/char/serial.c | current->timeout = jiffies + info->close_delay; |
current | 2215 | drivers/char/serial.c | struct wait_queue wait = { current, NULL }; |
current | 2246 | drivers/char/serial.c | (info->session != current->session)) |
current | 2250 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
current | 2301 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 2319 | drivers/char/serial.c | if (current->signal & ~current->blocked) { |
current | 2329 | drivers/char/serial.c | current->state = TASK_RUNNING; |
current | 2405 | drivers/char/serial.c | info->session = current->session; |
current | 2406 | drivers/char/serial.c | info->pgrp = current->pgrp; |
current | 700 | drivers/char/stallion.c | (portp->session != current->session)) |
current | 703 | drivers/char/stallion.c | (portp->pgrp != current->pgrp)) |
current | 726 | drivers/char/stallion.c | portp->session = current->session; |
current | 727 | drivers/char/stallion.c | portp->pgrp = current->pgrp; |
current | 771 | drivers/char/stallion.c | if (current->signal & ~current->blocked) { |
current | 877 | drivers/char/stallion.c | current->state = TASK_INTERRUPTIBLE; |
current | 878 | drivers/char/stallion.c | current->timeout = jiffies + len; |
current | 758 | drivers/char/tpqic02.c | current->timeout = jiffies + 3*HZ/10; /* nap 0.30 sec between checks, */ |
current | 759 | drivers/char/tpqic02.c | current->state = TASK_INTERRUPTIBLE; |
current | 299 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 305 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
current | 309 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 311 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 476 | drivers/char/tty_io.c | struct tty_struct *tty = current->tty; |
current | 483 | drivers/char/tty_io.c | if (current->tty_old_pgrp) { |
current | 484 | drivers/char/tty_io.c | kill_pg(current->tty_old_pgrp, SIGHUP, on_exit); |
current | 485 | drivers/char/tty_io.c | kill_pg(current->tty_old_pgrp, SIGCONT, on_exit); |
current | 494 | drivers/char/tty_io.c | current->tty_old_pgrp = 0; |
current | 499 | drivers/char/tty_io.c | if (p->session == current->session) |
current | 519 | drivers/char/tty_io.c | return (current->signal & ~current->blocked) ? -1 : 0; |
current | 736 | drivers/char/tty_io.c | (current->tty == tty) && |
current | 737 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
current | 738 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
current | 741 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
current | 772 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
current | 773 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 776 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
current | 1176 | drivers/char/tty_io.c | if (!current->tty) |
current | 1178 | drivers/char/tty_io.c | device = current->tty->device; |
current | 1214 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 1224 | drivers/char/tty_io.c | current->leader && |
current | 1225 | drivers/char/tty_io.c | !current->tty && |
current | 1227 | drivers/char/tty_io.c | current->tty = tty; |
current | 1228 | drivers/char/tty_io.c | current->tty_old_pgrp = 0; |
current | 1229 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1230 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1318 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
current | 1384 | drivers/char/tty_io.c | if ((current->tty != tty) && !suser()) |
current | 1446 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 1448 | drivers/char/tty_io.c | if (current->leader) |
current | 1450 | drivers/char/tty_io.c | current->tty = NULL; |
current | 1453 | drivers/char/tty_io.c | if (current->leader && |
current | 1454 | drivers/char/tty_io.c | (current->session == tty->session)) |
current | 1460 | drivers/char/tty_io.c | if (!current->leader || current->tty) |
current | 1479 | drivers/char/tty_io.c | current->tty = tty; |
current | 1480 | drivers/char/tty_io.c | current->tty_old_pgrp = 0; |
current | 1481 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1482 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1489 | drivers/char/tty_io.c | if (tty == real_tty && current->tty != real_tty) |
current | 1501 | drivers/char/tty_io.c | if (!current->tty || |
current | 1502 | drivers/char/tty_io.c | (current->tty != real_tty) || |
current | 1503 | drivers/char/tty_io.c | (real_tty->session != current->session)) |
current | 1508 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
current | 1528 | drivers/char/tty_io.c | if (current->tty != tty && !suser()) |
current | 45 | drivers/char/tty_ioctl.c | struct wait_queue wait = { current, NULL }; |
current | 54 | drivers/char/tty_ioctl.c | current->counter = 0; /* make us low-priority */ |
current | 56 | drivers/char/tty_ioctl.c | current->timeout = timeout + jiffies; |
current | 58 | drivers/char/tty_ioctl.c | current->timeout = (unsigned) -1; |
current | 63 | drivers/char/tty_ioctl.c | current->state = TASK_INTERRUPTIBLE; |
current | 64 | drivers/char/tty_ioctl.c | if (current->signal & ~current->blocked) |
current | 69 | drivers/char/tty_ioctl.c | } while (current->timeout); |
current | 70 | drivers/char/tty_ioctl.c | current->state = TASK_RUNNING; |
current | 215 | drivers/char/vt.c | if (current->tty == tty || suser()) |
current | 691 | drivers/char/vt.c | spawnpid = current->pid; |
current | 715 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
current | 728 | drivers/isdn/icn/icn.c | current->state = TASK_INTERRUPTIBLE; |
current | 729 | drivers/isdn/icn/icn.c | current->timeout = jiffies + ICN_BOOT_TIMEOUT1; |
current | 755 | drivers/isdn/icn/icn.c | current->state = TASK_INTERRUPTIBLE; \ |
current | 756 | drivers/isdn/icn/icn.c | current->timeout = jiffies + HZ; \ |
current | 896 | drivers/isdn/icn/icn.c | current->state = TASK_INTERRUPTIBLE; |
current | 897 | drivers/isdn/icn/icn.c | current->timeout = jiffies + 10; |
current | 919 | drivers/isdn/icn/icn.c | current->state = TASK_INTERRUPTIBLE; |
current | 920 | drivers/isdn/icn/icn.c | current->timeout = jiffies + ICN_BOOT_TIMEOUT1; |
current | 1014 | drivers/isdn/icn/icn.c | current->timeout = jiffies + 10; |
current | 1141 | drivers/isdn/icn/icn.c | current->timeout = jiffies + ICN_BOOT_TIMEOUT1; |
current | 1144 | drivers/isdn/icn/icn.c | current->timeout = jiffies + ICN_BOOT_TIMEOUT1; |
current | 1205 | drivers/isdn/isdn_common.c | dev->profd = current; |
current | 1458 | drivers/isdn/isdn_common.c | if (dev->profd == current) |
current | 195 | drivers/isdn/isdn_ppp.c | ippp_table[minor].tk = current; |
current | 772 | drivers/isdn/isdn_tty.c | struct wait_queue wait = {current, NULL}; |
current | 803 | drivers/isdn/isdn_tty.c | (info->session != current->session)) |
current | 807 | drivers/isdn/isdn_tty.c | (info->pgrp != current->pgrp)) |
current | 849 | drivers/isdn/isdn_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 869 | drivers/isdn/isdn_tty.c | if (current->signal & ~current->blocked) { |
current | 879 | drivers/isdn/isdn_tty.c | current->state = TASK_RUNNING; |
current | 942 | drivers/isdn/isdn_tty.c | info->session = current->session; |
current | 943 | drivers/isdn/isdn_tty.c | info->pgrp = current->pgrp; |
current | 1024 | drivers/isdn/isdn_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 1025 | drivers/isdn/isdn_tty.c | current->timeout = jiffies + 20; |
current | 1050 | drivers/isdn/isdn_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 1051 | drivers/isdn/isdn_tty.c | current->timeout = jiffies + info->close_delay; |
current | 786 | drivers/net/ppp.c | ppp = ppp_find(current->pid); |
current | 1715 | drivers/net/ppp.c | current->timeout = 0; |
current | 1716 | drivers/net/ppp.c | current->state = TASK_INTERRUPTIBLE; |
current | 1719 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 1754 | drivers/net/ppp.c | current->timeout = 0; |
current | 1761 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 2101 | drivers/net/ppp.c | current->timeout = 0; |
current | 2112 | drivers/net/ppp.c | if (current->signal & ~current->blocked) { |
current | 2492 | drivers/net/ppp.c | ppp_tty_close_local (tty, current->pid); |
current | 768 | drivers/scsi/53c7,8xx.c | u32 *current; |
current | 777 | drivers/scsi/53c7,8xx.c | hostdata->current = NULL; |
current | 778 | drivers/scsi/53c7,8xx.c | for (i = 0, current = (u32 *) hostdata->schedule; |
current | 779 | drivers/scsi/53c7,8xx.c | i < host->can_queue; ++i, current += 2) { |
current | 780 | drivers/scsi/53c7,8xx.c | current[0] = hostdata->NOP_insn; |
current | 781 | drivers/scsi/53c7,8xx.c | current[1] = 0xdeadbeef; |
current | 783 | drivers/scsi/53c7,8xx.c | current[0] = ((DCMD_TYPE_TCI|DCMD_TCI_OP_JUMP) << 24) | DBC_TCI_TRUE; |
current | 784 | drivers/scsi/53c7,8xx.c | current[1] = (u32) virt_to_bus (hostdata->script) + |
current | 2089 | drivers/scsi/53c7,8xx.c | volatile u32 *ncr_prev, *current, ncr_search; |
current | 2105 | drivers/scsi/53c7,8xx.c | for (found = 0, left = host->can_queue, current = hostdata->schedule; |
current | 2106 | drivers/scsi/53c7,8xx.c | left > 0; --left, current += 2) |
current | 2108 | drivers/scsi/53c7,8xx.c | if (issue_to_cmd (host, hostdata, (u32 *) current) == cmd) |
current | 2110 | drivers/scsi/53c7,8xx.c | current[0] = hostdata->NOP_insn; |
current | 2111 | drivers/scsi/53c7,8xx.c | current[1] = 0xdeadbeef; |
current | 3949 | drivers/scsi/53c7,8xx.c | volatile u32 *current; |
current | 3976 | drivers/scsi/53c7,8xx.c | for (i = host->can_queue, current = hostdata->schedule; |
current | 3977 | drivers/scsi/53c7,8xx.c | i > 0 && current[0] != hostdata->NOP_insn; |
current | 3978 | drivers/scsi/53c7,8xx.c | --i, current += 2 /* JUMP instructions are two words */); |
current | 3987 | drivers/scsi/53c7,8xx.c | sizeof(u32)] = (u32) virt_to_bus ((void *)current); |
current | 3989 | drivers/scsi/53c7,8xx.c | current[1] = |
current | 3993 | drivers/scsi/53c7,8xx.c | current[0] = ((DCMD_TYPE_TCI|DCMD_TCI_OP_JUMP) << 24) | |
current | 4504 | drivers/scsi/53c7,8xx.c | cmd = (struct NCR53c7x0_cmd *) hostdata->current; |
current | 5857 | drivers/scsi/53c7,8xx.c | volatile u32 *current; |
current | 5899 | drivers/scsi/53c7,8xx.c | for (left = host->can_queue, current = hostdata->schedule; |
current | 5900 | drivers/scsi/53c7,8xx.c | left > 0; current += 2, --left) |
current | 5901 | drivers/scsi/53c7,8xx.c | if (current[0] != hostdata->NOP_insn) |
current | 5903 | drivers/scsi/53c7,8xx.c | print_dsa (host, bus_to_virt (current[1] - |
current | 6093 | drivers/scsi/53c7,8xx.c | u32 *current; |
current | 6114 | drivers/scsi/53c7,8xx.c | for (i = 0, current = (u32 *) hostdata->schedule; |
current | 6115 | drivers/scsi/53c7,8xx.c | i < host->can_queue; ++i, current += 2) { |
current | 6116 | drivers/scsi/53c7,8xx.c | current[0] = hostdata->NOP_insn; |
current | 6117 | drivers/scsi/53c7,8xx.c | current[1] = 0xdeadbeef; |
current | 6119 | drivers/scsi/53c7,8xx.c | hostdata->current = NULL; |
current | 1397 | drivers/scsi/53c7,8xx.h | volatile struct NCR53c7x0_cmd *current; /* currently connected |
current | 532 | drivers/scsi/scsi.h | struct wait_queue wait = { current, NULL}; \ |
current | 535 | drivers/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
current | 546 | drivers/scsi/scsi.h | current->state = TASK_RUNNING; \ |
current | 108 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 123 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 171 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 221 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 328 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 85 | fs/binfmt_aout.c | char corefile[6+sizeof(current->comm)]; |
current | 94 | fs/binfmt_aout.c | if (!current->dumpable) |
current | 96 | fs/binfmt_aout.c | current->dumpable = 0; |
current | 99 | fs/binfmt_aout.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
current | 105 | fs/binfmt_aout.c | memcpy(corefile+5,current->comm,sizeof(current->comm)); |
current | 132 | fs/binfmt_aout.c | strncpy(dump.u_comm, current->comm, sizeof(current->comm)); |
current | 140 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 145 | fs/binfmt_aout.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 176 | fs/binfmt_aout.c | DUMP_WRITE(current,sizeof(*current)); |
current | 236 | fs/binfmt_aout.c | current->mm->arg_start = (unsigned long) p; |
current | 242 | fs/binfmt_aout.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 248 | fs/binfmt_aout.c | current->mm->env_end = (unsigned long) p; |
current | 276 | fs/binfmt_aout.c | current->personality = PER_LINUX; |
current | 296 | fs/binfmt_aout.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 305 | fs/binfmt_aout.c | current->mm->end_code = ex.a_text + |
current | 306 | fs/binfmt_aout.c | (current->mm->start_code = N_TXTADDR(ex)); |
current | 307 | fs/binfmt_aout.c | current->mm->end_data = ex.a_data + |
current | 308 | fs/binfmt_aout.c | (current->mm->start_data = N_DATADDR(ex)); |
current | 309 | fs/binfmt_aout.c | current->mm->brk = ex.a_bss + |
current | 310 | fs/binfmt_aout.c | (current->mm->start_brk = N_BSSADDR(ex)); |
current | 312 | fs/binfmt_aout.c | current->mm->rss = 0; |
current | 313 | fs/binfmt_aout.c | current->mm->mmap = NULL; |
current | 314 | fs/binfmt_aout.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 315 | fs/binfmt_aout.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 338 | fs/binfmt_aout.c | file = current->files->fd[fd]; |
current | 356 | fs/binfmt_aout.c | send_sig(SIGKILL, current, 0); |
current | 366 | fs/binfmt_aout.c | send_sig(SIGKILL, current, 0); |
current | 371 | fs/binfmt_aout.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 372 | fs/binfmt_aout.c | (*current->exec_domain->use_count)--; |
current | 373 | fs/binfmt_aout.c | if (current->binfmt && current->binfmt->use_count) |
current | 374 | fs/binfmt_aout.c | (*current->binfmt->use_count)--; |
current | 375 | fs/binfmt_aout.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 376 | fs/binfmt_aout.c | current->binfmt = &aout_format; |
current | 377 | fs/binfmt_aout.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 378 | fs/binfmt_aout.c | (*current->exec_domain->use_count)++; |
current | 379 | fs/binfmt_aout.c | if (current->binfmt && current->binfmt->use_count) |
current | 380 | fs/binfmt_aout.c | (*current->binfmt->use_count)++; |
current | 382 | fs/binfmt_aout.c | set_brk(current->mm->start_brk, current->mm->brk); |
current | 387 | fs/binfmt_aout.c | current->personality != PER_LINUX); |
current | 388 | fs/binfmt_aout.c | current->mm->start_stack = p; |
current | 393 | fs/binfmt_aout.c | if (current->flags & PF_PTRACED) |
current | 394 | fs/binfmt_aout.c | send_sig(SIGTRAP, current, 0); |
current | 420 | fs/binfmt_aout.c | file = current->files->fd[fd]; |
current | 124 | fs/binfmt_elf.c | NEW_AUX_ENT (AT_UID, (unsigned long) current->uid); |
current | 125 | fs/binfmt_elf.c | NEW_AUX_ENT (AT_EUID, (unsigned long) current->euid); |
current | 126 | fs/binfmt_elf.c | NEW_AUX_ENT (AT_GID, (unsigned long) current->gid); |
current | 127 | fs/binfmt_elf.c | NEW_AUX_ENT (AT_EGID, (unsigned long) current->egid); |
current | 133 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
current | 139 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 145 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
current | 212 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 289 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
current | 290 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
current | 291 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
current | 403 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 516 | fs/binfmt_elf.c | current->mm->end_data = 0; |
current | 517 | fs/binfmt_elf.c | current->mm->end_code = 0; |
current | 518 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
current | 519 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
current | 524 | fs/binfmt_elf.c | current->mm->rss = 0; |
current | 526 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 560 | fs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 605 | fs/binfmt_elf.c | current->personality = (ibcs2_interpreter ? PER_SVR4 : PER_LINUX); |
current | 607 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 608 | fs/binfmt_elf.c | (*current->exec_domain->use_count)--; |
current | 609 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 610 | fs/binfmt_elf.c | (*current->binfmt->use_count)--; |
current | 611 | fs/binfmt_elf.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 612 | fs/binfmt_elf.c | current->binfmt = &elf_format; |
current | 613 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 614 | fs/binfmt_elf.c | (*current->exec_domain->use_count)++; |
current | 615 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 616 | fs/binfmt_elf.c | (*current->binfmt->use_count)++; |
current | 619 | fs/binfmt_elf.c | current->executable = bprm->inode; |
current | 623 | fs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 625 | fs/binfmt_elf.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 626 | fs/binfmt_elf.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 636 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
current | 637 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
current | 638 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
current | 639 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
current | 640 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
current | 641 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 650 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
current | 651 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
current | 652 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
current | 653 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
current | 654 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
current | 655 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
current | 658 | fs/binfmt_elf.c | if( current->personality == PER_SVR4 ) |
current | 678 | fs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 679 | fs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 711 | fs/binfmt_elf.c | file = current->files->fd[fd]; |
current | 932 | fs/binfmt_elf.c | char corefile[6+sizeof(current->comm)]; |
current | 939 | fs/binfmt_elf.c | int limit = current->rlim[RLIMIT_CORE].rlim_cur; |
current | 946 | fs/binfmt_elf.c | if (!current->dumpable || limit < PAGE_SIZE) |
current | 948 | fs/binfmt_elf.c | current->dumpable = 0; |
current | 957 | fs/binfmt_elf.c | for(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) { |
current | 998 | fs/binfmt_elf.c | memcpy(corefile+5,current->comm,sizeof(current->comm)); |
current | 1040 | fs/binfmt_elf.c | prstatus.pr_sigpend = current->signal; |
current | 1041 | fs/binfmt_elf.c | prstatus.pr_sighold = current->blocked; |
current | 1042 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
current | 1043 | fs/binfmt_elf.c | psinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid; |
current | 1044 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
current | 1045 | fs/binfmt_elf.c | psinfo.pr_sid = prstatus.pr_sid = current->session; |
current | 1046 | fs/binfmt_elf.c | prstatus.pr_utime.tv_sec = CT_TO_SECS(current->utime); |
current | 1047 | fs/binfmt_elf.c | prstatus.pr_utime.tv_usec = CT_TO_USECS(current->utime); |
current | 1048 | fs/binfmt_elf.c | prstatus.pr_stime.tv_sec = CT_TO_SECS(current->stime); |
current | 1049 | fs/binfmt_elf.c | prstatus.pr_stime.tv_usec = CT_TO_USECS(current->stime); |
current | 1050 | fs/binfmt_elf.c | prstatus.pr_cutime.tv_sec = CT_TO_SECS(current->cutime); |
current | 1051 | fs/binfmt_elf.c | prstatus.pr_cutime.tv_usec = CT_TO_USECS(current->cutime); |
current | 1052 | fs/binfmt_elf.c | prstatus.pr_cstime.tv_sec = CT_TO_SECS(current->cstime); |
current | 1053 | fs/binfmt_elf.c | prstatus.pr_cstime.tv_usec = CT_TO_USECS(current->cstime); |
current | 1071 | fs/binfmt_elf.c | psinfo.pr_state = current->state; |
current | 1072 | fs/binfmt_elf.c | psinfo.pr_sname = (current->state < 0 || current->state > 5) ? '.' : "RSDZTD"[current->state]; |
current | 1074 | fs/binfmt_elf.c | psinfo.pr_nice = current->priority-15; |
current | 1075 | fs/binfmt_elf.c | psinfo.pr_flag = current->flags; |
current | 1076 | fs/binfmt_elf.c | psinfo.pr_uid = current->uid; |
current | 1077 | fs/binfmt_elf.c | psinfo.pr_gid = current->gid; |
current | 1083 | fs/binfmt_elf.c | len = current->mm->arg_end - current->mm->arg_start; |
current | 1086 | fs/binfmt_elf.c | (const char *)current->mm->arg_start, len); |
current | 1094 | fs/binfmt_elf.c | strncpy(psinfo.pr_fname, current->comm, sizeof(psinfo.pr_fname)); |
current | 1098 | fs/binfmt_elf.c | notes[2].datasz = sizeof(*current); |
current | 1099 | fs/binfmt_elf.c | notes[2].data = current; |
current | 1140 | fs/binfmt_elf.c | for(vma = current->mm->mmap, i = 0; |
current | 1174 | fs/binfmt_elf.c | for(i = 0, vma = current->mm->mmap; |
current | 129 | fs/buffer.c | struct wait_queue wait = { current, NULL }; |
current | 134 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 141 | fs/buffer.c | current->state = TASK_RUNNING; |
current | 265 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 279 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 1159 | fs/buffer.c | ++current->maj_flt; |
current | 1958 | fs/buffer.c | current->session = 1; |
current | 1959 | fs/buffer.c | current->pgrp = 1; |
current | 1960 | fs/buffer.c | sprintf(current->comm, "kflushd"); |
current | 2031 | fs/buffer.c | current->signal = 0; |
current | 159 | fs/dquot.c | struct wait_queue wait = {current, NULL}; |
current | 163 | fs/dquot.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 170 | fs/dquot.c | current->state = TASK_RUNNING; |
current | 367 | fs/dquot.c | return(current->fsuid == dquot->dq_id); |
current | 369 | fs/dquot.c | return(current->fsgid == dquot->dq_id); |
current | 384 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 395 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 405 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 422 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 433 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 443 | fs/dquot.c | tty_write_message(current->tty, quotamessage); |
current | 1027 | fs/dquot.c | if (((type == USRQUOTA && current->uid != id) || |
current | 1028 | fs/dquot.c | (type == GRPQUOTA && current->gid != id)) && !fsuser()) |
current | 122 | fs/exec.c | fpp = current->files->fd; |
current | 166 | fs/exec.c | file = current->files->fd[fd]; |
current | 296 | fs/exec.c | mpnt->vm_mm = current->mm; |
current | 305 | fs/exec.c | insert_vm_struct(current, mpnt); |
current | 306 | fs/exec.c | current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; |
current | 311 | fs/exec.c | current->mm->rss++; |
current | 312 | fs/exec.c | put_dirty_page(current,bprm->page[i],stack_base); |
current | 374 | fs/exec.c | if (current->mm->count > 1) { |
current | 378 | fs/exec.c | oom(current); |
current | 381 | fs/exec.c | *mm = *current->mm; |
current | 388 | fs/exec.c | current->mm->count--; |
current | 389 | fs/exec.c | current->mm = mm; |
current | 390 | fs/exec.c | new_page_tables(current); |
current | 393 | fs/exec.c | exit_mmap(current->mm); |
current | 394 | fs/exec.c | clear_page_tables(current); |
current | 408 | fs/exec.c | if (current->euid == current->uid && current->egid == current->gid) |
current | 409 | fs/exec.c | current->dumpable = 1; |
current | 416 | fs/exec.c | current->comm[i++] = ch; |
current | 418 | fs/exec.c | current->comm[i] = '\0'; |
current | 425 | fs/exec.c | if (bprm->e_uid != current->euid || bprm->e_gid != current->egid || |
current | 427 | fs/exec.c | current->dumpable = 0; |
current | 428 | fs/exec.c | current->signal = 0; |
current | 430 | fs/exec.c | current->sig->action[i].sa_mask = 0; |
current | 431 | fs/exec.c | current->sig->action[i].sa_flags = 0; |
current | 432 | fs/exec.c | if (current->sig->action[i].sa_handler != SIG_IGN) |
current | 433 | fs/exec.c | current->sig->action[i].sa_handler = NULL; |
current | 436 | fs/exec.c | if (FD_ISSET(i,¤t->files->close_on_exec)) |
current | 438 | fs/exec.c | FD_ZERO(¤t->files->close_on_exec); |
current | 439 | fs/exec.c | if (last_task_used_math == current) |
current | 441 | fs/exec.c | current->used_math = 0; |
current | 459 | fs/exec.c | (((i & S_ISUID) && bprm->inode->i_uid != current->euid) |
current | 463 | fs/exec.c | if (current->flags & PF_PTRACED) { |
current | 464 | fs/exec.c | bprm->e_uid = current->euid; |
current | 465 | fs/exec.c | bprm->e_gid = current->egid; |
current | 467 | fs/exec.c | bprm->e_uid = (i & S_ISUID) ? bprm->inode->i_uid : current->euid; |
current | 468 | fs/exec.c | bprm->e_gid = (i & S_ISGID) ? bprm->inode->i_gid : current->egid; |
current | 542 | fs/exec.c | current->did_exec = 1; |
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 | 360 | fs/ext/namei.c | inode->i_uid = current->fsuid; |
current | 447 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 548 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 549 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 602 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 603 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 781 | fs/ext/namei.c | current->counter = 0; |
current | 795 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
current | 796 | fs/ext/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 816 | fs/ext/namei.c | current->fsuid != new_inode->i_uid && |
current | 817 | fs/ext/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 57 | fs/ext/symlink.c | dir = current->fs->root; |
current | 69 | fs/ext/symlink.c | if (current->link_count > 5) { |
current | 80 | fs/ext/symlink.c | current->link_count++; |
current | 82 | fs/ext/symlink.c | current->link_count--; |
current | 237 | fs/ext/truncate.c | current->counter = 0; |
current | 43 | fs/ext2/acl.c | else if (current->fsuid == inode->i_uid) |
current | 280 | fs/ext2/balloc.c | (!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) && |
current | 457 | fs/ext2/ialloc.c | inode->i_uid = current->fsuid; |
current | 465 | fs/ext2/ialloc.c | inode->i_gid = current->fsgid; |
current | 202 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 281 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 45 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 67 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 429 | fs/ext2/namei.c | inode->i_uid = current->fsuid; |
current | 520 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 632 | fs/ext2/namei.c | current->counter = 0; |
current | 637 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 638 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 717 | fs/ext2/namei.c | current->counter = 0; |
current | 722 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 723 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 949 | fs/ext2/namei.c | current->counter = 0; |
current | 964 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
current | 965 | fs/ext2/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 1000 | fs/ext2/namei.c | current->fsuid != new_inode->i_uid && |
current | 1001 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 63 | fs/ext2/symlink.c | dir = current->fs->root; |
current | 75 | fs/ext2/symlink.c | if (current->link_count > 5) { |
current | 89 | fs/ext2/symlink.c | current->link_count++; |
current | 91 | fs/ext2/symlink.c | current->link_count--; |
current | 342 | fs/ext2/truncate.c | current->counter = 0; |
current | 78 | fs/fat/inode.c | *uid = current->uid; |
current | 79 | fs/fat/inode.c | *gid = current->gid; |
current | 80 | fs/fat/inode.c | *umask = current->fs->umask; |
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 | 62 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 68 | fs/fcntl.c | return FD_ISSET(fd, ¤t->files->close_on_exec); |
current | 71 | fs/fcntl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 73 | fs/fcntl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 132 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
current | 139 | fs/fcntl.c | if ((p->session != current->session) && |
current | 140 | fs/fcntl.c | (p->uid != current->uid) && |
current | 141 | fs/fcntl.c | (p->euid != current->euid) && |
current | 32 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 65 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 557 | fs/hpfs/hpfs_fs.c | *uid = current->uid; |
current | 558 | fs/hpfs/hpfs_fs.c | *gid = current->gid; |
current | 559 | fs/hpfs/hpfs_fs.c | *umask = current->fs->umask; |
current | 256 | fs/inode.c | (current->fsuid != inode->i_uid || |
current | 268 | fs/inode.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 278 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 281 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 543 | fs/inode.c | inode->i_uid = current->fsuid; |
current | 544 | fs/inode.c | inode->i_gid = current->fsgid; |
current | 617 | fs/inode.c | struct wait_queue wait = { current, NULL }; |
current | 621 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 627 | fs/inode.c | current->state = TASK_RUNNING; |
current | 63 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 67 | fs/ioctl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 71 | fs/ioctl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 54 | fs/isofs/symlink.c | dir = current->fs->root; |
current | 67 | fs/isofs/symlink.c | if ((current->link_count > 5) || |
current | 75 | fs/isofs/symlink.c | current->link_count++; |
current | 77 | fs/isofs/symlink.c | current->link_count--; |
current | 158 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
current | 180 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
current | 227 | fs/locks.c | if ((fd >= NR_OPEN) || !(filp = current->files->fd[fd])) |
current | 332 | fs/locks.c | fl->fl_owner = current; |
current | 365 | fs/locks.c | fl->fl_owner = current; |
current | 509 | fs/locks.c | if (current->signal & ~current->blocked) { |
current | 521 | fs/locks.c | if (current->signal & ~current->blocked) { |
current | 571 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 577 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 195 | fs/minix/bitmap.c | inode->i_uid = current->fsuid; |
current | 196 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 266 | fs/minix/namei.c | inode->i_uid = current->fsuid; |
current | 350 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 446 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 447 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 508 | fs/minix/namei.c | current->counter = 0; |
current | 513 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 514 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 691 | fs/minix/namei.c | current->counter = 0; |
current | 705 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
current | 706 | fs/minix/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 736 | fs/minix/namei.c | current->fsuid != new_inode->i_uid && |
current | 737 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 51 | fs/minix/symlink.c | dir = current->fs->root; |
current | 63 | fs/minix/symlink.c | if (current->link_count > 5) { |
current | 74 | fs/minix/symlink.c | current->link_count++; |
current | 76 | fs/minix/symlink.c | current->link_count--; |
current | 189 | fs/minix/truncate.c | current->counter = 0; |
current | 400 | fs/minix/truncate.c | current->counter = 0; |
current | 35 | fs/namei.c | vma = find_vma(current, address); |
current | 107 | fs/namei.c | else if (current->fsuid == inode->i_uid) |
current | 165 | fs/namei.c | if (dir == current->fs->root) { |
current | 224 | fs/namei.c | base = current->fs->pwd; |
current | 229 | fs/namei.c | base = current->fs->root; |
current | 339 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
current | 456 | fs/namei.c | mode &= ~current->fs->umask; |
current | 539 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
current | 185 | fs/ncpfs/inode.c | || ((ncp_filp = current->files->fd[data->ncp_fd]) == NULL) |
current | 194 | fs/ncpfs/inode.c | || ((wdog_filp = current->files->fd[data->wdog_fd]) == NULL) |
current | 203 | fs/ncpfs/inode.c | || ((msg_filp = current->files->fd[data->message_fd]) == NULL) |
current | 30 | fs/ncpfs/ioctl.c | && (current->uid != server->m.mounted_uid)) |
current | 79 | fs/ncpfs/ioctl.c | && (current->uid != server->m.mounted_uid)) |
current | 89 | fs/ncpfs/ioctl.c | && (current->uid != server->m.mounted_uid)) |
current | 120 | fs/ncpfs/ioctl.c | && (current->uid != server->m.mounted_uid)) |
current | 359 | fs/ncpfs/sock.c | old_mask = current->blocked; |
current | 360 | fs/ncpfs/sock.c | current->blocked |= ~(_S(SIGKILL) |
current | 365 | fs/ncpfs/sock.c | ? ((current->sig->action[SIGINT - 1].sa_handler == SIG_DFL |
current | 367 | fs/ncpfs/sock.c | | (current->sig->action[SIGQUIT - 1].sa_handler == SIG_DFL |
current | 402 | fs/ncpfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
current | 415 | fs/ncpfs/sock.c | current->timeout = jiffies + timeout; |
current | 418 | fs/ncpfs/sock.c | current->state = TASK_RUNNING; |
current | 419 | fs/ncpfs/sock.c | if (current->signal & ~current->blocked) |
current | 421 | fs/ncpfs/sock.c | current->timeout = 0; |
current | 425 | fs/ncpfs/sock.c | if (!current->timeout) |
current | 448 | fs/ncpfs/sock.c | current->timeout = 0; |
current | 452 | fs/ncpfs/sock.c | current->state = TASK_RUNNING; |
current | 538 | fs/ncpfs/sock.c | current->blocked = old_mask; |
current | 604 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
current | 640 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
current | 665 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
current | 108 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
current | 699 | fs/nfs/nfsroot.c | filp = current->files->fd[nfs_data.fd]; |
current | 702 | fs/nfs/nfsroot.c | current->files->fd[nfs_data.fd] = &nfs_file; |
current | 725 | fs/nfs/nfsroot.c | current->files->fd[nfs_data.fd] = NULL; |
current | 726 | fs/nfs/nfsroot.c | if (current->files->count > 0) |
current | 727 | fs/nfs/nfsroot.c | current->files->count--; |
current | 248 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 285 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 327 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 363 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 408 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 453 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 493 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 528 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 567 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 604 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 642 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 682 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 717 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 773 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 809 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 862 | fs/nfs/proc.c | (ruid ? current->uid : current->fsuid), |
current | 863 | fs/nfs/proc.c | current->egid, current->groups); |
current | 36 | fs/nfs/rpcsock.c | #define msleep(sec) { current->timeout = sec * HZ / 1000; \ |
current | 37 | fs/nfs/rpcsock.c | current->state = TASK_INTERRUPTIBLE; \ |
current | 115 | fs/nfs/rpcsock.c | current->state = TASK_INTERRUPTIBLE; |
current | 120 | fs/nfs/rpcsock.c | current->state = TASK_RUNNING; |
current | 121 | fs/nfs/rpcsock.c | if (current->signal & ~current->blocked) |
current | 123 | fs/nfs/rpcsock.c | if (current->timeout == 0) |
current | 127 | fs/nfs/rpcsock.c | current->state = TASK_RUNNING; |
current | 197 | fs/nfs/rpcsock.c | if (current->timeout != 0) |
current | 291 | fs/nfs/rpcsock.c | current->timeout = jiffies + timeout; |
current | 295 | fs/nfs/rpcsock.c | current->timeout = 0; |
current | 299 | fs/nfs/rpcsock.c | if (current->timeout == 0) { |
current | 305 | fs/nfs/rpcsock.c | current->timeout = 0; |
current | 338 | fs/nfs/rpcsock.c | current->timeout = 0; |
current | 397 | fs/nfs/rpcsock.c | if (current->signal & ~current->blocked) |
current | 63 | fs/nfs/sock.c | oldmask = current->blocked; |
current | 64 | fs/nfs/sock.c | current->blocked |= ~(_S(SIGKILL) |
current | 66 | fs/nfs/sock.c | ? ((current->sig->action[SIGINT - 1].sa_handler == SIG_DFL |
current | 68 | fs/nfs/sock.c | | (current->sig->action[SIGQUIT - 1].sa_handler == SIG_DFL |
current | 79 | fs/nfs/sock.c | if (current->signal & ~current->blocked) |
current | 108 | fs/nfs/sock.c | current->blocked = oldmask; |
current | 57 | fs/nfs/symlink.c | dir = current->fs->root; |
current | 69 | fs/nfs/symlink.c | if (current->link_count > 5) { |
current | 89 | fs/nfs/symlink.c | current->link_count++; |
current | 91 | fs/nfs/symlink.c | current->link_count--; |
current | 54 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 123 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 237 | fs/open.c | old_fsuid = current->fsuid; |
current | 238 | fs/open.c | old_fsgid = current->fsgid; |
current | 239 | fs/open.c | current->fsuid = current->uid; |
current | 240 | fs/open.c | current->fsgid = current->gid; |
current | 246 | fs/open.c | current->fsuid = old_fsuid; |
current | 247 | fs/open.c | current->fsgid = old_fsgid; |
current | 267 | fs/open.c | iput(current->fs->pwd); |
current | 268 | fs/open.c | current->fs->pwd = inode; |
current | 278 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 286 | fs/open.c | iput(current->fs->pwd); |
current | 287 | fs/open.c | current->fs->pwd = inode; |
current | 308 | fs/open.c | iput(current->fs->root); |
current | 309 | fs/open.c | current->fs->root = inode; |
current | 319 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 369 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 521 | fs/open.c | for(fd = 0; fd < NR_OPEN && fd < current->rlim[RLIMIT_NOFILE].rlim_cur; fd++) { |
current | 522 | fs/open.c | if (!current->files->fd[fd]) { |
current | 523 | fs/open.c | current->files->fd[fd] = f; |
current | 524 | fs/open.c | FD_CLR(fd,¤t->files->close_on_exec); |
current | 577 | fs/open.c | locks_remove_locks(current, filp); |
current | 598 | fs/open.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 599 | fs/open.c | if (!(filp = current->files->fd[fd])) |
current | 601 | fs/open.c | current->files->fd[fd] = NULL; |
current | 614 | fs/open.c | if (current->tty) |
current | 615 | fs/open.c | tty_vhangup(current->tty); |
current | 43 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 78 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 89 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 92 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 211 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 420 | fs/pipe.c | for(i=0;j<2 && i<NR_OPEN && i<current->rlim[RLIMIT_NOFILE].rlim_cur;i++) |
current | 421 | fs/pipe.c | if (!current->files->fd[i]) { |
current | 422 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
current | 430 | fs/pipe.c | current->files->fd[fd[0]] = NULL; |
current | 415 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
current | 472 | fs/proc/array.c | # define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->tss.usp) |
current | 940 | fs/proc/array.c | if (*p != current) |
current | 49 | fs/proc/inode.c | *uid = current->uid; |
current | 50 | fs/proc/inode.c | *gid = current->gid; |
current | 82 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 144 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 179 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 260 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 278 | fs/proc/mem.c | dest_dir = pgd_offset(current->mm, dtmp); |
current | 216 | fs/proc/root.c | *res_inode = proc_get_inode(inode->i_sb, (current->pid << 16) + PROC_PID_INO, &proc_pid); |
current | 229 | fs/proc/root.c | len = 1 + sprintf(tmp, "%d", current->pid); |
current | 23 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 63 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 109 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 130 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 261 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode)) |
current | 274 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || !(inode = file->f_inode)) |
current | 62 | fs/readdir.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 126 | fs/readdir.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 105 | fs/select.c | if (!current->files->fd[i]) |
current | 107 | fs/select.c | if (!current->files->fd[i]->f_inode) |
current | 124 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
current | 126 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) { |
current | 131 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) { |
current | 136 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) { |
current | 143 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
current | 149 | fs/select.c | current->state = TASK_RUNNING; |
current | 235 | fs/select.c | current->timeout = timeout; |
current | 237 | fs/select.c | timeout = current->timeout - jiffies - 1; |
current | 238 | fs/select.c | current->timeout = 0; |
current | 241 | fs/select.c | if (tvp && !(current->personality & STICKY_TIMEOUTS)) { |
current | 249 | fs/select.c | if (!i && (current->signal & ~current->blocked)) |
current | 194 | fs/smbfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
current | 236 | fs/smbfs/inode.c | server->pid = current->pid; |
current | 237 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
current | 519 | fs/smbfs/sock.c | old_mask = current->blocked; |
current | 520 | fs/smbfs/sock.c | current->blocked |= ~(_S(SIGKILL) | _S(SIGSTOP)); |
current | 533 | fs/smbfs/sock.c | current->signal &= ~_S(SIGPIPE); |
current | 535 | fs/smbfs/sock.c | current->blocked = old_mask; |
current | 585 | fs/smbfs/sock.c | old_mask = current->blocked; |
current | 586 | fs/smbfs/sock.c | current->blocked |= ~(_S(SIGKILL) | _S(SIGSTOP)); |
current | 603 | fs/smbfs/sock.c | current->signal &= ~_S(SIGPIPE); |
current | 605 | fs/smbfs/sock.c | current->blocked = old_mask; |
current | 651 | fs/smbfs/sock.c | old_mask = current->blocked; |
current | 652 | fs/smbfs/sock.c | current->blocked |= ~(_S(SIGKILL) | _S(SIGSTOP)); |
current | 677 | fs/smbfs/sock.c | current->signal &= ~_S(SIGPIPE); |
current | 678 | fs/smbfs/sock.c | current->blocked = old_mask; |
current | 724 | fs/smbfs/sock.c | old_mask = current->blocked; |
current | 725 | fs/smbfs/sock.c | current->blocked |= ~(_S(SIGKILL) | _S(SIGSTOP)); |
current | 750 | fs/smbfs/sock.c | current->signal &= ~_S(SIGPIPE); |
current | 751 | fs/smbfs/sock.c | current->blocked = old_mask; |
current | 28 | fs/stat.c | current->comm); |
current | 198 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 215 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 317 | fs/super.c | struct wait_queue wait = { current, NULL }; |
current | 321 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 327 | fs/super.c | current->state = TASK_RUNNING; |
current | 703 | fs/super.c | vma = find_vma(current, (unsigned long) data); |
current | 845 | fs/super.c | current->fs->pwd = inode; |
current | 846 | fs/super.c | current->fs->root = inode; |
current | 893 | fs/super.c | current->fs->pwd = inode; |
current | 894 | fs/super.c | current->fs->root = inode; |
current | 155 | fs/sysv/ialloc.c | inode->i_uid = current->fsuid; |
current | 156 | fs/sysv/ialloc.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 259 | fs/sysv/namei.c | inode->i_uid = current->fsuid; |
current | 341 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 438 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 439 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 499 | fs/sysv/namei.c | current->counter = 0; |
current | 504 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 505 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 685 | fs/sysv/namei.c | current->counter = 0; |
current | 699 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
current | 700 | fs/sysv/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 730 | fs/sysv/namei.c | current->fsuid != new_inode->i_uid && |
current | 731 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 57 | fs/sysv/symlink.c | dir = current->fs->root; |
current | 69 | fs/sysv/symlink.c | if (current->link_count > 5) { |
current | 80 | fs/sysv/symlink.c | current->link_count++; |
current | 82 | fs/sysv/symlink.c | current->link_count--; |
current | 284 | fs/sysv/truncate.c | current->counter = 0; |
current | 37 | fs/umsdos/check.c | int stack_level = (long)(&pg_dir)-current->kernel_stack_page; |
current | 39 | fs/umsdos/check.c | pg_dir = PAGE_DIR_OFFSET(current, 0); |
current | 73 | fs/umsdos/ioctl.c | }else if (current->euid == 0 |
current | 36 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
current | 90 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 109 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 111 | 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 | 335 | fs/umsdos/namei.c | current->fsuid == old_info.entry.uid || |
current | 336 | fs/umsdos/namei.c | current->fsuid == old_dir->i_uid ) { |
current | 342 | fs/umsdos/namei.c | current->fsuid == new_info.entry.uid || |
current | 343 | fs/umsdos/namei.c | current->fsuid == new_dir->i_uid ) { |
current | 691 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
current | 693 | fs/umsdos/namei.c | ? dir->i_gid : current->fsgid; |
current | 880 | fs/umsdos/namei.c | current->fsuid == sdir->i_uid || |
current | 881 | fs/umsdos/namei.c | current->fsuid == dir->i_uid ) { |
current | 943 | fs/umsdos/namei.c | current->fsuid == info.entry.uid || |
current | 944 | fs/umsdos/namei.c | current->fsuid == dir->i_uid ) { |
current | 60 | fs/umsdos/symlink.c | if (current->link_count < 5) { |
current | 66 | fs/umsdos/symlink.c | dir = current->fs[1].root; |
current | 85 | fs/umsdos/symlink.c | current->link_count++; |
current | 87 | fs/umsdos/symlink.c | current->link_count--; |
current | 147 | fs/vfat/namei.c | stack_level = (long)(&pg_dir)-current->kernel_stack_page; |
current | 159 | fs/vfat/namei.c | if (*(unsigned long *) current->kernel_stack_page != STACK_MAGIC) { |
current | 326 | fs/xiafs/bitmap.c | inode->i_uid = current->fsuid; |
current | 327 | fs/xiafs/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 298 | fs/xiafs/namei.c | inode->i_uid = current->fsuid; |
current | 382 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 502 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 503 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 559 | fs/xiafs/namei.c | current->counter = 0; |
current | 564 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 565 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 735 | fs/xiafs/namei.c | current->fsuid != old_inode->i_uid && |
current | 736 | fs/xiafs/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 756 | fs/xiafs/namei.c | current->fsuid != new_inode->i_uid && |
current | 757 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 793 | fs/xiafs/namei.c | current->counter=0; |
current | 85 | fs/xiafs/symlink.c | dir = current->fs->root; |
current | 101 | fs/xiafs/symlink.c | if (current->link_count > 5) { |
current | 112 | fs/xiafs/symlink.c | current->link_count++; |
current | 114 | fs/xiafs/symlink.c | current->link_count--; |
current | 192 | fs/xiafs/truncate.c | current->counter = 0; |
current | 36 | include/asm-alpha/pgtable.h | if (mm != current->mm) |
current | 55 | include/asm-alpha/pgtable.h | if (mm != current->mm) |
current | 68 | include/asm-alpha/pgtable.h | if (mm != current->mm) |
current | 299 | include/asm-alpha/pgtable.h | if (tsk == current) |
current | 91 | include/asm-i386/locks.h | if(sp->priority<current->lock_order) |
current | 92 | include/asm-i386/locks.h | panic("lock order violation: %s (%d)\n", sp->name, current->lock_order); |
current | 98 | include/asm-i386/locks.h | sp->oldpri=current->lock_order; |
current | 99 | include/asm-i386/locks.h | current->lock_order=sp->priority; |
current | 105 | include/asm-i386/locks.h | if(current->lock_order!=sp->priority) |
current | 106 | include/asm-i386/locks.h | panic("lock release order violation %s (%d)\n", sp->name, current->lock_order); |
current | 113 | include/asm-i386/locks.h | current->lock_order=sp->oldpri; |
current | 52 | include/asm-i386/pgtable.h | if (mm == current->mm) |
current | 59 | include/asm-i386/pgtable.h | if (vma->vm_mm == current->mm) |
current | 66 | include/asm-i386/pgtable.h | if (mm == current->mm) |
current | 99 | include/asm-i386/pgtable.h | if (current->mm->count == 1) /* just one copy of this mm */ |
current | 111 | include/asm-i386/pgtable.h | if (mm == current->mm && mm->count == 1) |
current | 120 | include/asm-i386/pgtable.h | if (vma->vm_mm == current->mm && current->mm->count == 1) |
current | 285 | include/asm-i386/pgtable.h | if ((tsk) == current) \ |
current | 42 | include/asm-m68k/system.h | : "r" (current->kernel_stack_page + PAGE_SIZE) \ |
current | 42 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
current | 44 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
current | 46 | include/asm-mips/pgtable.h | do { if ((mm_struct) == current->mm) invalidate(); } while (0) |
current | 200 | include/asm-mips/pgtable.h | if ((tsk) == current) \ |
current | 191 | include/asm-ppc/pgtable.h | if ((tsk) == current) \ |
current | 491 | include/asm-ppc/pgtable.h | MMU_hash_page(&(current)->tss, address & PAGE_MASK, (pte *)&_pte); |
current | 50 | include/asm-sparc/system.h | current->tss.current_ds = active_ds; \ |
current | 70 | include/linux/kernel.h | #define suser() (current->euid == 0) |
current | 71 | include/linux/kernel.h | #define fsuser() (current->fsuid == 0) |
current | 249 | include/linux/mm.h | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 375 | include/linux/sched.h | return current->files->fd[fd]; |
current | 459 | include/linux/sched.h | entry->wait.task = current; |
current | 11 | include/linux/wrapper.h | #define current_got_fatal_signal() (current->signal & ~current->blocked) |
current | 12 | include/linux/wrapper.h | #define current_set_timeout(val) current->timeout = val |
current | 761 | init/main.c | current->fs->root = pseudo_root; |
current | 762 | init/main.c | current->fs->pwd = pseudo_root; |
current | 93 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 148 | ipc/msg.c | msq->msg_lspid = current->pid; |
current | 245 | ipc/msg.c | msq->msg_lrpid = current->pid; |
current | 279 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 345 | ipc/msg.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 346 | ipc/msg.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 378 | ipc/msg.c | kerneld_pid = current->pid; |
current | 527 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 528 | ipc/msg.c | current->euid != ipcp->uid) |
current | 540 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 541 | ipc/msg.c | current->euid != ipcp->uid) |
current | 565 | ipc/msg.c | if ((current->pid == kerneld_pid) && (kerneld_msqid != -1)) |
current | 115 | ipc/sem.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 116 | ipc/sem.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 470 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || current->euid == ipcp->uid) { |
current | 521 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || current->euid == ipcp->uid) { |
current | 597 | ipc/sem.c | for (un = current->semundo; un; un = un->proc_next) |
current | 608 | ipc/sem.c | un->proc_next = current->semundo; |
current | 609 | ipc/sem.c | current->semundo = un; |
current | 617 | ipc/sem.c | error = do_semop(sma, sops, nsops, un, current->pid); |
current | 631 | ipc/sem.c | queue.pid = current->pid; |
current | 635 | ipc/sem.c | current->semsleeping = &queue; |
current | 637 | ipc/sem.c | current->semsleeping = NULL; |
current | 673 | ipc/sem.c | if ((q = current->semsleeping)) { |
current | 676 | ipc/sem.c | current->semsleeping = NULL; |
current | 679 | ipc/sem.c | for (up = ¤t->semundo; (u = *up); *up = u->proc_next, kfree(u)) { |
current | 703 | ipc/sem.c | sem->sempid = current->pid; |
current | 709 | ipc/sem.c | current->semundo = NULL; |
current | 113 | ipc/shm.c | shp->shm_perm.cuid = shp->shm_perm.uid = current->euid; |
current | 114 | ipc/shm.c | shp->shm_perm.cgid = shp->shm_perm.gid = current->egid; |
current | 117 | ipc/shm.c | shp->shm_cpid = current->pid; |
current | 325 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 326 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 336 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 337 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 429 | ipc/shm.c | current->mm->total_vm += (shmd->vm_end - shmd->vm_start) >> PAGE_SHIFT; |
current | 430 | ipc/shm.c | insert_vm_struct(current, shmd); |
current | 431 | ipc/shm.c | merge_segments(current, shmd->vm_start, shmd->vm_end); |
current | 490 | ipc/shm.c | if (addr < current->mm->start_stack && |
current | 491 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
current | 497 | ipc/shm.c | if ((shmd = find_vma_intersection(current, addr, addr + shp->shm_segsz))) { |
current | 519 | ipc/shm.c | shmd->vm_mm = current->mm; |
current | 539 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 561 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 579 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 593 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
current | 641 | ipc/shm.c | oom(current); |
current | 663 | ipc/shm.c | --current->maj_flt; /* was incremented in do_no_page */ |
current | 666 | ipc/shm.c | current->min_flt++; |
current | 40 | ipc/util.c | if (current->euid == ipcp->cuid || current->euid == ipcp->uid) |
current | 37 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 38 | kernel/exec_domain.c | (*current->exec_domain->use_count)--; |
current | 40 | kernel/exec_domain.c | current->personality = PER_SVR4; |
current | 41 | kernel/exec_domain.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 43 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 44 | kernel/exec_domain.c | (*current->exec_domain->use_count)++; |
current | 46 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->handler |
current | 47 | kernel/exec_domain.c | && current->exec_domain->handler != no_lcall7) { |
current | 48 | kernel/exec_domain.c | current->exec_domain->handler(regs); |
current | 52 | kernel/exec_domain.c | send_sig(SIGSEGV, current, 1); |
current | 108 | kernel/exec_domain.c | return current->personality; |
current | 114 | kernel/exec_domain.c | old_personality = current->personality; |
current | 115 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 116 | kernel/exec_domain.c | (*current->exec_domain->use_count)--; |
current | 117 | kernel/exec_domain.c | current->personality = personality; |
current | 118 | kernel/exec_domain.c | current->exec_domain = it; |
current | 119 | kernel/exec_domain.c | if (current->exec_domain->use_count) |
current | 120 | kernel/exec_domain.c | (*current->exec_domain->use_count)++; |
current | 50 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
current | 51 | kernel/exit.c | (current->euid != p->euid) && (current->euid != p->uid) && !suser()) |
current | 88 | kernel/exit.c | if (p == current) { |
current | 101 | kernel/exit.c | current->cmin_flt += p->min_flt + p->cmin_flt; |
current | 102 | kernel/exit.c | current->cmaj_flt += p->maj_flt + p->cmaj_flt; |
current | 103 | kernel/exit.c | current->cnswap += p->nswap + p->cnswap; |
current | 294 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
current | 298 | kernel/exit.c | if (p->pid > 1 && p != current) { |
current | 425 | kernel/exit.c | struct mm_struct * mm = current->mm; |
current | 427 | kernel/exit.c | current->swappable = 0; |
current | 431 | kernel/exit.c | free_page_tables(current); |
current | 434 | kernel/exit.c | current->mm = NULL; |
current | 446 | kernel/exit.c | forget_original_parent(current); |
current | 456 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
current | 457 | kernel/exit.c | (current->p_pptr->session == current->session) && |
current | 458 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
current | 459 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
current | 460 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
current | 461 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
current | 464 | kernel/exit.c | notify_parent(current); |
current | 474 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
current | 475 | kernel/exit.c | current->p_cptr = p->p_osptr; |
current | 478 | kernel/exit.c | if (task[smp_num_cpus] && task[smp_num_cpus] != current) /* init */ |
current | 493 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
current | 494 | kernel/exit.c | (p->session == current->session) && |
current | 501 | kernel/exit.c | if (current->leader) |
current | 512 | kernel/exit.c | current->flags |= PF_EXITING; |
current | 513 | kernel/exit.c | del_timer(¤t->real_timer); |
current | 517 | kernel/exit.c | __exit_files(current); |
current | 518 | kernel/exit.c | __exit_fs(current); |
current | 519 | kernel/exit.c | __exit_sighand(current); |
current | 521 | kernel/exit.c | current->state = TASK_ZOMBIE; |
current | 522 | kernel/exit.c | current->exit_code = code; |
current | 527 | kernel/exit.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 528 | kernel/exit.c | (*current->exec_domain->use_count)--; |
current | 529 | kernel/exit.c | if (current->binfmt && current->binfmt->use_count) |
current | 530 | kernel/exit.c | (*current->binfmt->use_count)--; |
current | 556 | kernel/exit.c | struct wait_queue wait = { current, NULL }; |
current | 569 | kernel/exit.c | add_wait_queue(¤t->wait_chldexit,&wait); |
current | 572 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
current | 577 | kernel/exit.c | if (p->pgrp != current->pgrp) |
current | 602 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
current | 603 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
current | 628 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
current | 630 | kernel/exit.c | current->signal &= ~(1<<(SIGCHLD-1)); |
current | 632 | kernel/exit.c | if (current->signal & ~current->blocked) |
current | 638 | kernel/exit.c | remove_wait_queue(¤t->wait_chldexit,&wait); |
current | 38 | kernel/fork.c | if (current->uid) |
current | 41 | kernel/fork.c | if (current->uid) { |
current | 42 | kernel/fork.c | long max_tasks = current->rlim[RLIMIT_NPROC].rlim_cur; |
current | 46 | kernel/fork.c | if (p->uid == current->uid) |
current | 65 | kernel/fork.c | return current->pid; |
current | 84 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
current | 103 | kernel/fork.c | if (copy_page_range(mm, current->mm, tmp)) { |
current | 117 | kernel/fork.c | SET_PAGE_DIR(tsk, current->mm->pgd); |
current | 118 | kernel/fork.c | current->mm->count++; |
current | 124 | kernel/fork.c | *tsk->mm = *current->mm; |
current | 142 | kernel/fork.c | current->fs->count++; |
current | 149 | kernel/fork.c | tsk->fs->umask = current->fs->umask; |
current | 150 | kernel/fork.c | if ((tsk->fs->root = current->fs->root)) |
current | 152 | kernel/fork.c | if ((tsk->fs->pwd = current->fs->pwd)) |
current | 162 | kernel/fork.c | current->files->count++; |
current | 169 | kernel/fork.c | memcpy(&tsk->files->close_on_exec, ¤t->files->close_on_exec, |
current | 172 | kernel/fork.c | struct file * f = current->files->fd[i]; |
current | 183 | kernel/fork.c | current->sig->count++; |
current | 190 | kernel/fork.c | memcpy(tsk->sig->action, current->sig->action, sizeof(tsk->sig->action)); |
current | 217 | kernel/fork.c | *p = *current; |
current | 233 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
current | 269 | kernel/fork.c | p->counter = current->counter >> 1; |
current | 53 | kernel/itimer.c | interval = current->it_real_incr; |
current | 55 | kernel/itimer.c | if (del_timer(¤t->real_timer)) { |
current | 57 | kernel/itimer.c | val = current->real_timer.expires; |
current | 58 | kernel/itimer.c | add_timer(¤t->real_timer); |
current | 66 | kernel/itimer.c | val = current->it_virt_value; |
current | 67 | kernel/itimer.c | interval = current->it_virt_incr; |
current | 70 | kernel/itimer.c | val = current->it_prof_value; |
current | 71 | kernel/itimer.c | interval = current->it_prof_incr; |
current | 126 | kernel/itimer.c | del_timer(¤t->real_timer); |
current | 127 | kernel/itimer.c | current->it_real_value = j; |
current | 128 | kernel/itimer.c | current->it_real_incr = i; |
current | 135 | kernel/itimer.c | current->real_timer.expires = i; |
current | 136 | kernel/itimer.c | add_timer(¤t->real_timer); |
current | 141 | kernel/itimer.c | current->it_virt_value = j; |
current | 142 | kernel/itimer.c | current->it_virt_incr = i; |
current | 147 | kernel/itimer.c | current->it_prof_value = j; |
current | 148 | kernel/itimer.c | current->it_prof_incr = i; |
current | 40 | kernel/panic.c | if (current == task[0]) |
current | 85 | kernel/printk.c | if (current->signal & ~current->blocked) { |
current | 110 | kernel/sched.c | if (p->counter > current->counter + 3) |
current | 272 | kernel/sched.c | prev = current; |
current | 373 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 439 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 441 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 444 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 446 | kernel/sched.c | current->state = TASK_RUNNING; |
current | 453 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 457 | kernel/sched.c | if (current == task[0]) |
current | 459 | kernel/sched.c | current->state = state; |
current | 824 | kernel/sched.c | current->utime++; |
current | 825 | kernel/sched.c | if (current->pid) { |
current | 826 | kernel/sched.c | if (current->priority < DEF_PRIORITY) |
current | 832 | kernel/sched.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 833 | kernel/sched.c | current->it_virt_value = current->it_virt_incr; |
current | 834 | kernel/sched.c | send_sig(SIGVTALRM,current,1); |
current | 837 | kernel/sched.c | current->stime++; |
current | 838 | kernel/sched.c | if(current->pid) |
current | 840 | kernel/sched.c | if (prof_buffer && current->pid) { |
current | 852 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
current | 853 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
current | 854 | kernel/sched.c | send_sig(SIGKILL, current, 1); |
current | 855 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
current | 856 | kernel/sched.c | (((current->stime + current->utime) % HZ) == 0)) { |
current | 857 | kernel/sched.c | psecs = (current->stime + current->utime) / HZ; |
current | 859 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
current | 860 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 862 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
current | 863 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
current | 864 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 867 | kernel/sched.c | if (current->pid && 0 > --current->counter) { |
current | 868 | kernel/sched.c | current->counter = 0; |
current | 872 | kernel/sched.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 873 | kernel/sched.c | current->it_prof_value = current->it_prof_incr; |
current | 874 | kernel/sched.c | send_sig(SIGPROF,current,1); |
current | 920 | kernel/sched.c | return current->pid; |
current | 925 | kernel/sched.c | return current->p_opptr->pid; |
current | 930 | kernel/sched.c | return current->uid; |
current | 935 | kernel/sched.c | return current->euid; |
current | 940 | kernel/sched.c | return current->gid; |
current | 945 | kernel/sched.c | return current->egid; |
current | 978 | kernel/sched.c | newprio = current->priority - increment; |
current | 983 | kernel/sched.c | current->priority = newprio; |
current | 993 | kernel/sched.c | p = current; |
current | 1042 | kernel/sched.c | if ((current->euid != p->euid) && (current->euid != p->uid) && |
current | 1105 | kernel/sched.c | move_last_runqueue(current); |
current | 1197 | kernel/sched.c | current->policy != SCHED_OTHER) { |
current | 1207 | kernel/sched.c | current->timeout = expire; |
current | 1208 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 1228 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
current | 1234 | kernel/sched.c | if (p == current) |
current | 1239 | kernel/sched.c | if (p == current) |
current | 31 | kernel/signal.c | sigset_t new_set, old_set = current->blocked; |
current | 41 | kernel/signal.c | current->blocked |= new_set; |
current | 44 | kernel/signal.c | current->blocked &= ~new_set; |
current | 47 | kernel/signal.c | current->blocked = new_set; |
current | 67 | kernel/signal.c | return current->blocked; |
current | 72 | kernel/signal.c | int old=current->blocked; |
current | 74 | kernel/signal.c | current->blocked = newmask & _BLOCKABLE; |
current | 86 | kernel/signal.c | put_user(current->blocked & current->signal, set); |
current | 109 | kernel/signal.c | p = signum - 1 + current->sig->action; |
current | 113 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 119 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 145 | kernel/signal.c | handler = current->sig->action[signum-1].sa_handler; |
current | 146 | kernel/signal.c | current->sig->action[signum-1] = tmp; |
current | 161 | kernel/signal.c | p = signum - 1 + current->sig->action; |
current | 42 | kernel/sys.c | if (!who && p == current) |
current | 47 | kernel/sys.c | who = current->pgrp; |
current | 51 | kernel/sys.c | who = current->uid; |
current | 83 | kernel/sys.c | if (p->uid != current->euid && |
current | 84 | kernel/sys.c | p->uid != current->uid && !suser()) { |
current | 227 | kernel/sys.c | int old_rgid = current->gid; |
current | 228 | kernel/sys.c | int old_egid = current->egid; |
current | 232 | kernel/sys.c | (current->egid==rgid) || |
current | 234 | kernel/sys.c | current->gid = rgid; |
current | 240 | kernel/sys.c | (current->egid == egid) || |
current | 241 | kernel/sys.c | (current->sgid == egid) || |
current | 243 | kernel/sys.c | current->egid = egid; |
current | 245 | kernel/sys.c | current->gid = old_rgid; |
current | 251 | kernel/sys.c | current->sgid = current->egid; |
current | 252 | kernel/sys.c | current->fsgid = current->egid; |
current | 253 | kernel/sys.c | if (current->egid != old_egid) |
current | 254 | kernel/sys.c | current->dumpable = 0; |
current | 263 | kernel/sys.c | int old_egid = current->egid; |
current | 266 | kernel/sys.c | current->gid = current->egid = current->sgid = current->fsgid = gid; |
current | 267 | kernel/sys.c | else if ((gid == current->gid) || (gid == current->sgid)) |
current | 268 | kernel/sys.c | current->egid = current->fsgid = gid; |
current | 271 | kernel/sys.c | if (current->egid != old_egid) |
current | 272 | kernel/sys.c | current->dumpable = 0; |
current | 333 | kernel/sys.c | int old_ruid = current->uid; |
current | 334 | kernel/sys.c | int old_euid = current->euid; |
current | 338 | kernel/sys.c | (current->euid==ruid) || |
current | 340 | kernel/sys.c | current->uid = ruid; |
current | 346 | kernel/sys.c | (current->euid == euid) || |
current | 347 | kernel/sys.c | (current->suid == euid) || |
current | 349 | kernel/sys.c | current->euid = euid; |
current | 351 | kernel/sys.c | current->uid = old_ruid; |
current | 357 | kernel/sys.c | current->suid = current->euid; |
current | 358 | kernel/sys.c | current->fsuid = current->euid; |
current | 359 | kernel/sys.c | if (current->euid != old_euid) |
current | 360 | kernel/sys.c | current->dumpable = 0; |
current | 377 | kernel/sys.c | int old_euid = current->euid; |
current | 380 | kernel/sys.c | current->uid = current->euid = current->suid = current->fsuid = uid; |
current | 381 | kernel/sys.c | else if ((uid == current->uid) || (uid == current->suid)) |
current | 382 | kernel/sys.c | current->fsuid = current->euid = uid; |
current | 385 | kernel/sys.c | if (current->euid != old_euid) |
current | 386 | kernel/sys.c | current->dumpable = 0; |
current | 398 | kernel/sys.c | int old_fsuid = current->fsuid; |
current | 400 | kernel/sys.c | if (uid == current->uid || uid == current->euid || |
current | 401 | kernel/sys.c | uid == current->suid || uid == current->fsuid || suser()) |
current | 402 | kernel/sys.c | current->fsuid = uid; |
current | 403 | kernel/sys.c | if (current->fsuid != old_fsuid) |
current | 404 | kernel/sys.c | current->dumpable = 0; |
current | 413 | kernel/sys.c | int old_fsgid = current->fsgid; |
current | 415 | kernel/sys.c | if (gid == current->gid || gid == current->egid || |
current | 416 | kernel/sys.c | gid == current->sgid || gid == current->fsgid || suser()) |
current | 417 | kernel/sys.c | current->fsgid = gid; |
current | 418 | kernel/sys.c | if (current->fsgid != old_fsgid) |
current | 419 | kernel/sys.c | current->dumpable = 0; |
current | 429 | kernel/sys.c | put_user(current->utime,&tbuf->tms_utime); |
current | 430 | kernel/sys.c | put_user(current->stime,&tbuf->tms_stime); |
current | 431 | kernel/sys.c | put_user(current->cutime,&tbuf->tms_cutime); |
current | 432 | kernel/sys.c | put_user(current->cstime,&tbuf->tms_cstime); |
current | 443 | kernel/sys.c | if (brk < current->mm->end_code) |
current | 444 | kernel/sys.c | return current->mm->brk; |
current | 446 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
current | 448 | kernel/sys.c | return current->mm->brk = brk; |
current | 453 | kernel/sys.c | if (brk <= current->mm->brk) { |
current | 454 | kernel/sys.c | current->mm->brk = brk; |
current | 461 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 464 | kernel/sys.c | if (brk - current->mm->end_code > rlim) |
current | 465 | kernel/sys.c | return current->mm->brk; |
current | 469 | kernel/sys.c | if (find_vma_intersection(current, oldbrk, newbrk+PAGE_SIZE)) |
current | 470 | kernel/sys.c | return current->mm->brk; |
current | 484 | kernel/sys.c | return current->mm->brk; |
current | 486 | kernel/sys.c | freepages += current->mm->rss; |
current | 489 | kernel/sys.c | return current->mm->brk; |
current | 494 | kernel/sys.c | current->mm->brk = brk; |
current | 518 | kernel/sys.c | pid = current->pid; |
current | 530 | kernel/sys.c | if (p->p_pptr == current || p->p_opptr == current) { |
current | 531 | kernel/sys.c | if (p->session != current->session) |
current | 535 | kernel/sys.c | } else if (p != current) |
current | 543 | kernel/sys.c | tmp->session == current->session) |
current | 559 | kernel/sys.c | return current->pgrp; |
current | 569 | kernel/sys.c | return current->pgrp; |
current | 577 | kernel/sys.c | return current->session; |
current | 587 | kernel/sys.c | if (current->leader) |
current | 589 | kernel/sys.c | current->leader = 1; |
current | 590 | kernel/sys.c | current->session = current->pgrp = current->pid; |
current | 591 | kernel/sys.c | current->tty = NULL; |
current | 592 | kernel/sys.c | current->tty_old_pgrp = 0; |
current | 593 | kernel/sys.c | return current->pgrp; |
current | 609 | kernel/sys.c | groups = current->groups; |
current | 633 | kernel/sys.c | current->groups[i] = get_user(grouplist); |
current | 636 | kernel/sys.c | current->groups[i] = NOGROUP; |
current | 644 | kernel/sys.c | if (grp == current->fsgid) |
current | 648 | kernel/sys.c | if (current->groups[i] == NOGROUP) |
current | 650 | kernel/sys.c | if (current->groups[i] == grp) |
current | 779 | kernel/sys.c | memcpy_tofs(rlim, current->rlim + resource, sizeof(*rlim)); |
current | 794 | kernel/sys.c | old_rlim = current->rlim + resource; |
current | 861 | kernel/sys.c | return getrusage(current, who, ru); |
current | 866 | kernel/sys.c | int old = current->fs->umask; |
current | 868 | kernel/sys.c | current->fs->umask = mask & S_IRWXUGO; |
current | 205 | kernel/sysctl.c | if (grp == current->euid) |
current | 209 | kernel/sysctl.c | if (current->groups[i] == NOGROUP) |
current | 211 | kernel/sysctl.c | if (current->groups[i] == grp) |
current | 220 | kernel/sysctl.c | if (!current->euid) |
current | 331 | kernel/sysctl.c | if (level < securelevel && current->pid != 1) |
current | 276 | mm/filemap.c | struct wait_queue wait = { current, NULL }; |
current | 281 | mm/filemap.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 288 | mm/filemap.c | current->state = TASK_RUNNING; |
current | 480 | mm/filemap.c | if (offset >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm) |
current | 697 | mm/filemap.c | dir = pgd_offset(current->mm, address); |
current | 824 | mm/filemap.c | vma = find_vma(current, start); |
current | 88 | mm/memory.c | printk("\nOut of memory for %s.\n", current->comm); |
current | 318 | mm/memory.c | if (current->mm->rss <= 0) |
current | 320 | mm/memory.c | current->mm->rss--; |
current | 439 | mm/memory.c | dir = pgd_offset(current->mm, address); |
current | 451 | mm/memory.c | invalidate_range(current->mm, beg, end); |
current | 510 | mm/memory.c | dir = pgd_offset(current->mm, from); |
current | 522 | mm/memory.c | invalidate_range(current->mm, beg, from); |
current | 679 | mm/memory.c | vma = find_vma(current, start); |
current | 727 | mm/memory.c | do_wp_page(current, vma, start, 1); |
current | 920 | mm/memory.c | send_sig(SIGBUS, current, 1); |
current | 959 | mm/memory.c | do_no_page(current, vma, address, write_access); |
current | 969 | mm/memory.c | do_wp_page(current, vma, address, write_access); |
current | 990 | mm/memory.c | oom(current); |
current | 43 | mm/mlock.c | insert_vm_struct(current, n); |
current | 64 | mm/mlock.c | insert_vm_struct(current, n); |
current | 96 | mm/mlock.c | insert_vm_struct(current, left); |
current | 97 | mm/mlock.c | insert_vm_struct(current, right); |
current | 151 | mm/mlock.c | vma = find_vma(current, start); |
current | 181 | mm/mlock.c | merge_segments(current, start, end); |
current | 194 | mm/mlock.c | locked += current->mm->locked_vm; |
current | 196 | mm/mlock.c | lock_limit = current->rlim[RLIMIT_MEMLOCK].rlim_cur; |
current | 230 | mm/mlock.c | current->mm->def_flags = def_flags; |
current | 233 | mm/mlock.c | for (vma = current->mm->mmap; vma ; vma = vma->vm_next) { |
current | 243 | mm/mlock.c | merge_segments(current, 0, TASK_SIZE); |
current | 254 | mm/mlock.c | lock_limit = current->rlim[RLIMIT_MEMLOCK].rlim_cur; |
current | 257 | mm/mlock.c | if (current->mm->total_vm > lock_limit) |
current | 262 | mm/mlock.c | if (current->mm->total_vm > MAP_NR(high_memory)/2) |
current | 70 | mm/mmap.c | if (current->mm->def_flags & VM_LOCKED) { |
current | 71 | mm/mmap.c | unsigned long locked = current->mm->locked_vm << PAGE_SHIFT; |
current | 73 | mm/mmap.c | if (locked > current->rlim[RLIMIT_MEMLOCK].rlim_cur) |
current | 133 | mm/mmap.c | vma->vm_mm = current->mm; |
current | 138 | mm/mmap.c | vma->vm_flags |= current->mm->def_flags; |
current | 178 | mm/mmap.c | insert_vm_struct(current, vma); |
current | 179 | mm/mmap.c | merge_segments(current, vma->vm_start, vma->vm_end); |
current | 182 | mm/mmap.c | current->mm->total_vm += len >> PAGE_SHIFT; |
current | 185 | mm/mmap.c | current->mm->locked_vm += len >> PAGE_SHIFT; |
current | 211 | mm/mmap.c | for (vmm = find_vma(current, addr); ; vmm = vmm->vm_next) { |
current | 661 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 675 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 705 | mm/mmap.c | mpnt = find_vma(current, addr); |
current | 708 | mm/mmap.c | avl_neighbours(mpnt, current->mm->mmap_avl, &prev, &next); |
current | 712 | mm/mmap.c | npp = (prev ? &prev->vm_next : ¤t->mm->mmap); |
current | 718 | mm/mmap.c | avl_remove(mpnt, ¤t->mm->mmap_avl); |
current | 744 | mm/mmap.c | zap_page_range(current->mm, st, end-st); |
current | 749 | mm/mmap.c | zap_page_range(current->mm, addr, len); |
current | 77 | mm/mprotect.c | dir = pgd_offset(current->mm, start); |
current | 83 | mm/mprotect.c | invalidate_range(current->mm, beg, end); |
current | 114 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 137 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 171 | mm/mprotect.c | insert_vm_struct(current, left); |
current | 172 | mm/mprotect.c | insert_vm_struct(current, right); |
current | 218 | mm/mprotect.c | vma = find_vma(current, start); |
current | 250 | mm/mprotect.c | merge_segments(current, start, end); |
current | 364 | mm/vmscan.c | current->session = 1; |
current | 365 | mm/vmscan.c | current->pgrp = 1; |
current | 366 | mm/vmscan.c | sprintf(current->comm, "kswapd"); |
current | 367 | mm/vmscan.c | current->blocked = ~0UL; |
current | 381 | mm/vmscan.c | current->policy = SCHED_FIFO; |
current | 382 | mm/vmscan.c | current->priority = 32; /* Fixme --- we need to standardise our |
current | 397 | mm/vmscan.c | current->signal = 0; |
current | 393 | net/appletalk/ddp.c | current->timeout = jiffies + (HZ/10); |
current | 394 | net/appletalk/ddp.c | current->state = TASK_INTERRUPTIBLE; |
current | 1166 | net/ax25/af_ax25.c | call = ax25_findbyuid(current->euid); |
current | 1318 | net/ax25/af_ax25.c | if (current->signal & ~current->blocked) { |
current | 1375 | net/ax25/af_ax25.c | if (current->signal & ~current->blocked) { |
current | 394 | net/ax25/ax25_route.c | if ((call = ax25_findbyuid(current->euid)) == NULL) { |
current | 105 | net/core/datagram.c | if (current->signal & ~current->blocked) |
current | 525 | net/core/sock.c | if (current->signal & ~current->blocked) |
current | 441 | net/ipv4/af_inet.c | if (!suser() && current->pgrp != -arg && |
current | 442 | net/ipv4/af_inet.c | current->pid != arg) return(-EPERM); |
current | 769 | net/ipv4/af_inet.c | if (current->flags & PF_EXITING) |
current | 966 | net/ipv4/af_inet.c | if (current->signal & ~current->blocked) |
current | 1053 | net/ipv4/af_inet.c | if (current->signal & ~current->blocked) |
current | 1135 | net/ipv4/af_inet.c | send_sig(SIGPIPE, current, 1); |
current | 1209 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |
current | 950 | net/ipv4/tcp.c | send_sig(SIGPIPE, current, 0); |
current | 957 | net/ipv4/tcp.c | if (current->signal & ~current->blocked) |
current | 1075 | net/ipv4/tcp.c | if (current->signal & ~current->blocked) |
current | 1434 | net/ipv4/tcp.c | struct wait_queue wait = { current, NULL }; |
current | 1483 | net/ipv4/tcp.c | current->state = TASK_INTERRUPTIBLE; |
current | 1544 | net/ipv4/tcp.c | if (current->signal & ~current->blocked) |
current | 1661 | net/ipv4/tcp.c | current->state = TASK_RUNNING; |
current | 1858 | net/ipv4/tcp.c | current->timeout = timeout; |
current | 1859 | net/ipv4/tcp.c | while(closing(sk) && current->timeout) |
current | 1862 | net/ipv4/tcp.c | if (current->signal & ~current->blocked) |
current | 1867 | net/ipv4/tcp.c | current->timeout=0; |
current | 1918 | net/ipv4/tcp.c | if (current->signal & ~current->blocked) |
current | 97 | net/netlink.c | if(current->signal & ~current->blocked) |
current | 689 | net/netrom/af_netrom.c | if ((user = ax25_findbyuid(current->euid)) == NULL) { |
current | 745 | net/netrom/af_netrom.c | if ((user = ax25_findbyuid(current->euid)) == NULL) { |
current | 786 | net/netrom/af_netrom.c | if (current->signal & ~current->blocked) { |
current | 841 | net/netrom/af_netrom.c | if (current->signal & ~current->blocked) { |
current | 176 | net/socket.c | if (!current->files->fd[fd]) |
current | 184 | net/socket.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 185 | net/socket.c | current->files->fd[fd] = file; |
current | 219 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 247 | net/socket.c | inode->i_uid = current->uid; |
current | 248 | net/socket.c | inode->i_gid = current->gid; |
current | 647 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 675 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 709 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 771 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
current | 821 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 846 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 872 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 908 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 946 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 986 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1027 | 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 | 1065 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1087 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1130 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 556 | net/unix/af_unix.c | if(current->signal & ~current->blocked) |
current | 639 | net/unix/af_unix.c | if(current->signal & ~current->blocked) |
current | 733 | net/unix/af_unix.c | if(current->files->fd[fdp[i]]==NULL) |
current | 746 | net/unix/af_unix.c | fp[i]=current->files->fd[fdp[i]]; |
current | 781 | net/unix/af_unix.c | if(current->files->fd[i]) |
current | 785 | net/unix/af_unix.c | if(i>current->rlim[RLIMIT_NOFILE].rlim_cur) |
current | 786 | net/unix/af_unix.c | i=current->rlim[RLIMIT_NOFILE].rlim_cur; |
current | 823 | net/unix/af_unix.c | ufp=¤t->files->fd[0]; |
current | 837 | net/unix/af_unix.c | FD_CLR(ufn,¤t->files->close_on_exec); |
current | 1110 | net/unix/af_unix.c | if(current->signal & ~current->blocked) |
current | 119 | scripts/lxdialog/menubox.c | int menu_height, const char *current, int item_no, |
current | 176 | scripts/lxdialog/menubox.c | if (strcmp(current, items[i*2]) == 0) choice = i; |