tag | line | file | source code |
current | 156 | drivers/FPU-emu/fpu_entry.c | if (!current->used_math) |
current | 167 | drivers/FPU-emu/fpu_entry.c | current->used_math = 1; |
current | 220 | drivers/FPU-emu/fpu_entry.c | if (current->flags & PF_PTRACED) |
current | 308 | drivers/FPU-emu/fpu_entry.c | current->tss.trap_no = 16; |
current | 309 | drivers/FPU-emu/fpu_entry.c | current->tss.error_code = 0; |
current | 310 | drivers/FPU-emu/fpu_entry.c | send_sig(SIGFPE, current, 1); |
current | 683 | drivers/FPU-emu/fpu_entry.c | current->tss.trap_no = 16; |
current | 684 | drivers/FPU-emu/fpu_entry.c | current->tss.error_code = 0; |
current | 685 | drivers/FPU-emu/fpu_entry.c | send_sig(signal,current,1); |
current | 22 | drivers/FPU-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
current | 35 | drivers/FPU-emu/fpu_system.h | #define I387 (current->tss.i387) |
current | 398 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 399 | drivers/block/cdu31a.c | current->timeout = jiffies; |
current | 574 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 575 | drivers/block/cdu31a.c | current->timeout = jiffies + 200; |
current | 772 | drivers/block/cdu31a.c | if (current != has_cd_task) /* Allow recursive calls to this routine */ |
current | 777 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 786 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 833 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 834 | drivers/block/cdu31a.c | current->timeout = jiffies + 10; /* Wait .1 seconds on retries */ |
current | 1392 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 1398 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 1994 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 2000 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 373 | drivers/block/floppy.c | #define NO_SIGNAL (!(current->signal & ~current->blocked) || !interruptible) |
current | 656 | drivers/block/floppy.c | if (!current->pid) |
current | 1652 | drivers/block/floppy.c | if (current->pid) |
current | 646 | drivers/block/sbpcd.c | current->state = TASK_INTERRUPTIBLE; |
current | 647 | drivers/block/sbpcd.c | current->timeout = jiffies + jifs; |
current | 778 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 806 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 836 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 898 | drivers/block/sbpcd.c | if (current == task[0]) |
current | 2416 | drivers/char/console.c | struct wait_queue wait = { current, NULL }; |
current | 2425 | drivers/char/console.c | current->state = TASK_INTERRUPTIBLE; |
current | 2437 | drivers/char/console.c | current->state = TASK_RUNNING; |
current | 189 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_INTERRUPT; |
current | 193 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 243 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 244 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 251 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 252 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 260 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 261 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 266 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 277 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 278 | drivers/char/lp.c | current->timeout = jiffies + LP_TIME(minor); |
current | 603 | drivers/char/n_tty.c | return ((current->blocked & (1<<(sig-1))) || |
current | 604 | drivers/char/n_tty.c | (current->sigaction[sig-1].sa_handler == SIG_IGN)); |
current | 735 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 755 | drivers/char/n_tty.c | current->tty == tty) { |
current | 758 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
current | 760 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
current | 762 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
current | 769 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 774 | drivers/char/n_tty.c | current->timeout = (unsigned long) -1; |
current | 782 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 785 | drivers/char/n_tty.c | current->timeout = 0; |
current | 803 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 816 | drivers/char/n_tty.c | if (!current->timeout) |
current | 822 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 829 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 885 | drivers/char/n_tty.c | current->timeout = time + jiffies; |
current | 892 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 893 | drivers/char/n_tty.c | current->timeout = 0; |
current | 907 | drivers/char/n_tty.c | struct wait_queue wait = { current, NULL }; |
current | 921 | drivers/char/n_tty.c | current->state = TASK_INTERRUPTIBLE; |
current | 922 | drivers/char/n_tty.c | if (current->signal & ~current->blocked) { |
current | 952 | drivers/char/n_tty.c | current->state = TASK_RUNNING; |
current | 142 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 143 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 378 | drivers/char/psaux.c | struct wait_queue wait = { current, NULL }; |
current | 387 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 388 | drivers/char/psaux.c | if (queue_empty() && !(current->signal & ~current->blocked)) { |
current | 392 | drivers/char/psaux.c | current->state = TASK_RUNNING; |
current | 405 | drivers/char/psaux.c | if (current->signal & ~current->blocked) |
current | 491 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 492 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 514 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 515 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 207 | drivers/char/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
current | 1607 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1608 | drivers/char/serial.c | current->timeout = jiffies + duration; |
current | 1858 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1859 | drivers/char/serial.c | current->timeout = jiffies + info->timeout; |
current | 1882 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1883 | drivers/char/serial.c | current->timeout = jiffies + info->close_delay; |
current | 1920 | drivers/char/serial.c | struct wait_queue wait = { current, NULL }; |
current | 1949 | drivers/char/serial.c | (info->session != current->session)) |
current | 1953 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
current | 1995 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 2013 | drivers/char/serial.c | if (current->signal & ~current->blocked) { |
current | 2023 | drivers/char/serial.c | current->state = TASK_RUNNING; |
current | 2094 | drivers/char/serial.c | info->session = current->session; |
current | 2095 | drivers/char/serial.c | info->pgrp = current->pgrp; |
current | 755 | drivers/char/tpqic02.c | current->timeout = jiffies + 30; /* nap 0.30 sec between checks, */ |
current | 756 | drivers/char/tpqic02.c | current->state = TASK_INTERRUPTIBLE; |
current | 240 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 246 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
current | 250 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 252 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 408 | drivers/char/tty_io.c | struct tty_struct *tty = current->tty; |
current | 422 | drivers/char/tty_io.c | if (p->session == current->session) |
current | 442 | drivers/char/tty_io.c | return (current->signal & ~current->blocked) ? -1 : 0; |
current | 655 | drivers/char/tty_io.c | (current->tty == tty) && |
current | 656 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
current | 657 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
current | 660 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
current | 691 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
current | 692 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 695 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
current | 1078 | drivers/char/tty_io.c | if (!current->tty) |
current | 1080 | drivers/char/tty_io.c | device = current->tty->device; |
current | 1115 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 1125 | drivers/char/tty_io.c | current->leader && |
current | 1126 | drivers/char/tty_io.c | !current->tty && |
current | 1128 | drivers/char/tty_io.c | current->tty = tty; |
current | 1129 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1130 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1188 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
current | 1259 | drivers/char/tty_io.c | if ((current->tty != tty) && !suser()) |
current | 1321 | drivers/char/tty_io.c | if (current->tty != tty) |
current | 1323 | drivers/char/tty_io.c | if (current->leader) |
current | 1325 | drivers/char/tty_io.c | current->tty = NULL; |
current | 1328 | drivers/char/tty_io.c | if (current->leader && |
current | 1329 | drivers/char/tty_io.c | (current->session == tty->session)) |
current | 1335 | drivers/char/tty_io.c | if (!current->leader || current->tty) |
current | 1354 | drivers/char/tty_io.c | current->tty = tty; |
current | 1355 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1356 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 1363 | drivers/char/tty_io.c | if (tty == real_tty && current->tty != real_tty) |
current | 1375 | drivers/char/tty_io.c | if (!current->tty || |
current | 1376 | drivers/char/tty_io.c | (current->tty != real_tty) || |
current | 1377 | drivers/char/tty_io.c | (real_tty->session != current->session)) |
current | 1382 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
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 | 582 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
current | 1283 | drivers/net/ppp.c | current->timeout = 0; |
current | 1286 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 1343 | drivers/net/ppp.c | current->timeout = 0; |
current | 1346 | drivers/net/ppp.c | if (current->signal & ~current->blocked) |
current | 1484 | drivers/net/ppp.c | ppp->inp_sig_pid = current->pid; |
current | 3087 | drivers/scsi/53c7,8xx.c | cmd = (struct NCR53c7x0_cmd *) hostdata->current; |
current | 1203 | drivers/scsi/53c7,8xx.h | volatile struct NCR53c7x0_cmd *current; /* currently connected |
current | 753 | drivers/scsi/scsi.c | if ((unsigned long) &SCpnt < current->kernel_stack_page) |
current | 590 | drivers/scsi/scsi.h | struct wait_queue wait = { current, NULL}; \ |
current | 593 | drivers/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
current | 599 | drivers/scsi/scsi.h | current->state = TASK_RUNNING; \ |
current | 835 | drivers/scsi/sd.c | if (current == task[0]){ |
current | 908 | drivers/scsi/sd.c | if (current == task[0]) |
current | 95 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 106 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 138 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 173 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 239 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 844 | drivers/scsi/sr.c | if (current == task[0]) |
current | 1015 | drivers/sound/gus_wave.c | int current, target, rate; |
current | 1028 | drivers/sound/gus_wave.c | current = gus_read16 (0x09) >> 4; |
current | 1045 | drivers/sound/gus_wave.c | if ((target - current) / 64 == 0) /* Close enough to target. */ |
current | 1053 | drivers/sound/gus_wave.c | if (target > current) |
current | 1057 | drivers/sound/gus_wave.c | gus_ramp_range (current, target); |
current | 1065 | drivers/sound/gus_wave.c | gus_ramp_range (target, current); |
current | 76 | drivers/sound/os.h | #define PROCESS_ABORTING(q, f) (/*f.aborting | */(current->signal & ~current->blocked)) |
current | 81 | drivers/sound/os.h | if (time_limit) tl = current->timeout = jiffies + (time_limit); \ |
current | 86 | drivers/sound/os.h | if (current->signal & ~current->blocked) \ |
current | 84 | fs/binfmt_elf.c | mpnt->vm_task = current; |
current | 100 | fs/binfmt_elf.c | insert_vm_struct(current, mpnt); |
current | 102 | fs/binfmt_elf.c | current->mm->stk_vma = mpnt; |
current | 135 | fs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
current | 141 | fs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 147 | fs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
current | 202 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 251 | fs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
current | 252 | fs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
current | 253 | fs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
current | 380 | fs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 496 | fs/binfmt_elf.c | current->mm->end_data = 0; |
current | 497 | fs/binfmt_elf.c | current->mm->end_code = 0; |
current | 498 | fs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
current | 499 | fs/binfmt_elf.c | current->mm->mmap = NULL; |
current | 504 | fs/binfmt_elf.c | current->mm->rss = 0; |
current | 506 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 539 | fs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 580 | fs/binfmt_elf.c | current->personality = (ibcs2_interpreter ? PER_SVR4 : PER_LINUX); |
current | 582 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 583 | fs/binfmt_elf.c | (*current->exec_domain->use_count)--; |
current | 584 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 585 | fs/binfmt_elf.c | (*current->binfmt->use_count)--; |
current | 586 | fs/binfmt_elf.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 587 | fs/binfmt_elf.c | current->binfmt = &elf_format; |
current | 588 | fs/binfmt_elf.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 589 | fs/binfmt_elf.c | (*current->exec_domain->use_count)++; |
current | 590 | fs/binfmt_elf.c | if (current->binfmt && current->binfmt->use_count) |
current | 591 | fs/binfmt_elf.c | (*current->binfmt->use_count)++; |
current | 594 | fs/binfmt_elf.c | current->executable = bprm->inode; |
current | 598 | fs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 609 | fs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
current | 610 | fs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
current | 611 | fs/binfmt_elf.c | current->mm->end_code = end_code; |
current | 612 | fs/binfmt_elf.c | current->mm->start_code = start_code; |
current | 613 | fs/binfmt_elf.c | current->mm->end_data = end_data; |
current | 614 | fs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 615 | fs/binfmt_elf.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 616 | fs/binfmt_elf.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 620 | fs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
current | 626 | fs/binfmt_elf.c | printk("(start_brk) %x\n" , current->mm->start_brk); |
current | 627 | fs/binfmt_elf.c | printk("(end_code) %x\n" , current->mm->end_code); |
current | 628 | fs/binfmt_elf.c | printk("(start_code) %x\n" , current->mm->start_code); |
current | 629 | fs/binfmt_elf.c | printk("(end_data) %x\n" , current->mm->end_data); |
current | 630 | fs/binfmt_elf.c | printk("(start_stack) %x\n" , current->mm->start_stack); |
current | 631 | fs/binfmt_elf.c | printk("(brk) %x\n" , current->mm->brk); |
current | 643 | fs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 644 | fs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 672 | fs/binfmt_elf.c | file = current->files->fd[fd]; |
current | 112 | fs/buffer.c | struct wait_queue wait = { current, NULL }; |
current | 117 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 124 | fs/buffer.c | current->state = TASK_RUNNING; |
current | 245 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 1014 | fs/buffer.c | ++current->mm->min_flt; |
current | 1072 | fs/buffer.c | ++current->mm->maj_flt; |
current | 1126 | fs/buffer.c | ++current->mm->maj_flt; |
current | 1823 | fs/buffer.c | if (current->signal & (1 << (SIGKILL-1))) { |
current | 1827 | fs/buffer.c | current->signal = 0; |
current | 115 | fs/exec.c | fpp = current->files->fd; |
current | 170 | fs/exec.c | char corefile[6+sizeof(current->comm)]; |
current | 175 | fs/exec.c | if (!current->dumpable) |
current | 177 | fs/exec.c | current->dumpable = 0; |
current | 180 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
current | 186 | fs/exec.c | memcpy(corefile+5,current->comm,sizeof(current->comm)); |
current | 217 | fs/exec.c | dump.u_tsize = ((unsigned long) current->mm->end_code) >> 12; |
current | 218 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12; |
current | 221 | fs/exec.c | for(i=0; i<8; i++) dump.u_debugreg[i] = current->debugreg[i]; |
current | 227 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 231 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 233 | fs/exec.c | strncpy(dump.u_comm, current->comm, sizeof(current->comm)); |
current | 240 | fs/exec.c | if ((dump.u_fpvalid = current->used_math) != 0) { |
current | 241 | fs/exec.c | if (last_task_used_math == current) |
current | 244 | fs/exec.c | memcpy(&dump.i387,¤t->tss.i387.hard,sizeof(dump.i387)); |
current | 272 | fs/exec.c | DUMP_WRITE(current,sizeof(*current)); |
current | 299 | fs/exec.c | file = current->files->fd[fd]; |
current | 328 | fs/exec.c | mpnt->vm_task = current; |
current | 338 | fs/exec.c | insert_vm_struct(current, mpnt); |
current | 350 | fs/exec.c | current->mm->arg_start = (unsigned long) p; |
current | 356 | fs/exec.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 362 | fs/exec.c | current->mm->env_end = (unsigned long) p; |
current | 466 | fs/exec.c | current->mm->start_code = code_base; |
current | 471 | fs/exec.c | current->mm->rss++; |
current | 472 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
current | 534 | fs/exec.c | current->dumpable = 1; |
current | 541 | fs/exec.c | current->comm[i++] = ch; |
current | 543 | fs/exec.c | current->comm[i] = '\0'; |
current | 546 | fs/exec.c | mpnt = current->mm->mmap; |
current | 547 | fs/exec.c | current->mm->mmap = NULL; |
current | 559 | fs/exec.c | if (current->ldt) { |
current | 560 | fs/exec.c | free_page((unsigned long) current->ldt); |
current | 561 | fs/exec.c | current->ldt = NULL; |
current | 563 | fs/exec.c | if (task[i] == current) { |
current | 571 | fs/exec.c | for (i=0 ; i<8 ; i++) current->debugreg[i] = 0; |
current | 573 | fs/exec.c | if (bprm->e_uid != current->euid || bprm->e_gid != current->egid || |
current | 575 | fs/exec.c | current->dumpable = 0; |
current | 576 | fs/exec.c | current->signal = 0; |
current | 578 | fs/exec.c | current->sigaction[i].sa_mask = 0; |
current | 579 | fs/exec.c | current->sigaction[i].sa_flags = 0; |
current | 580 | fs/exec.c | if (current->sigaction[i].sa_handler != SIG_IGN) |
current | 581 | fs/exec.c | current->sigaction[i].sa_handler = NULL; |
current | 584 | fs/exec.c | if (FD_ISSET(i,¤t->files->close_on_exec)) |
current | 586 | fs/exec.c | FD_ZERO(¤t->files->close_on_exec); |
current | 587 | fs/exec.c | clear_page_tables(current); |
current | 588 | fs/exec.c | if (last_task_used_math == current) |
current | 590 | fs/exec.c | current->used_math = 0; |
current | 633 | fs/exec.c | if (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current-> |
current | 639 | fs/exec.c | if (current->flags & PF_PTRACED) { |
current | 640 | fs/exec.c | bprm.e_uid = current->euid; |
current | 641 | fs/exec.c | bprm.e_gid = current->egid; |
current | 643 | fs/exec.c | bprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid; |
current | 644 | fs/exec.c | bprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid; |
current | 753 | fs/exec.c | current->did_exec = 1; |
current | 815 | fs/exec.c | current->personality = PER_LINUX; |
current | 831 | fs/exec.c | current->mm->brk = ex.a_bss + |
current | 832 | fs/exec.c | (current->mm->start_brk = |
current | 833 | fs/exec.c | (current->mm->end_data = ex.a_data + |
current | 834 | fs/exec.c | (current->mm->end_code = ex.a_text + |
current | 835 | fs/exec.c | (current->mm->start_code = N_TXTADDR(ex))))); |
current | 836 | fs/exec.c | current->mm->rss = 0; |
current | 837 | fs/exec.c | current->mm->mmap = NULL; |
current | 838 | fs/exec.c | current->suid = current->euid = current->fsuid = bprm->e_uid; |
current | 839 | fs/exec.c | current->sgid = current->egid = current->fsgid = bprm->e_gid; |
current | 853 | fs/exec.c | file = current->files->fd[fd]; |
current | 871 | fs/exec.c | send_sig(SIGKILL, current, 0); |
current | 881 | fs/exec.c | send_sig(SIGKILL, current, 0); |
current | 886 | fs/exec.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 887 | fs/exec.c | (*current->exec_domain->use_count)--; |
current | 888 | fs/exec.c | if (current->binfmt && current->binfmt->use_count) |
current | 889 | fs/exec.c | (*current->binfmt->use_count)--; |
current | 890 | fs/exec.c | current->exec_domain = lookup_exec_domain(current->personality); |
current | 891 | fs/exec.c | current->binfmt = &aout_format; |
current | 892 | fs/exec.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 893 | fs/exec.c | (*current->exec_domain->use_count)++; |
current | 894 | fs/exec.c | if (current->binfmt && current->binfmt->use_count) |
current | 895 | fs/exec.c | (*current->binfmt->use_count)++; |
current | 897 | fs/exec.c | set_brk(current->mm->start_brk, current->mm->brk); |
current | 903 | fs/exec.c | current->personality != PER_LINUX); |
current | 904 | fs/exec.c | current->mm->start_stack = p; |
current | 907 | fs/exec.c | if (current->flags & PF_PTRACED) |
current | 908 | fs/exec.c | send_sig(SIGTRAP, current, 0); |
current | 923 | fs/exec.c | file = current->files->fd[fd]; |
current | 285 | fs/ext/freelists.c | inode->i_uid = current->fsuid; |
current | 286 | fs/ext/freelists.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 355 | fs/ext/namei.c | inode->i_uid = current->fsuid; |
current | 442 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 539 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 540 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 593 | fs/ext/namei.c | current->fsuid != inode->i_uid && |
current | 594 | fs/ext/namei.c | current->fsuid != dir->i_uid) |
current | 771 | fs/ext/namei.c | current->counter = 0; |
current | 785 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
current | 786 | fs/ext/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 806 | fs/ext/namei.c | current->fsuid != new_inode->i_uid && |
current | 807 | fs/ext/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 55 | fs/ext/symlink.c | dir = current->fs->root; |
current | 67 | fs/ext/symlink.c | if (current->link_count > 5) { |
current | 78 | fs/ext/symlink.c | current->link_count++; |
current | 80 | fs/ext/symlink.c | current->link_count--; |
current | 237 | fs/ext/truncate.c | current->counter = 0; |
current | 42 | fs/ext2/acl.c | else if (current->fsuid == inode->i_uid) |
current | 274 | fs/ext2/balloc.c | (!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) && |
current | 453 | fs/ext2/ialloc.c | inode->i_uid = current->fsuid; |
current | 461 | fs/ext2/ialloc.c | inode->i_gid = current->fsgid; |
current | 200 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 279 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 42 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 64 | fs/ext2/ioctl.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 426 | fs/ext2/namei.c | inode->i_uid = current->fsuid; |
current | 517 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 622 | fs/ext2/namei.c | current->counter = 0; |
current | 627 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 628 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 705 | fs/ext2/namei.c | current->counter = 0; |
current | 710 | fs/ext2/namei.c | current->fsuid != inode->i_uid && |
current | 711 | fs/ext2/namei.c | current->fsuid != dir->i_uid) |
current | 936 | fs/ext2/namei.c | current->counter = 0; |
current | 951 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
current | 952 | fs/ext2/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 984 | fs/ext2/namei.c | current->fsuid != new_inode->i_uid && |
current | 985 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 60 | fs/ext2/symlink.c | dir = current->fs->root; |
current | 72 | fs/ext2/symlink.c | if (current->link_count > 5) { |
current | 86 | fs/ext2/symlink.c | current->link_count++; |
current | 88 | fs/ext2/symlink.c | current->link_count--; |
current | 344 | fs/ext2/truncate.c | current->counter = 0; |
current | 22 | fs/fcntl.c | if (fd >= NR_OPEN || !current->files->fd[fd]) |
current | 27 | fs/fcntl.c | if (current->files->fd[arg]) |
current | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->files->close_on_exec); |
current | 34 | fs/fcntl.c | (current->files->fd[arg] = current->files->fd[fd])->f_count++; |
current | 40 | fs/fcntl.c | if (oldfd >= NR_OPEN || !current->files->fd[oldfd]) |
current | 72 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 78 | fs/fcntl.c | return FD_ISSET(fd, ¤t->files->close_on_exec); |
current | 81 | fs/fcntl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 83 | fs/fcntl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
current | 149 | fs/fcntl.c | if ((p->session != current->session) && |
current | 150 | fs/fcntl.c | (p->uid != current->uid) && |
current | 151 | fs/fcntl.c | (p->euid != current->euid) && |
current | 31 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 64 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 547 | fs/hpfs/hpfs_fs.c | *uid = current->uid; |
current | 548 | fs/hpfs/hpfs_fs.c | *gid = current->gid; |
current | 549 | fs/hpfs/hpfs_fs.c | *umask = current->fs->umask; |
current | 241 | fs/inode.c | (current->fsuid != inode->i_uid || |
current | 253 | fs/inode.c | if ((current->fsuid != inode->i_uid) && !fsuser()) |
current | 263 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 266 | fs/inode.c | ((current->fsuid != inode->i_uid) && !fsuser())) |
current | 487 | fs/inode.c | inode->i_uid = current->fsuid; |
current | 488 | fs/inode.c | inode->i_gid = current->fsgid; |
current | 561 | fs/inode.c | struct wait_queue wait = { current, NULL }; |
current | 565 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 571 | fs/inode.c | current->state = TASK_RUNNING; |
current | 62 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 66 | fs/ioctl.c | FD_SET(fd, ¤t->files->close_on_exec); |
current | 70 | fs/ioctl.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 52 | fs/isofs/symlink.c | dir = current->fs->root; |
current | 65 | fs/isofs/symlink.c | if ((current->link_count > 5) || |
current | 73 | fs/isofs/symlink.c | current->link_count++; |
current | 75 | fs/isofs/symlink.c | current->link_count--; |
current | 66 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 110 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) |
current | 155 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 161 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 256 | fs/locks.c | fl->fl_owner = current; |
current | 478 | fs/locks.c | tmp->fl_owner = current; /* FIXME: needed? */ |
current | 194 | fs/minix/bitmap.c | inode->i_uid = current->fsuid; |
current | 195 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 265 | fs/minix/namei.c | inode->i_uid = current->fsuid; |
current | 349 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 444 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 445 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 506 | fs/minix/namei.c | current->counter = 0; |
current | 511 | fs/minix/namei.c | current->fsuid != inode->i_uid && |
current | 512 | fs/minix/namei.c | current->fsuid != dir->i_uid) |
current | 688 | fs/minix/namei.c | current->counter = 0; |
current | 702 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
current | 703 | fs/minix/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 733 | fs/minix/namei.c | current->fsuid != new_inode->i_uid && |
current | 734 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 49 | fs/minix/symlink.c | dir = current->fs->root; |
current | 61 | fs/minix/symlink.c | if (current->link_count > 5) { |
current | 72 | fs/minix/symlink.c | current->link_count++; |
current | 74 | fs/minix/symlink.c | current->link_count--; |
current | 179 | fs/minix/truncate.c | current->counter = 0; |
current | 88 | fs/msdos/inode.c | *uid = current->uid; |
current | 89 | fs/msdos/inode.c | *gid = current->gid; |
current | 90 | fs/msdos/inode.c | *umask = current->fs->umask; |
current | 114 | fs/msdos/misc.c | int count,nr,limit,last,current,sector,last_sector; |
current | 146 | fs/msdos/misc.c | if ((current = MSDOS_I(inode)->i_start) != 0) { |
current | 147 | fs/msdos/misc.c | cache_lookup(inode,INT_MAX,&last,¤t); |
current | 148 | fs/msdos/misc.c | while (current && current != -1) |
current | 149 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
current | 150 | fs/msdos/misc.c | last = current,-1))) { |
current | 450 | fs/msdos/misc.c | int error,current,prev,nr; |
current | 455 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT, |
current | 458 | fs/msdos/misc.c | return current; |
current | 460 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
current | 462 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,&zero,NULL, |
current | 467 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
current | 34 | fs/namei.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 111 | fs/namei.c | else if (current->fsuid == inode->i_uid) |
current | 169 | fs/namei.c | if (dir == current->fs->root) { |
current | 229 | fs/namei.c | base = current->fs->pwd; |
current | 234 | fs/namei.c | base = current->fs->root; |
current | 344 | fs/namei.c | mode &= S_IALLUGO & ~current->fs->umask; |
current | 451 | fs/namei.c | mode &= ~current->fs->umask; |
current | 530 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
current | 80 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->files->fd[fd])) { |
current | 251 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 288 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 330 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 366 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 411 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 451 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 491 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 526 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 565 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 602 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 640 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 680 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 715 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 771 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 807 | fs/nfs/proc.c | if (!ruid && current->fsuid == 0 && current->uid != 0) { |
current | 843 | fs/nfs/proc.c | *p++ = htonl(ruid ? current->uid : current->fsuid); |
current | 844 | fs/nfs/proc.c | *p++ = htonl(current->egid); |
current | 846 | fs/nfs/proc.c | for (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++) |
current | 847 | fs/nfs/proc.c | *p++ = htonl(current->groups[i]); |
current | 91 | fs/nfs/sock.c | old_mask = current->blocked; |
current | 92 | fs/nfs/sock.c | current->blocked |= ~(_S(SIGKILL) |
current | 97 | fs/nfs/sock.c | ? ((current->sigaction[SIGINT - 1].sa_handler == SIG_DFL |
current | 99 | fs/nfs/sock.c | | (current->sigaction[SIGQUIT - 1].sa_handler == SIG_DFL |
current | 113 | fs/nfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
current | 124 | fs/nfs/sock.c | current->timeout = jiffies + timeout; |
current | 127 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 128 | fs/nfs/sock.c | if (current->signal & ~current->blocked) { |
current | 129 | fs/nfs/sock.c | current->timeout = 0; |
current | 133 | fs/nfs/sock.c | if (!current->timeout) { |
current | 153 | fs/nfs/sock.c | current->timeout = 0; |
current | 157 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 219 | fs/nfs/sock.c | current->blocked = old_mask; |
current | 55 | fs/nfs/symlink.c | dir = current->fs->root; |
current | 67 | fs/nfs/symlink.c | if (current->link_count > 5) { |
current | 87 | fs/nfs/symlink.c | current->link_count++; |
current | 89 | fs/nfs/symlink.c | current->link_count--; |
current | 58 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 112 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 182 | fs/open.c | old_fsuid = current->fsuid; |
current | 183 | fs/open.c | old_fsgid = current->fsgid; |
current | 184 | fs/open.c | current->fsuid = current->uid; |
current | 185 | fs/open.c | current->fsgid = current->gid; |
current | 192 | fs/open.c | current->fsuid = old_fsuid; |
current | 193 | fs/open.c | current->fsgid = old_fsgid; |
current | 213 | fs/open.c | iput(current->fs->pwd); |
current | 214 | fs/open.c | current->fs->pwd = inode; |
current | 223 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 231 | fs/open.c | iput(current->fs->pwd); |
current | 232 | fs/open.c | current->fs->pwd = inode; |
current | 253 | fs/open.c | iput(current->fs->root); |
current | 254 | fs/open.c | current->fs->root = inode; |
current | 264 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 309 | fs/open.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 405 | fs/open.c | if (!current->files->fd[fd]) |
current | 409 | fs/open.c | FD_CLR(fd,¤t->files->close_on_exec); |
current | 413 | fs/open.c | current->files->fd[fd] = f; |
current | 424 | fs/open.c | current->files->fd[fd]=NULL; |
current | 441 | fs/open.c | current->files->fd[fd]=NULL; |
current | 477 | fs/open.c | fcntl_remove_locks(current, filp, fd); |
current | 497 | fs/open.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 498 | fs/open.c | if (!(filp = current->files->fd[fd])) |
current | 500 | fs/open.c | current->files->fd[fd] = NULL; |
current | 513 | fs/open.c | if (current->tty) |
current | 514 | fs/open.c | tty_vhangup(current->tty); |
current | 42 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 77 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 88 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 91 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 210 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 397 | fs/pipe.c | if (!current->files->fd[i]) { |
current | 398 | fs/pipe.c | current->files->fd[ fd[j]=i ] = f[j]; |
current | 402 | fs/pipe.c | current->files->fd[fd[0]]=NULL; |
current | 409 | fs/pipe.c | current->files->fd[fd[0]] = NULL; |
current | 410 | fs/pipe.c | current->files->fd[fd[1]] = NULL; |
current | 267 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
current | 73 | fs/proc/link.c | if (current->files->fd[fd] == f) |
current | 94 | fs/proc/link.c | current->files->fd[fd] = new_f; |
current | 47 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 95 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 106 | fs/proc/mem.c | do_wp_page(0,addr,current,0); |
current | 122 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 186 | fs/proc/mem.c | if (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 203 | fs/proc/mem.c | dest_table = PAGE_DIR_OFFSET(current->tss.cr3, dtmp); |
current | 207 | fs/proc/mem.c | if (!*dest_table) { oom(current); *dest_table=BAD_PAGE; } |
current | 102 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
current | 31 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd]) || |
current | 51 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 91 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode)) |
current | 127 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 148 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode)) |
current | 104 | fs/select.c | if (!current->files->fd[i]) |
current | 106 | fs/select.c | if (!current->files->fd[i]->f_inode) |
current | 123 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
current | 125 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) { |
current | 130 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) { |
current | 135 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) { |
current | 142 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
current | 148 | fs/select.c | current->state = TASK_RUNNING; |
current | 237 | fs/select.c | current->timeout = timeout; |
current | 239 | fs/select.c | if (current->timeout > jiffies) |
current | 240 | fs/select.c | timeout = current->timeout - jiffies; |
current | 243 | fs/select.c | current->timeout = 0; |
current | 244 | fs/select.c | if (tvp && !(current->personality & STICKY_TIMEOUTS)) { |
current | 252 | fs/select.c | if (!i && (current->signal & ~current->blocked)) |
current | 20 | fs/stat.c | current->comm); |
current | 168 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 183 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode)) |
current | 187 | fs/super.c | struct wait_queue wait = { current, NULL }; |
current | 191 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 197 | fs/super.c | current->state = TASK_RUNNING; |
current | 516 | fs/super.c | for (vma = current->mm->mmap ; ; ) { |
current | 677 | fs/super.c | current->fs->pwd = inode; |
current | 678 | fs/super.c | current->fs->root = inode; |
current | 154 | fs/sysv/ialloc.c | inode->i_uid = current->fsuid; |
current | 155 | fs/sysv/ialloc.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 258 | fs/sysv/namei.c | inode->i_uid = current->fsuid; |
current | 340 | fs/sysv/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask); |
current | 436 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 437 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 497 | fs/sysv/namei.c | current->counter = 0; |
current | 502 | fs/sysv/namei.c | current->fsuid != inode->i_uid && |
current | 503 | fs/sysv/namei.c | current->fsuid != dir->i_uid) |
current | 682 | fs/sysv/namei.c | current->counter = 0; |
current | 696 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
current | 697 | fs/sysv/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 727 | fs/sysv/namei.c | current->fsuid != new_inode->i_uid && |
current | 728 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 55 | fs/sysv/symlink.c | dir = current->fs->root; |
current | 67 | fs/sysv/symlink.c | if (current->link_count > 5) { |
current | 78 | fs/sysv/symlink.c | current->link_count++; |
current | 80 | fs/sysv/symlink.c | current->link_count--; |
current | 278 | fs/sysv/truncate.c | current->counter = 0; |
current | 35 | fs/umsdos/check.c | int stack_level = (long)(&pg_dir)-current->kernel_stack_page; |
current | 37 | fs/umsdos/check.c | pg_dir = current->tss.cr3; |
current | 33 | fs/umsdos/ioctl.c | if (current->euid == 0 |
current | 35 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
current | 89 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 108 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 110 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
current | 219 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
current | 221 | fs/umsdos/namei.c | ? dir->i_gid : current->fsgid; |
current | 236 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
current | 263 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
current | 298 | fs/umsdos/namei.c | if (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page){\ |
current | 300 | fs/umsdos/namei.c | , current->comm,STACK_MAGIC \ |
current | 301 | fs/umsdos/namei.c | ,*(unsigned long *)current->kernel_stack_page \ |
current | 664 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
current | 666 | fs/umsdos/namei.c | ? dir->i_gid : current->fsgid; |
current | 59 | fs/umsdos/symlink.c | if (current->link_count < 5) { |
current | 65 | fs/umsdos/symlink.c | dir = current->fs[1].root; |
current | 84 | fs/umsdos/symlink.c | current->link_count++; |
current | 86 | fs/umsdos/symlink.c | current->link_count--; |
current | 325 | fs/xiafs/bitmap.c | inode->i_uid = current->fsuid; |
current | 326 | fs/xiafs/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; |
current | 297 | fs/xiafs/namei.c | inode->i_uid = current->fsuid; |
current | 380 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask); |
current | 500 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 501 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 557 | fs/xiafs/namei.c | current->counter = 0; |
current | 562 | fs/xiafs/namei.c | current->fsuid != inode->i_uid && |
current | 563 | fs/xiafs/namei.c | current->fsuid != dir->i_uid) |
current | 733 | fs/xiafs/namei.c | current->fsuid != old_inode->i_uid && |
current | 734 | fs/xiafs/namei.c | current->fsuid != old_dir->i_uid && !fsuser()) |
current | 754 | fs/xiafs/namei.c | current->fsuid != new_inode->i_uid && |
current | 755 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
current | 792 | fs/xiafs/namei.c | current->counter=0; |
current | 83 | fs/xiafs/symlink.c | dir = current->fs->root; |
current | 99 | fs/xiafs/symlink.c | if (current->link_count > 5) { |
current | 110 | fs/xiafs/symlink.c | current->link_count++; |
current | 112 | fs/xiafs/symlink.c | current->link_count--; |
current | 192 | fs/xiafs/truncate.c | current->counter = 0; |
current | 387 | ibcs/binfmt_coff.c | fp = current->files->fd[fd]; |
current | 444 | ibcs/binfmt_coff.c | current->mm->mmap = NULL; |
current | 445 | ibcs/binfmt_coff.c | current->mm->rss = 0; |
current | 458 | ibcs/binfmt_coff.c | current->mm->start_code = text_vaddr & PAGE_MASK; |
current | 459 | ibcs/binfmt_coff.c | current->mm->end_code = text_vaddr + text_size; |
current | 460 | ibcs/binfmt_coff.c | current->mm->end_data = data_vaddr + data_size; |
current | 461 | ibcs/binfmt_coff.c | current->mm->start_brk = |
current | 462 | ibcs/binfmt_coff.c | current->mm->brk = bss_vaddr + bss_size; |
current | 463 | ibcs/binfmt_coff.c | current->suid = |
current | 464 | ibcs/binfmt_coff.c | current->euid = bprm->e_uid; |
current | 465 | ibcs/binfmt_coff.c | current->sgid = |
current | 466 | ibcs/binfmt_coff.c | current->egid = bprm->e_gid; |
current | 467 | ibcs/binfmt_coff.c | current->executable = bprm->inode; /* Store inode for file */ |
current | 471 | ibcs/binfmt_coff.c | current->mm->start_stack = bprm->p; |
current | 557 | ibcs/binfmt_coff.c | send_sig (SIGSEGV, current, 0); /* Generate the error trap */ |
current | 559 | ibcs/binfmt_coff.c | if (current->flags & PF_PTRACED) |
current | 560 | ibcs/binfmt_coff.c | send_sig (SIGTRAP, current, 0); |
current | 759 | ibcs/binfmt_coff.c | file = current->files->fd[fd]; |
current | 65 | ibcs/binfmt_elf.c | mpnt->vm_task = current; |
current | 75 | ibcs/binfmt_elf.c | insert_vm_struct(current, mpnt); |
current | 106 | ibcs/binfmt_elf.c | current->mm->arg_start = (unsigned long) p; |
current | 112 | ibcs/binfmt_elf.c | current->mm->arg_end = current->mm->env_start = (unsigned long) p; |
current | 118 | ibcs/binfmt_elf.c | current->mm->env_end = (unsigned long) p; |
current | 173 | ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 222 | ibcs/binfmt_elf.c | current->mm->brk = interp_ex->a_bss + |
current | 223 | ibcs/binfmt_elf.c | (current->mm->end_data = interp_ex->a_data + |
current | 224 | ibcs/binfmt_elf.c | (current->mm->end_code = interp_ex->a_text)); |
current | 330 | ibcs/binfmt_elf.c | file = current->files->fd[elf_exec_fileno]; |
current | 428 | ibcs/binfmt_elf.c | current->mm->end_data = 0; |
current | 429 | ibcs/binfmt_elf.c | current->mm->end_code = 0; |
current | 430 | ibcs/binfmt_elf.c | current->mm->start_mmap = ELF_START_MMAP; |
current | 431 | ibcs/binfmt_elf.c | current->mm->mmap = NULL; |
current | 436 | ibcs/binfmt_elf.c | current->mm->rss = 0; |
current | 438 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 471 | ibcs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 515 | ibcs/binfmt_elf.c | current->personality = PER_LINUX; |
current | 516 | ibcs/binfmt_elf.c | current->lcall7 = no_lcall7; |
current | 517 | ibcs/binfmt_elf.c | current->signal_map = current->signal_invmap = ident_map; |
current | 519 | ibcs/binfmt_elf.c | current->executable = bprm->inode; |
current | 522 | ibcs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 533 | ibcs/binfmt_elf.c | current->mm->arg_start += strlen(passed_fileno) + 1; |
current | 534 | ibcs/binfmt_elf.c | current->mm->start_brk = current->mm->brk = elf_brk; |
current | 535 | ibcs/binfmt_elf.c | current->mm->end_code = end_code; |
current | 536 | ibcs/binfmt_elf.c | current->mm->start_code = start_code; |
current | 537 | ibcs/binfmt_elf.c | current->mm->end_data = end_data; |
current | 538 | ibcs/binfmt_elf.c | current->mm->start_stack = bprm->p; |
current | 539 | ibcs/binfmt_elf.c | current->suid = current->euid = bprm->e_uid; |
current | 540 | ibcs/binfmt_elf.c | current->sgid = current->egid = bprm->e_gid; |
current | 544 | ibcs/binfmt_elf.c | current->mm->brk = (elf_bss + 0xfff) & 0xfffff000; |
current | 558 | ibcs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 559 | ibcs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 579 | ibcs/binfmt_elf.c | file = current->files->fd[fd]; |
current | 67 | include/linux/kernel.h | #define suser() (current->euid == 0) |
current | 68 | include/linux/kernel.h | #define fsuser() (current->fsuid == 0) |
current | 358 | include/linux/sched.h | extern struct task_struct *current; |
current | 530 | include/linux/sched.h | entry->wait.task = current; |
current | 619 | include/linux/sched.h | :"m" (current->debugreg[register]) \ |
current | 599 | init/main.c | current->fs->root = pseudo_root; |
current | 600 | init/main.c | current->fs->pwd = pseudo_root; |
current | 72 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 104 | ipc/msg.c | msq->msg_lspid = current->pid; |
current | 189 | ipc/msg.c | msq->msg_lrpid = current->pid; |
current | 202 | ipc/msg.c | if (current->signal & ~current->blocked) |
current | 251 | ipc/msg.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 252 | ipc/msg.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 420 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 421 | ipc/msg.c | current->euid != ipcp->uid) |
current | 433 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 434 | ipc/msg.c | current->euid != ipcp->uid) |
current | 87 | ipc/sem.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 88 | ipc/sem.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 252 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 253 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 307 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 308 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 387 | ipc/sem.c | for (un = current->semundo; un; un = un->proc_next) |
current | 400 | ipc/sem.c | un->proc_next = current->semundo; |
current | 401 | ipc/sem.c | current->semundo = un; |
current | 418 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 428 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 440 | ipc/sem.c | curr->sempid = current->pid; |
current | 445 | ipc/sem.c | for (un = current->semundo; un; un = un->proc_next) |
current | 474 | ipc/sem.c | for (up = ¤t->semundo; (u = *up); *up = u->proc_next, kfree(u)) { |
current | 496 | ipc/sem.c | sem->sempid = current->pid; |
current | 504 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 511 | ipc/sem.c | current->semundo = NULL; |
current | 110 | ipc/shm.c | shp->shm_perm.cuid = shp->shm_perm.uid = current->euid; |
current | 111 | ipc/shm.c | shp->shm_perm.cgid = shp->shm_perm.gid = current->egid; |
current | 114 | ipc/shm.c | shp->shm_cpid = current->pid; |
current | 321 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 322 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 332 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 333 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 399 | ipc/shm.c | insert_vm_struct(current, shmd); |
current | 400 | ipc/shm.c | merge_segments(current->mm->mmap); |
current | 410 | ipc/shm.c | --current->mm->rss; |
current | 479 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) { |
current | 484 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmd->vm_next) |
current | 508 | ipc/shm.c | shmd->vm_task = current; |
current | 528 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 553 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 588 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 602 | ipc/shm.c | for (shmd = current->mm->mmap; shmd; shmd = shmdnext) { |
current | 638 | ipc/shm.c | oom(current); |
current | 657 | ipc/shm.c | --current->mm->maj_flt; /* was incremented in do_no_page */ |
current | 660 | ipc/shm.c | current->mm->min_flt++; |
current | 55 | ipc/util.c | if (current->euid == ipcp->cuid || current->euid == ipcp->uid) |
current | 31 | kernel/exec_domain.c | send_sig(SIGSEGV, current, 1); |
current | 87 | kernel/exec_domain.c | return current->personality; |
current | 93 | kernel/exec_domain.c | old_personality = current->personality; |
current | 94 | kernel/exec_domain.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 95 | kernel/exec_domain.c | (*current->exec_domain->use_count)--; |
current | 96 | kernel/exec_domain.c | current->personality = personality; |
current | 97 | kernel/exec_domain.c | current->exec_domain = it; |
current | 98 | kernel/exec_domain.c | if (current->exec_domain->use_count) |
current | 99 | kernel/exec_domain.c | (*current->exec_domain->use_count)++; |
current | 49 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
current | 50 | kernel/exit.c | (current->euid != p->euid) && (current->uid != p->uid) && !suser()) |
current | 88 | kernel/exit.c | if (p == current) { |
current | 289 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
current | 293 | kernel/exit.c | if (p->pid > 1 && p != current) { |
current | 361 | kernel/exit.c | mpnt = current->mm->mmap; |
current | 362 | kernel/exit.c | current->mm->mmap = NULL; |
current | 377 | kernel/exit.c | current->tss.ldt = 0; |
current | 378 | kernel/exit.c | if (current->ldt) { |
current | 379 | kernel/exit.c | void * ldt = current->ldt; |
current | 380 | kernel/exit.c | current->ldt = NULL; |
current | 384 | kernel/exit.c | free_page_tables(current); |
current | 392 | kernel/exit.c | if (current->files->fd[i]) |
current | 398 | kernel/exit.c | iput(current->fs->pwd); |
current | 399 | kernel/exit.c | current->fs->pwd = NULL; |
current | 400 | kernel/exit.c | iput(current->fs->root); |
current | 401 | kernel/exit.c | current->fs->root = NULL; |
current | 413 | kernel/exit.c | if (current->semundo) |
current | 418 | kernel/exit.c | forget_original_parent(current); |
current | 428 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
current | 429 | kernel/exit.c | (current->p_pptr->session == current->session) && |
current | 430 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
current | 431 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
current | 432 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
current | 433 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
current | 436 | kernel/exit.c | notify_parent(current); |
current | 446 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
current | 447 | kernel/exit.c | current->p_cptr = p->p_osptr; |
current | 450 | kernel/exit.c | if (task[1] && task[1] != current) |
current | 465 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
current | 466 | kernel/exit.c | (p->session == current->session) && |
current | 473 | kernel/exit.c | if (current->leader) |
current | 475 | kernel/exit.c | if (last_task_used_math == current) |
current | 477 | kernel/exit.c | current->state = TASK_ZOMBIE; |
current | 478 | kernel/exit.c | current->exit_code = code; |
current | 479 | kernel/exit.c | current->mm->rss = 0; |
current | 483 | kernel/exit.c | if (current->exec_domain && current->exec_domain->use_count) |
current | 484 | kernel/exit.c | (*current->exec_domain->use_count)--; |
current | 485 | kernel/exit.c | if (current->binfmt && current->binfmt->use_count) |
current | 486 | kernel/exit.c | (*current->binfmt->use_count)--; |
current | 512 | kernel/exit.c | struct wait_queue wait = { current, NULL }; |
current | 520 | kernel/exit.c | add_wait_queue(¤t->wait_chldexit,&wait); |
current | 523 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
current | 528 | kernel/exit.c | if (p->pgrp != current->pgrp) |
current | 553 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
current | 554 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
current | 555 | kernel/exit.c | current->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt; |
current | 556 | kernel/exit.c | current->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt; |
current | 582 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
current | 584 | kernel/exit.c | current->signal &= ~(1<<(SIGCHLD-1)); |
current | 586 | kernel/exit.c | if (current->signal & ~current->blocked) |
current | 592 | kernel/exit.c | remove_wait_queue(¤t->wait_chldexit,&wait); |
current | 56 | kernel/fork.c | if (task[i]->uid == current->uid) |
current | 64 | kernel/fork.c | if (current->uid) |
current | 97 | kernel/fork.c | for (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
current | 155 | kernel/fork.c | if (current->fs->pwd) |
current | 156 | kernel/fork.c | current->fs->pwd->i_count++; |
current | 157 | kernel/fork.c | if (current->fs->root) |
current | 158 | kernel/fork.c | current->fs->root->i_count++; |
current | 181 | kernel/fork.c | *p = *current; |
current | 193 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
current | 237 | kernel/fork.c | memcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE); |
current | 242 | kernel/fork.c | if (last_task_used_math == current) |
current | 255 | kernel/fork.c | p->counter = current->counter >> 1; |
current | 33 | kernel/ioport.c | int numl = sizeof(current->tss.io_bitmap) >> 2; |
current | 38 | kernel/ioport.c | printk("%s ", ios(current->tss.io_bitmap[j++])); |
current | 40 | kernel/ioport.c | printk("%s", ios(current->tss.io_bitmap[j++])); |
current | 126 | kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
current | 37 | kernel/itimer.c | val = current->it_real_value; |
current | 38 | kernel/itimer.c | interval = current->it_real_incr; |
current | 41 | kernel/itimer.c | val = current->it_virt_value; |
current | 42 | kernel/itimer.c | interval = current->it_virt_incr; |
current | 45 | kernel/itimer.c | val = current->it_prof_value; |
current | 46 | kernel/itimer.c | interval = current->it_prof_incr; |
current | 89 | kernel/itimer.c | current->it_real_value = j; |
current | 90 | kernel/itimer.c | current->it_real_incr = i; |
current | 95 | kernel/itimer.c | current->it_virt_value = j; |
current | 96 | kernel/itimer.c | current->it_virt_incr = i; |
current | 101 | kernel/itimer.c | current->it_prof_value = j; |
current | 102 | kernel/itimer.c | current->it_prof_incr = i; |
current | 174 | kernel/ksyms.c | X(current), |
current | 18 | kernel/ldt.c | void * address = current->ldt; |
current | 64 | kernel/ldt.c | if (!current->ldt) { |
current | 66 | kernel/ldt.c | if (task[i] == current) { |
current | 67 | kernel/ldt.c | if (!(current->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE))) |
current | 69 | kernel/ldt.c | set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES); |
current | 75 | kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
current | 27 | kernel/panic.c | if (current == task[0]) |
current | 78 | kernel/printk.c | if (current->signal & ~current->blocked) { |
current | 281 | kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 284 | kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 292 | kernel/ptrace.c | if (child == current) |
current | 295 | kernel/ptrace.c | (current->uid != child->euid) || |
current | 296 | kernel/ptrace.c | (current->uid != child->uid) || |
current | 297 | kernel/ptrace.c | (current->gid != child->egid) || |
current | 298 | kernel/ptrace.c | (current->gid != child->gid)) && !suser()) |
current | 304 | kernel/ptrace.c | if (child->p_pptr != current) { |
current | 306 | kernel/ptrace.c | child->p_pptr = current; |
current | 318 | kernel/ptrace.c | if (child->p_pptr != current) |
current | 502 | kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 505 | kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 506 | kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 507 | kernel/ptrace.c | notify_parent(current); |
current | 514 | kernel/ptrace.c | if (current->exit_code) |
current | 515 | kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 516 | kernel/ptrace.c | current->exit_code = 0; |
current | 100 | kernel/sched.c | struct task_struct *current = &init_task; |
current | 124 | kernel/sched.c | if (last_task_used_math == current) |
current | 132 | kernel/sched.c | last_task_used_math = current; |
current | 133 | kernel/sched.c | if (current->used_math) { |
current | 134 | kernel/sched.c | __asm__("frstor %0": :"m" (current->tss.i387)); |
current | 137 | kernel/sched.c | current->used_math=1; |
current | 147 | kernel/sched.c | printk("killing %s.\n",current->comm); |
current | 148 | kernel/sched.c | send_sig(SIGFPE,current,1); |
current | 227 | kernel/sched.c | if (TASK_UNINTERRUPTIBLE >= (unsigned) current->state && |
current | 228 | kernel/sched.c | current->counter < current->priority*2) { |
current | 229 | kernel/sched.c | ++current->counter; |
current | 245 | kernel/sched.c | if (current == next) |
current | 250 | kernel/sched.c | if(current->debugreg[7]){ |
current | 261 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 286 | kernel/sched.c | if (p->counter > current->counter + 3) |
current | 313 | kernel/sched.c | if (p->counter > current->counter + 3) |
current | 331 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 333 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 336 | kernel/sched.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 338 | kernel/sched.c | current->state = TASK_RUNNING; |
current | 345 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 349 | kernel/sched.c | if (current == task[0]) |
current | 351 | kernel/sched.c | current->state = state; |
current | 660 | kernel/sched.c | current->utime++; |
current | 661 | kernel/sched.c | if (current != task[0]) { |
current | 662 | kernel/sched.c | if (current->priority < 15) |
current | 668 | kernel/sched.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 669 | kernel/sched.c | current->it_virt_value = current->it_virt_incr; |
current | 670 | kernel/sched.c | send_sig(SIGVTALRM,current,1); |
current | 673 | kernel/sched.c | current->stime++; |
current | 674 | kernel/sched.c | if(current != task[0]) |
current | 677 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
current | 688 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) && |
current | 689 | kernel/sched.c | (((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max)) |
current | 690 | kernel/sched.c | send_sig(SIGKILL, current, 1); |
current | 691 | kernel/sched.c | if ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) && |
current | 692 | kernel/sched.c | (((current->stime + current->utime) % HZ) == 0)) { |
current | 693 | kernel/sched.c | psecs = (current->stime + current->utime) / HZ; |
current | 695 | kernel/sched.c | if (psecs == current->rlim[RLIMIT_CPU].rlim_cur) |
current | 696 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 698 | kernel/sched.c | else if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) && |
current | 699 | kernel/sched.c | ((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0) |
current | 700 | kernel/sched.c | send_sig(SIGXCPU, current, 1); |
current | 703 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
current | 704 | kernel/sched.c | current->counter = 0; |
current | 708 | kernel/sched.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 709 | kernel/sched.c | current->it_prof_value = current->it_prof_incr; |
current | 710 | kernel/sched.c | send_sig(SIGPROF,current,1); |
current | 745 | kernel/sched.c | return current->pid; |
current | 750 | kernel/sched.c | return current->p_opptr->pid; |
current | 755 | kernel/sched.c | return current->uid; |
current | 760 | kernel/sched.c | return current->euid; |
current | 765 | kernel/sched.c | return current->gid; |
current | 770 | kernel/sched.c | return current->egid; |
current | 779 | kernel/sched.c | newprio = current->priority - increment; |
current | 784 | kernel/sched.c | current->priority = newprio; |
current | 793 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
current | 798 | kernel/sched.c | if (p == current) |
current | 25 | kernel/signal.c | sigset_t new_set, old_set = current->blocked; |
current | 35 | kernel/signal.c | current->blocked |= new_set; |
current | 38 | kernel/signal.c | current->blocked &= ~new_set; |
current | 41 | kernel/signal.c | current->blocked = new_set; |
current | 58 | kernel/signal.c | return current->blocked; |
current | 63 | kernel/signal.c | int old=current->blocked; |
current | 65 | kernel/signal.c | current->blocked = newmask & _BLOCKABLE; |
current | 75 | kernel/signal.c | put_fs_long(current->blocked & current->signal, (unsigned long *)set); |
current | 87 | kernel/signal.c | mask = current->blocked; |
current | 88 | kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 91 | kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 117 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 121 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 127 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 146 | kernel/signal.c | handler = (long) current->sigaction[signum-1].sa_handler; |
current | 147 | kernel/signal.c | current->sigaction[signum-1] = tmp; |
current | 161 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 208 | kernel/signal.c | current->blocked = context.oldmask & _BLOCKABLE; |
current | 247 | kernel/signal.c | if (current->exec_domain && current->exec_domain->signal_invmap) |
current | 248 | kernel/signal.c | put_fs_long(current->exec_domain->signal_invmap[signr], frame+1); |
current | 263 | kernel/signal.c | put_fs_long(current->tss.trap_no, frame+14); |
current | 264 | kernel/signal.c | put_fs_long(current->tss.error_code, frame+15); |
current | 273 | kernel/signal.c | put_fs_long(current->tss.cr2, frame+23); |
current | 294 | kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 301 | kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 304 | kernel/signal.c | :"=m" (current->signal),"=r" (signr) |
current | 306 | kernel/signal.c | sa = current->sigaction + signr; |
current | 308 | kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 309 | kernel/signal.c | current->exit_code = signr; |
current | 310 | kernel/signal.c | current->state = TASK_STOPPED; |
current | 311 | kernel/signal.c | notify_parent(current); |
current | 313 | kernel/signal.c | if (!(signr = current->exit_code)) |
current | 315 | kernel/signal.c | current->exit_code = 0; |
current | 318 | kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 319 | kernel/signal.c | current->signal |= _S(signr); |
current | 322 | kernel/signal.c | sa = current->sigaction + signr - 1; |
current | 333 | kernel/signal.c | if (current->pid == 1) |
current | 340 | kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 342 | kernel/signal.c | current->state = TASK_STOPPED; |
current | 343 | kernel/signal.c | current->exit_code = signr; |
current | 344 | kernel/signal.c | if (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & |
current | 346 | kernel/signal.c | notify_parent(current); |
current | 352 | kernel/signal.c | if (current->binfmt && current->binfmt->core_dump) { |
current | 353 | kernel/signal.c | if (current->binfmt->core_dump(signr, regs)) |
current | 358 | kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 385 | kernel/signal.c | sa = current->sigaction; |
current | 400 | kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 405 | kernel/signal.c | current->tss.trap_no = current->tss.error_code = 0; |
current | 42 | kernel/sys.c | if (current->pid != 0) |
current | 50 | kernel/sys.c | current->counter = -100; |
current | 62 | kernel/sys.c | if (!who && p == current) |
current | 67 | kernel/sys.c | who = current->pgrp; |
current | 71 | kernel/sys.c | who = current->uid; |
current | 92 | kernel/sys.c | if ((*p)->uid != current->euid && |
current | 93 | kernel/sys.c | (*p)->uid != current->uid && !suser()) { |
current | 212 | kernel/sys.c | int old_rgid = current->gid; |
current | 216 | kernel/sys.c | (current->egid==rgid) || |
current | 218 | kernel/sys.c | current->gid = rgid; |
current | 224 | kernel/sys.c | (current->egid == egid) || |
current | 225 | kernel/sys.c | (current->sgid == egid) || |
current | 227 | kernel/sys.c | current->egid = egid; |
current | 229 | kernel/sys.c | current->gid = old_rgid; |
current | 235 | kernel/sys.c | current->sgid = current->egid; |
current | 236 | kernel/sys.c | current->fsgid = current->egid; |
current | 246 | kernel/sys.c | current->gid = current->egid = current->sgid = current->fsgid = gid; |
current | 247 | kernel/sys.c | else if ((gid == current->gid) || (gid == current->sgid)) |
current | 248 | kernel/sys.c | current->egid = current->fsgid = gid; |
current | 301 | kernel/sys.c | int old_ruid = current->uid; |
current | 305 | kernel/sys.c | (current->euid==ruid) || |
current | 307 | kernel/sys.c | current->uid = ruid; |
current | 313 | kernel/sys.c | (current->euid == euid) || |
current | 314 | kernel/sys.c | (current->suid == euid) || |
current | 316 | kernel/sys.c | current->euid = euid; |
current | 318 | kernel/sys.c | current->uid = old_ruid; |
current | 324 | kernel/sys.c | current->suid = current->euid; |
current | 325 | kernel/sys.c | current->fsuid = current->euid; |
current | 343 | kernel/sys.c | current->uid = current->euid = current->suid = current->fsuid = uid; |
current | 344 | kernel/sys.c | else if ((uid == current->uid) || (uid == current->suid)) |
current | 345 | kernel/sys.c | current->fsuid = current->euid = uid; |
current | 359 | kernel/sys.c | int old_fsuid = current->fsuid; |
current | 361 | kernel/sys.c | if (uid == current->uid || uid == current->euid || |
current | 362 | kernel/sys.c | uid == current->suid || uid == current->fsuid || suser()) |
current | 363 | kernel/sys.c | current->fsuid = uid; |
current | 372 | kernel/sys.c | int old_fsgid = current->fsgid; |
current | 374 | kernel/sys.c | if (gid == current->gid || gid == current->egid || |
current | 375 | kernel/sys.c | gid == current->sgid || gid == current->fsgid || suser()) |
current | 376 | kernel/sys.c | current->fsgid = gid; |
current | 386 | kernel/sys.c | put_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime); |
current | 387 | kernel/sys.c | put_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime); |
current | 388 | kernel/sys.c | put_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime); |
current | 389 | kernel/sys.c | put_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime); |
current | 401 | kernel/sys.c | if (brk < current->mm->end_code) |
current | 402 | kernel/sys.c | return current->mm->brk; |
current | 404 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->mm->brk); |
current | 406 | kernel/sys.c | return current->mm->brk = brk; |
current | 411 | kernel/sys.c | if (brk <= current->mm->brk) { |
current | 412 | kernel/sys.c | current->mm->brk = brk; |
current | 419 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 422 | kernel/sys.c | if (brk - current->mm->end_code > rlim || |
current | 423 | kernel/sys.c | brk >= current->mm->start_stack - 16384) |
current | 424 | kernel/sys.c | return current->mm->brk; |
current | 428 | kernel/sys.c | for (vma = current->mm->mmap; vma; vma = vma->vm_next) { |
current | 432 | kernel/sys.c | return current->mm->brk; |
current | 445 | kernel/sys.c | return current->mm->brk; |
current | 447 | kernel/sys.c | freepages += current->mm->rss; |
current | 450 | kernel/sys.c | return current->mm->brk; |
current | 455 | kernel/sys.c | current->mm->brk = brk; |
current | 479 | kernel/sys.c | pid = current->pid; |
current | 491 | kernel/sys.c | if (p->p_pptr == current || p->p_opptr == current) { |
current | 492 | kernel/sys.c | if (p->session != current->session) |
current | 496 | kernel/sys.c | } else if (p != current) |
current | 504 | kernel/sys.c | tmp->session == current->session) |
current | 520 | kernel/sys.c | return current->pgrp; |
current | 530 | kernel/sys.c | return current->pgrp; |
current | 535 | kernel/sys.c | if (current->leader) |
current | 537 | kernel/sys.c | current->leader = 1; |
current | 538 | kernel/sys.c | current->session = current->pgrp = current->pid; |
current | 539 | kernel/sys.c | current->tty = NULL; |
current | 540 | kernel/sys.c | return current->pgrp; |
current | 555 | kernel/sys.c | for (i = 0 ; (i < NGROUPS) && (current->groups[i] != NOGROUP) ; i++) { |
current | 560 | kernel/sys.c | put_fs_word(current->groups[i], (short *) grouplist); |
current | 575 | kernel/sys.c | current->groups[i] = get_fs_word((unsigned short *) grouplist); |
current | 578 | kernel/sys.c | current->groups[i] = NOGROUP; |
current | 586 | kernel/sys.c | if (grp == current->fsgid) |
current | 590 | kernel/sys.c | if (current->groups[i] == NOGROUP) |
current | 592 | kernel/sys.c | if (current->groups[i] == grp) |
current | 700 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
current | 702 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
current | 718 | kernel/sys.c | old_rlim = current->rlim + resource; |
current | 778 | kernel/sys.c | return getrusage(current, who, ru); |
current | 783 | kernel/sys.c | int old = current->fs->umask; |
current | 785 | kernel/sys.c | current->fs->umask = mask & S_IRWXUGO; |
current | 36 | kernel/traps.c | if (signr == SIGTRAP && current->flags & PF_PTRACED) \ |
current | 37 | kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); \ |
current | 104 | kernel/traps.c | if (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page) |
current | 107 | kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
current | 117 | kernel/traps.c | DO_ERROR( 0, SIGFPE, "divide error", divide_error, current) |
current | 118 | kernel/traps.c | DO_ERROR( 3, SIGTRAP, "int3", int3, current) |
current | 119 | kernel/traps.c | DO_ERROR( 4, SIGSEGV, "overflow", overflow, current) |
current | 120 | kernel/traps.c | DO_ERROR( 5, SIGSEGV, "bounds", bounds, current) |
current | 121 | kernel/traps.c | DO_ERROR( 6, SIGILL, "invalid operand", invalid_op, current) |
current | 122 | kernel/traps.c | DO_ERROR( 7, SIGSEGV, "device not available", device_not_available, current) |
current | 123 | kernel/traps.c | DO_ERROR( 8, SIGSEGV, "double fault", double_fault, current) |
current | 125 | kernel/traps.c | DO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS, current) |
current | 126 | kernel/traps.c | DO_ERROR(11, SIGBUS, "segment not present", segment_not_present, current) |
current | 127 | kernel/traps.c | DO_ERROR(12, SIGBUS, "stack segment", stack_segment, current) |
current | 128 | kernel/traps.c | DO_ERROR(15, SIGSEGV, "reserved", reserved, current) |
current | 129 | kernel/traps.c | DO_ERROR(17, SIGSEGV, "alignment check", alignment_check, current) |
current | 147 | kernel/traps.c | current->tss.error_code = error_code; |
current | 148 | kernel/traps.c | current->tss.trap_no = 13; |
current | 149 | kernel/traps.c | send_sig(signr, current, 1); |
current | 164 | kernel/traps.c | if (current->flags & PF_PTRACED) |
current | 165 | kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 166 | kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 167 | kernel/traps.c | current->tss.trap_no = 1; |
current | 168 | kernel/traps.c | current->tss.error_code = error_code; |
current | 42 | kernel/vm86.c | #define VFLAGS (*(unsigned short *)&(current->v86flags)) |
current | 43 | kernel/vm86.c | #define VEFLAGS (current->v86flags) |
current | 55 | kernel/vm86.c | if (!current->vm86_info) { |
current | 59 | kernel/vm86.c | set_flags(regs->eflags, VEFLAGS, VIF_MASK | current->v86mask); |
current | 60 | kernel/vm86.c | memcpy_tofs(¤t->vm86_info->regs,regs,sizeof(*regs)); |
current | 61 | kernel/vm86.c | put_fs_long(current->screen_bitmap,¤t->vm86_info->screen_bitmap); |
current | 62 | kernel/vm86.c | tmp = current->tss.esp0; |
current | 63 | kernel/vm86.c | current->tss.esp0 = current->saved_kernel_stack; |
current | 64 | kernel/vm86.c | current->saved_kernel_stack = 0; |
current | 94 | kernel/vm86.c | if (current->saved_kernel_stack) |
current | 120 | kernel/vm86.c | current->v86mask = 0; |
current | 123 | kernel/vm86.c | current->v86mask = NT_MASK | IOPL_MASK; |
current | 126 | kernel/vm86.c | current->v86mask = AC_MASK | NT_MASK | IOPL_MASK; |
current | 129 | kernel/vm86.c | current->v86mask = ID_MASK | AC_MASK | NT_MASK | IOPL_MASK; |
current | 137 | kernel/vm86.c | current->saved_kernel_stack = current->tss.esp0; |
current | 138 | kernel/vm86.c | current->tss.esp0 = (unsigned long) pt_regs; |
current | 139 | kernel/vm86.c | current->vm86_info = v86; |
current | 141 | kernel/vm86.c | current->screen_bitmap = info.screen_bitmap; |
current | 143 | kernel/vm86.c | mark_screen_rdonly(current); |
current | 181 | kernel/vm86.c | set_flags(VEFLAGS, eflags, current->v86mask); |
current | 189 | kernel/vm86.c | set_flags(VFLAGS, flags, current->v86mask); |
current | 201 | kernel/vm86.c | return flags | (VEFLAGS & current->v86mask); |
current | 290 | kernel/vm86.c | is_revectored(i, ¤t->vm86_info->int_revectored)) |
current | 292 | kernel/vm86.c | if (i==0x21 && is_revectored(AH(regs),¤t->vm86_info->int21_revectored)) |
current | 310 | kernel/vm86.c | if (current->flags & PF_PTRACED) |
current | 311 | kernel/vm86.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 312 | kernel/vm86.c | send_sig(SIGTRAP, current, 1); |
current | 313 | kernel/vm86.c | current->tss.trap_no = 1; |
current | 314 | kernel/vm86.c | current->tss.error_code = error_code; |
current | 187 | mm/memory.c | if (tsk == current) |
current | 210 | mm/memory.c | pg_dir = current->tss.cr3; |
current | 229 | mm/memory.c | old_pg_dir = current->tss.cr3; |
current | 299 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 324 | mm/memory.c | if (current->mm->rss > 0) |
current | 325 | mm/memory.c | --current->mm->rss; |
current | 357 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 384 | mm/memory.c | if (current->mm->rss > 0) |
current | 385 | mm/memory.c | --current->mm->rss; |
current | 419 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 446 | mm/memory.c | if (current->mm->rss > 0) |
current | 447 | mm/memory.c | --current->mm->rss; |
current | 468 | mm/memory.c | ++current->mm->rss; |
current | 640 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 650 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 884 | mm/memory.c | oom(current); |
current | 943 | mm/memory.c | oom(current); |
current | 971 | mm/memory.c | oom(current); |
current | 987 | mm/memory.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 997 | mm/memory.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
current | 1009 | mm/memory.c | current->screen_bitmap |= 1 << bit; |
current | 1032 | mm/memory.c | current->tss.cr2 = address; |
current | 1033 | mm/memory.c | current->tss.error_code = error_code; |
current | 1034 | mm/memory.c | current->tss.trap_no = 14; |
current | 1035 | mm/memory.c | send_sig(SIGSEGV, current, 1); |
current | 1057 | mm/memory.c | current->tss.cr3, page); |
current | 116 | mm/mmap.c | vma->vm_task = current; |
current | 149 | mm/mmap.c | insert_vm_struct(current, vma); |
current | 150 | mm/mmap.c | merge_segments(current->mm->mmap); |
current | 164 | mm/mmap.c | for (vmm = current->mm->mmap; ; vmm = vmm->vm_next) { |
current | 191 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 268 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 282 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 312 | mm/mmap.c | npp = ¤t->mm->mmap; |
current | 27 | mm/mprotect.c | dir = PAGE_DIR_OFFSET(current->tss.cr3, start); |
current | 80 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 103 | mm/mprotect.c | insert_vm_struct(current, n); |
current | 137 | mm/mprotect.c | insert_vm_struct(current, left); |
current | 138 | mm/mprotect.c | insert_vm_struct(current, right); |
current | 191 | mm/mprotect.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
current | 228 | mm/mprotect.c | merge_segments(current->mm->mmap); |
current | 280 | mm/swap.c | oom(current); |
current | 374 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |
current | 375 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |
current | 728 | net/inet/af_inet.c | current->timeout = jiffies + HZ*sk->lingertime; |
current | 729 | net/inet/af_inet.c | while(sk->state != TCP_CLOSE && current->timeout>0) |
current | 732 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 738 | net/inet/af_inet.c | current->timeout=0; |
current | 743 | net/inet/af_inet.c | current->timeout=0; |
current | 906 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 998 | net/inet/af_inet.c | if (current->signal & ~current->blocked) |
current | 1102 | net/inet/af_inet.c | send_sig(SIGPIPE, current, 1); |
current | 1124 | net/inet/af_inet.c | send_sig(SIGPIPE, current, 1); |
current | 102 | net/inet/datagram.c | if (current->signal & ~current->blocked) |
current | 465 | net/inet/sock.c | if (current->signal & ~current->blocked) |
current | 1025 | net/inet/tcp.c | send_sig(SIGPIPE, current, 0); |
current | 1045 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1183 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1518 | net/inet/tcp.c | struct wait_queue wait = { current, NULL }; |
current | 1550 | net/inet/tcp.c | current->state = TASK_INTERRUPTIBLE; |
current | 1608 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 1652 | net/inet/tcp.c | current->state = TASK_RUNNING; |
current | 3551 | net/inet/tcp.c | if (current->signal & ~current->blocked) |
current | 167 | net/socket.c | if (!current->files->fd[fd]) |
current | 175 | net/socket.c | FD_CLR(fd, ¤t->files->close_on_exec); |
current | 176 | net/socket.c | current->files->fd[fd] = file; |
current | 220 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) |
current | 269 | net/socket.c | SOCK_INODE(sock)->i_uid = current->euid; |
current | 270 | net/socket.c | SOCK_INODE(sock)->i_gid = current->egid; |
current | 290 | net/socket.c | if (current->signal & ~current->blocked) |
current | 762 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 789 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 822 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 883 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL) |
current | 934 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 959 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL) |
current | 983 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1010 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1043 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1074 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1108 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1126 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 1146 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL)) |
current | 550 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 626 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 645 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 684 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 696 | net/unix/sock.c | if (current->signal & ~current->blocked) |
current | 702 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 721 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 732 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |