tag | line | file | source code |
current | 168 | drivers/FPU-emu/fpu_entry.c | if (!current->used_math) |
current | 179 | drivers/FPU-emu/fpu_entry.c | current->used_math = 1; |
current | 206 | drivers/FPU-emu/fpu_entry.c | if (current->flags & PF_PTRACED) |
current | 285 | drivers/FPU-emu/fpu_entry.c | send_sig(SIGFPE, current, 1); |
current | 614 | drivers/FPU-emu/fpu_entry.c | send_sig(signal,current,1); |
current | 21 | drivers/FPU-emu/fpu_system.h | #define I387 (current->tss.i387) |
current | 273 | drivers/block/blk.h | if (p->counter > current->counter) |
current | 202 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 203 | drivers/block/cdu31a.c | current->timeout = jiffies; |
current | 489 | drivers/block/cdu31a.c | if (current != has_cd_task) /* Allow recursive calls to this routine */ |
current | 494 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 504 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 620 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 621 | drivers/block/cdu31a.c | current->timeout = jiffies + 10; /* Wait .1 seconds on retries */ |
current | 647 | drivers/block/cdu31a.c | if (current != has_cd_task) /* Allow recursive calls to this routine */ |
current | 652 | drivers/block/cdu31a.c | if (current->signal & ~current->blocked) |
current | 662 | drivers/block/cdu31a.c | has_cd_task = current; |
current | 700 | drivers/block/cdu31a.c | current->state = TASK_INTERRUPTIBLE; |
current | 701 | drivers/block/cdu31a.c | current->timeout = jiffies + 10; /* Wait .1 seconds on retries */ |
current | 326 | drivers/block/ll_rw_blk.c | req->waiting = current; |
current | 329 | drivers/block/ll_rw_blk.c | current->state = TASK_SWAPPING; |
current | 457 | drivers/block/ll_rw_blk.c | req->waiting = current; |
current | 460 | drivers/block/ll_rw_blk.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 170 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_INTERRUPT; |
current | 173 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 223 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 224 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 231 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 232 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 240 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 241 | drivers/char/lp.c | current->timeout = jiffies + LP_TIMEOUT_POLLED; |
current | 246 | drivers/char/lp.c | if (current->signal & ~current->blocked) { |
current | 257 | drivers/char/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 258 | drivers/char/lp.c | current->timeout = jiffies + LP_TIME(minor); |
current | 100 | drivers/char/mem.c | mpnt->vm_task = current; |
current | 109 | drivers/char/mem.c | insert_vm_struct(current, mpnt); |
current | 110 | drivers/char/mem.c | merge_segments(current->mmap, NULL, NULL); |
current | 194 | drivers/char/mem.c | mpnt->vm_task = current; |
current | 203 | drivers/char/mem.c | insert_vm_struct(current, mpnt); |
current | 204 | drivers/char/mem.c | merge_segments(current->mmap, ignoff_mergep, inode); |
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 | 492 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 493 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 515 | drivers/char/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 516 | drivers/char/psaux.c | current->timeout = jiffies + 5; |
current | 63 | drivers/char/pty.c | if (current->signal & ~current->blocked) |
current | 99 | drivers/char/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
current | 1258 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1259 | drivers/char/serial.c | current->timeout = jiffies + duration; |
current | 1451 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1452 | drivers/char/serial.c | current->timeout = jiffies + info->close_delay; |
current | 1480 | drivers/char/serial.c | struct wait_queue wait = { current, NULL }; |
current | 1495 | drivers/char/serial.c | (info->session != current->session)) |
current | 1499 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
current | 1540 | drivers/char/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 1552 | drivers/char/serial.c | if (current->signal & ~current->blocked) { |
current | 1562 | drivers/char/serial.c | current->state = TASK_RUNNING; |
current | 1641 | drivers/char/serial.c | info->session = current->session; |
current | 1642 | drivers/char/serial.c | info->pgrp = current->pgrp; |
current | 679 | drivers/char/tpqic02.c | current->timeout = jiffies + 30; /* nap 0.30 sec between checks, */ |
current | 680 | drivers/char/tpqic02.c | current->state = TASK_INTERRUPTIBLE; |
current | 316 | drivers/char/tty_io.c | return (current->signal & ~current->blocked) ? -1 : 0; |
current | 716 | drivers/char/tty_io.c | return ((current->blocked & (1<<(sig-1))) || |
current | 717 | drivers/char/tty_io.c | (current->sigaction[sig-1].sa_handler == SIG_IGN)); |
current | 726 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 734 | drivers/char/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 740 | drivers/char/tty_io.c | minimum = time = current->timeout = 0; |
current | 745 | drivers/char/tty_io.c | current->timeout = 0xffffffff; |
current | 748 | drivers/char/tty_io.c | current->timeout = time + jiffies; |
current | 750 | drivers/char/tty_io.c | current->timeout = 0; |
current | 756 | drivers/char/tty_io.c | time = current->timeout = 0; |
current | 761 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 802 | drivers/char/tty_io.c | current->timeout = time+jiffies; |
current | 826 | drivers/char/tty_io.c | if (b-buf >= minimum || !current->timeout) |
current | 828 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 835 | drivers/char/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 838 | drivers/char/tty_io.c | current->state = TASK_RUNNING; |
current | 844 | drivers/char/tty_io.c | current->timeout = 0; |
current | 856 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 867 | drivers/char/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 871 | drivers/char/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 874 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 880 | drivers/char/tty_io.c | current->state = TASK_RUNNING; |
current | 901 | drivers/char/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 910 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 915 | drivers/char/tty_io.c | send_sig(SIGPIPE,current,0); |
current | 918 | drivers/char/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 923 | drivers/char/tty_io.c | current->state = TASK_RUNNING; |
current | 926 | drivers/char/tty_io.c | current->state = TASK_RUNNING; |
current | 989 | drivers/char/tty_io.c | if (current->signal & ~current->blocked) |
current | 1010 | drivers/char/tty_io.c | (current->tty == dev) && |
current | 1011 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
current | 1012 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
current | 1015 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
current | 1046 | drivers/char/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
current | 1047 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 1050 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
current | 1299 | drivers/char/tty_io.c | minor = current->tty; |
current | 1344 | drivers/char/tty_io.c | current->leader && |
current | 1345 | drivers/char/tty_io.c | current->tty<0 && |
current | 1347 | drivers/char/tty_io.c | current->tty = minor; |
current | 1348 | drivers/char/tty_io.c | tty->session = current->session; |
current | 1349 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
current | 86 | drivers/char/tty_ioctl.c | struct wait_queue wait = { current, NULL }; |
current | 92 | drivers/char/tty_ioctl.c | current->counter = 0; /* make us low-priority */ |
current | 94 | drivers/char/tty_ioctl.c | current->state = TASK_INTERRUPTIBLE; |
current | 95 | drivers/char/tty_ioctl.c | if (current->signal & ~current->blocked) |
current | 102 | drivers/char/tty_ioctl.c | current->state = TASK_RUNNING; |
current | 175 | drivers/char/tty_ioctl.c | if (current->tty != channel) |
current | 177 | drivers/char/tty_ioctl.c | if (tty->pgrp <= 0 || tty->pgrp == current->pgrp) |
current | 179 | drivers/char/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 183 | drivers/char/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 500 | drivers/char/tty_ioctl.c | if ((current->leader && current->tty < 0 && |
current | 503 | drivers/char/tty_ioctl.c | current->tty = dev; |
current | 504 | drivers/char/tty_ioctl.c | tty->session = current->session; |
current | 505 | drivers/char/tty_ioctl.c | tty->pgrp = current->pgrp; |
current | 515 | drivers/char/tty_ioctl.c | if ((current->tty < 0) || |
current | 516 | drivers/char/tty_ioctl.c | (current->tty != termios_dev) || |
current | 517 | drivers/char/tty_ioctl.c | (termios_tty->session != current->session)) |
current | 522 | drivers/char/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
current | 596 | drivers/char/tty_ioctl.c | if (MINOR(file->f_rdev) != current->tty) |
current | 598 | drivers/char/tty_ioctl.c | current->tty = -1; |
current | 599 | drivers/char/tty_ioctl.c | if (current->leader) { |
current | 377 | drivers/char/vt.c | vt_cons[console].vt_pid = current->pid; |
current | 702 | drivers/scsi/scsi.c | if ((unsigned long) &SCpnt < current->kernel_stack_page) |
current | 489 | drivers/scsi/scsi.h | if (p->counter > current->counter) |
current | 518 | drivers/scsi/scsi.h | struct wait_queue wait = { current, NULL}; \ |
current | 521 | drivers/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
current | 527 | drivers/scsi/scsi.h | current->state = TASK_RUNNING; \ |
current | 84 | drivers/scsi/scsi_ioctl.c | if (p->counter > current->counter) |
current | 100 | drivers/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
current | 101 | drivers/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 184 | drivers/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
current | 185 | drivers/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 659 | drivers/scsi/sd.c | if (p->counter > current->counter) |
current | 683 | drivers/scsi/sd.c | if (current == task[0]){ |
current | 756 | drivers/scsi/sd.c | if (current == task[0]) |
current | 760 | drivers/scsi/sd.c | SCpnt->request.waiting = current; |
current | 761 | drivers/scsi/sd.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 87 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 98 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 130 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 165 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 227 | drivers/scsi/sg.c | if (current->signal & ~current->blocked) |
current | 637 | drivers/scsi/sr.c | if (p->counter > current->counter) |
current | 662 | drivers/scsi/sr.c | if (current == task[0]) |
current | 666 | drivers/scsi/sr.c | SCpnt->request.waiting = current; |
current | 667 | drivers/scsi/sr.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 32 | drivers/scsi/sr_ioctl.c | if (p->counter > current->counter) |
current | 53 | drivers/scsi/sr_ioctl.c | SCpnt->request.waiting = current; |
current | 54 | drivers/scsi/sr_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 913 | drivers/sound/gus_wave.c | int current, target, rate; |
current | 918 | drivers/sound/gus_wave.c | current = gus_read16 (0x09) >> 4; |
current | 934 | drivers/sound/gus_wave.c | if ((target - current) / 64 == 0) /* Too close */ |
current | 941 | drivers/sound/gus_wave.c | if (target > current) |
current | 945 | drivers/sound/gus_wave.c | gus_ramp_range (current, target); |
current | 953 | drivers/sound/gus_wave.c | gus_ramp_range (target, current); |
current | 84 | drivers/sound/os.h | #define PROCESS_ABORTING(q, f) (f.aborting | (current->signal & ~current->blocked)) |
current | 89 | drivers/sound/os.h | if (time_limit) tl = current->timeout = jiffies + (time_limit); \ |
current | 94 | drivers/sound/os.h | if (current->signal & ~current->blocked) \ |
current | 114 | fs/binfmt_elf.c | file = current->filp[elf_exec_fileno]; |
current | 195 | fs/binfmt_elf.c | current->end_data = 0; |
current | 196 | fs/binfmt_elf.c | current->end_code = 0; |
current | 197 | fs/binfmt_elf.c | current->start_mmap = ELF_START_MMAP; |
current | 198 | fs/binfmt_elf.c | current->mmap = NULL; |
current | 203 | fs/binfmt_elf.c | current->rss = 0; |
current | 205 | fs/binfmt_elf.c | current->start_stack = bprm->p; |
current | 220 | fs/binfmt_elf.c | current->brk = ex.a_bss + |
current | 221 | fs/binfmt_elf.c | (current->end_data = ex.a_data + |
current | 222 | fs/binfmt_elf.c | (current->end_code = ex.a_text)); |
current | 260 | fs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 292 | fs/binfmt_elf.c | send_sig(SIGSEGV, current, 0); |
current | 303 | fs/binfmt_elf.c | current->elf_executable = 1; |
current | 304 | fs/binfmt_elf.c | current->executable = bprm->inode; |
current | 307 | fs/binfmt_elf.c | current->start_stack = p = elf_stack - 4; |
current | 311 | fs/binfmt_elf.c | if(elf_interpreter) current->arg_start += strlen(passed_fileno) + 1; |
current | 312 | fs/binfmt_elf.c | current->start_brk = current->brk = elf_brk; |
current | 313 | fs/binfmt_elf.c | current->end_code = end_code; |
current | 314 | fs/binfmt_elf.c | current->start_code = start_code; |
current | 315 | fs/binfmt_elf.c | current->end_data = end_data; |
current | 316 | fs/binfmt_elf.c | current->start_stack = bprm->p; |
current | 317 | fs/binfmt_elf.c | current->suid = current->euid = bprm->e_uid; |
current | 318 | fs/binfmt_elf.c | current->sgid = current->egid = bprm->e_gid; |
current | 322 | fs/binfmt_elf.c | current->brk = (elf_bss + 0xfff) & 0xfffff000; |
current | 329 | fs/binfmt_elf.c | if (current->flags & PF_PTRACED) |
current | 330 | fs/binfmt_elf.c | send_sig(SIGTRAP, current, 0); |
current | 350 | fs/binfmt_elf.c | file = current->filp[fd]; |
current | 73 | fs/buffer.c | struct wait_queue wait = { current, NULL }; |
current | 78 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 85 | fs/buffer.c | current->state = TASK_RUNNING; |
current | 182 | fs/buffer.c | if (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode)) |
current | 733 | fs/buffer.c | ++current->min_flt; |
current | 787 | fs/buffer.c | ++current->maj_flt; |
current | 846 | fs/buffer.c | ++current->maj_flt; |
current | 67 | fs/exec.c | fpp = current->filp; |
current | 122 | fs/exec.c | char corefile[6+sizeof(current->comm)]; |
current | 127 | fs/exec.c | if (!current->dumpable) |
current | 129 | fs/exec.c | current->dumpable = 0; |
current | 132 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
current | 137 | fs/exec.c | memcpy(corefile+5,current->comm,sizeof(current->comm)); |
current | 163 | fs/exec.c | dump.u_tsize = ((unsigned long) current->end_code) >> 12; |
current | 164 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->brk + (PAGE_SIZE-1))) >> 12; |
current | 167 | fs/exec.c | for(i=0; i<8; i++) dump.u_debugreg[i] = current->debugreg[i]; |
current | 173 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 177 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 179 | fs/exec.c | strncpy(dump.u_comm, current->comm, sizeof(current->comm)); |
current | 186 | fs/exec.c | if ((dump.u_fpvalid = current->used_math) != 0) { |
current | 187 | fs/exec.c | if (last_task_used_math == current) |
current | 190 | fs/exec.c | memcpy(&dump.i387,¤t->tss.i387.hard,sizeof(dump.i387)); |
current | 218 | fs/exec.c | DUMP_WRITE(current,sizeof(*current)); |
current | 243 | fs/exec.c | file = current->filp[fd]; |
current | 272 | fs/exec.c | mpnt->vm_task = current; |
current | 280 | fs/exec.c | insert_vm_struct(current, mpnt); |
current | 281 | fs/exec.c | current->stk_vma = mpnt; |
current | 291 | fs/exec.c | current->arg_start = (unsigned long) p; |
current | 297 | fs/exec.c | current->arg_end = current->env_start = (unsigned long) p; |
current | 303 | fs/exec.c | current->env_end = (unsigned long) p; |
current | 397 | fs/exec.c | current->start_code = code_base; |
current | 402 | fs/exec.c | current->rss++; |
current | 403 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
current | 465 | fs/exec.c | current->dumpable = 1; |
current | 472 | fs/exec.c | current->comm[i++] = ch; |
current | 474 | fs/exec.c | current->comm[i] = '\0'; |
current | 475 | fs/exec.c | if (current->shm) |
current | 477 | fs/exec.c | if (current->executable) { |
current | 478 | fs/exec.c | iput(current->executable); |
current | 479 | fs/exec.c | current->executable = NULL; |
current | 483 | fs/exec.c | mpnt = current->mmap; |
current | 484 | fs/exec.c | current->mmap = NULL; |
current | 485 | fs/exec.c | current->stk_vma = NULL; |
current | 495 | fs/exec.c | if (current->ldt) { |
current | 496 | fs/exec.c | free_page((unsigned long) current->ldt); |
current | 497 | fs/exec.c | current->ldt = NULL; |
current | 499 | fs/exec.c | if (task[i] == current) { |
current | 507 | fs/exec.c | for (i=0 ; i<8 ; i++) current->debugreg[i] = 0; |
current | 509 | fs/exec.c | if (bprm->e_uid != current->euid || bprm->e_gid != current->egid || |
current | 511 | fs/exec.c | current->dumpable = 0; |
current | 512 | fs/exec.c | current->signal = 0; |
current | 514 | fs/exec.c | current->sigaction[i].sa_mask = 0; |
current | 515 | fs/exec.c | current->sigaction[i].sa_flags = 0; |
current | 516 | fs/exec.c | if (current->sigaction[i].sa_handler != SIG_IGN) |
current | 517 | fs/exec.c | current->sigaction[i].sa_handler = NULL; |
current | 520 | fs/exec.c | if (FD_ISSET(i,¤t->close_on_exec)) |
current | 522 | fs/exec.c | FD_ZERO(¤t->close_on_exec); |
current | 523 | fs/exec.c | clear_page_tables(current); |
current | 524 | fs/exec.c | if (last_task_used_math == current) |
current | 526 | fs/exec.c | current->used_math = 0; |
current | 527 | fs/exec.c | current->elf_executable = 0; |
current | 568 | fs/exec.c | if (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current-> |
current | 575 | fs/exec.c | if (current->flags & PF_PTRACED) { |
current | 576 | fs/exec.c | bprm.e_uid = current->euid; |
current | 577 | fs/exec.c | bprm.e_gid = current->egid; |
current | 579 | fs/exec.c | bprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid; |
current | 580 | fs/exec.c | bprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid; |
current | 582 | fs/exec.c | if (current->euid == bprm.inode->i_uid) |
current | 773 | fs/exec.c | current->end_code = N_TXTADDR(ex) + ex.a_text; |
current | 774 | fs/exec.c | current->end_data = ex.a_data + current->end_code; |
current | 775 | fs/exec.c | current->start_brk = current->brk = current->end_data; |
current | 776 | fs/exec.c | current->start_code += N_TXTADDR(ex); |
current | 777 | fs/exec.c | current->rss = 0; |
current | 778 | fs/exec.c | current->suid = current->euid = bprm->e_uid; |
current | 779 | fs/exec.c | current->mmap = NULL; |
current | 780 | fs/exec.c | current->executable = NULL; /* for OMAGIC files */ |
current | 781 | fs/exec.c | current->sgid = current->egid = bprm->e_gid; |
current | 789 | fs/exec.c | printk("%s: executable not page aligned\n", current->comm); |
current | 795 | fs/exec.c | file = current->filp[fd]; |
current | 811 | fs/exec.c | send_sig(SIGSEGV, current, 0); |
current | 820 | fs/exec.c | send_sig(SIGSEGV, current, 0); |
current | 823 | fs/exec.c | current->executable = bprm->inode; |
current | 827 | fs/exec.c | sys_brk(current->brk+ex.a_bss); |
current | 832 | fs/exec.c | current->start_stack = p; |
current | 835 | fs/exec.c | if (current->flags & PF_PTRACED) |
current | 836 | fs/exec.c | send_sig(SIGTRAP, current, 0); |
current | 851 | fs/exec.c | file = current->filp[fd]; |
current | 292 | fs/ext/freelists.c | inode->i_uid = current->euid; |
current | 293 | fs/ext/freelists.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 363 | fs/ext/namei.c | inode->i_uid = current->euid; |
current | 450 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
current | 546 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 547 | fs/ext/namei.c | inode->i_uid != current->euid) |
current | 600 | fs/ext/namei.c | current->euid != inode->i_uid && |
current | 601 | fs/ext/namei.c | current->euid != dir->i_uid) |
current | 778 | fs/ext/namei.c | current->counter = 0; |
current | 792 | fs/ext/namei.c | current->euid != old_inode->i_uid && |
current | 793 | fs/ext/namei.c | current->euid != old_dir->i_uid && !suser()) |
current | 813 | fs/ext/namei.c | current->euid != new_inode->i_uid && |
current | 814 | fs/ext/namei.c | current->euid != new_dir->i_uid && !suser()) |
current | 55 | fs/ext/symlink.c | dir = current->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 | 238 | fs/ext/truncate.c | current->counter = 0; |
current | 32 | fs/ext2/acl.c | else if (current->euid == inode->i_uid) |
current | 470 | fs/ext2/ialloc.c | inode->i_uid = current->euid; |
current | 471 | fs/ext2/ialloc.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 125 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 204 | fs/ext2/inode.c | (current->rlim[RLIMIT_FSIZE].rlim_cur >> |
current | 26 | fs/ext2/ioctl.c | if ((current->euid != inode->i_uid) && !suser()) |
current | 38 | fs/ext2/ioctl.c | if ((current->euid != inode->i_uid) && !suser()) |
current | 379 | fs/ext2/namei.c | inode->i_uid = current->euid; |
current | 483 | fs/ext2/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask); |
current | 590 | fs/ext2/namei.c | current->counter = 0; |
current | 594 | fs/ext2/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 595 | fs/ext2/namei.c | inode->i_uid != current->euid) |
current | 672 | fs/ext2/namei.c | current->counter = 0; |
current | 677 | fs/ext2/namei.c | current->euid != inode->i_uid && |
current | 678 | fs/ext2/namei.c | current->euid != dir->i_uid) |
current | 902 | fs/ext2/namei.c | current->counter = 0; |
current | 917 | fs/ext2/namei.c | current->euid != old_inode->i_uid && |
current | 918 | fs/ext2/namei.c | current->euid != old_dir->i_uid && !suser()) |
current | 948 | fs/ext2/namei.c | current->euid != new_inode->i_uid && |
current | 949 | fs/ext2/namei.c | current->euid != new_dir->i_uid && !suser()) |
current | 57 | fs/ext2/symlink.c | dir = current->root; |
current | 69 | fs/ext2/symlink.c | if (current->link_count > 5) { |
current | 83 | fs/ext2/symlink.c | current->link_count++; |
current | 85 | fs/ext2/symlink.c | current->link_count--; |
current | 309 | fs/ext2/truncate.c | current->counter = 0; |
current | 22 | fs/fcntl.c | if (fd >= NR_OPEN || !current->filp[fd]) |
current | 27 | fs/fcntl.c | if (current->filp[arg]) |
current | 33 | fs/fcntl.c | FD_CLR(arg, ¤t->close_on_exec); |
current | 34 | fs/fcntl.c | (current->filp[arg] = current->filp[fd])->f_count++; |
current | 40 | fs/fcntl.c | if (oldfd >= NR_OPEN || !current->filp[oldfd]) |
current | 70 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 76 | fs/fcntl.c | return FD_ISSET(fd, ¤t->close_on_exec); |
current | 79 | fs/fcntl.c | FD_SET(fd, ¤t->close_on_exec); |
current | 81 | fs/fcntl.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 31 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 64 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 543 | fs/hpfs/hpfs_fs.c | *uid = current->uid; |
current | 544 | fs/hpfs/hpfs_fs.c | *gid = current->gid; |
current | 545 | fs/hpfs/hpfs_fs.c | *umask = current->umask; |
current | 411 | fs/inode.c | inode->i_uid = current->euid; |
current | 412 | fs/inode.c | inode->i_gid = current->egid; |
current | 476 | fs/inode.c | struct wait_queue wait = { current, NULL }; |
current | 480 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 486 | fs/inode.c | current->state = TASK_RUNNING; |
current | 62 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 66 | fs/ioctl.c | FD_SET(fd, ¤t->close_on_exec); |
current | 70 | fs/ioctl.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 52 | fs/isofs/symlink.c | dir = current->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 | 61 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 105 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 151 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 154 | fs/locks.c | if (current->signal & ~current->blocked) |
current | 221 | fs/locks.c | fl->fl_owner = current; |
current | 429 | fs/locks.c | tmp->fl_owner = current; /* FIXME: needed? */ |
current | 216 | fs/minix/bitmap.c | inode->i_uid = current->euid; |
current | 217 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 268 | fs/minix/namei.c | inode->i_uid = current->euid; |
current | 352 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
current | 446 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 447 | fs/minix/namei.c | inode->i_uid != current->euid) |
current | 507 | fs/minix/namei.c | current->counter = 0; |
current | 512 | fs/minix/namei.c | current->euid != inode->i_uid && |
current | 513 | fs/minix/namei.c | current->euid != dir->i_uid) |
current | 688 | fs/minix/namei.c | current->counter = 0; |
current | 702 | fs/minix/namei.c | current->euid != old_inode->i_uid && |
current | 703 | fs/minix/namei.c | current->euid != old_dir->i_uid && !suser()) |
current | 733 | fs/minix/namei.c | current->euid != new_inode->i_uid && |
current | 734 | fs/minix/namei.c | current->euid != new_dir->i_uid && !suser()) |
current | 49 | fs/minix/symlink.c | dir = current->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 | 180 | fs/minix/truncate.c | current->counter = 0; |
current | 76 | fs/msdos/inode.c | *uid = current->uid; |
current | 77 | fs/msdos/inode.c | *gid = current->gid; |
current | 78 | fs/msdos/inode.c | *umask = current->umask; |
current | 111 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
current | 143 | fs/msdos/misc.c | if ((current = MSDOS_I(inode)->i_start) != 0) { |
current | 144 | fs/msdos/misc.c | cache_lookup(inode,INT_MAX,&last,¤t); |
current | 145 | fs/msdos/misc.c | while (current && current != -1) |
current | 146 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
current | 147 | fs/msdos/misc.c | last = current,-1))) { |
current | 163 | fs/msdos/misc.c | for (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size; |
current | 164 | fs/msdos/misc.c | current++) { |
current | 166 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->cluster_size+current; |
current | 170 | fs/msdos/misc.c | if (current < MSDOS_SB(inode->i_sb)->cluster_size-1 && |
current | 179 | fs/msdos/misc.c | current++; |
current | 458 | fs/msdos/misc.c | int error,current,prev,nr; |
current | 463 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT, |
current | 466 | fs/msdos/misc.c | return current; |
current | 468 | fs/msdos/misc.c | if (!current) nr = MSDOS_ROOT_INO; |
current | 470 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,&zero,NULL, |
current | 475 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,¤t,&nr,NULL, |
current | 80 | fs/namei.c | else if (current->euid == inode->i_uid) |
current | 106 | fs/namei.c | if (dir == current->root) { |
current | 166 | fs/namei.c | base = current->pwd; |
current | 171 | fs/namei.c | base = current->root; |
current | 282 | fs/namei.c | mode &= S_IALLUGO & ~current->umask; |
current | 398 | fs/namei.c | mode &= ~current->umask; |
current | 80 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) { |
current | 72 | fs/nfs/mmap.c | mpnt->vm_task = current; |
current | 81 | fs/nfs/mmap.c | insert_vm_struct(current, mpnt); |
current | 82 | fs/nfs/mmap.c | merge_segments(current->mmap, NULL, NULL); |
current | 110 | fs/nfs/mmap.c | oom(current); |
current | 155 | fs/nfs/mmap.c | oom(current); |
current | 625 | fs/nfs/proc.c | *p++ = htonl(current->euid); |
current | 626 | fs/nfs/proc.c | *p++ = htonl(current->egid); |
current | 628 | fs/nfs/proc.c | for (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++) |
current | 629 | fs/nfs/proc.c | *p++ = htonl(current->groups[i]); |
current | 70 | fs/nfs/sock.c | old_mask = current->blocked; |
current | 71 | fs/nfs/sock.c | current->blocked |= ~(_S(SIGKILL) |
current | 76 | fs/nfs/sock.c | ? ((current->sigaction[SIGINT - 1].sa_handler == SIG_DFL |
current | 78 | fs/nfs/sock.c | | (current->sigaction[SIGQUIT - 1].sa_handler == SIG_DFL |
current | 92 | fs/nfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
current | 97 | fs/nfs/sock.c | current->timeout = jiffies + timeout; |
current | 100 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 101 | fs/nfs/sock.c | if (current->signal & ~current->blocked) { |
current | 102 | fs/nfs/sock.c | current->timeout = 0; |
current | 106 | fs/nfs/sock.c | if (!current->timeout) { |
current | 126 | fs/nfs/sock.c | current->timeout = 0; |
current | 130 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 162 | fs/nfs/sock.c | current->blocked = old_mask; |
current | 51 | fs/nfs/symlink.c | dir = current->root; |
current | 63 | fs/nfs/symlink.c | if (current->link_count > 5) { |
current | 77 | fs/nfs/symlink.c | current->link_count++; |
current | 79 | fs/nfs/symlink.c | current->link_count--; |
current | 58 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 99 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 131 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) { |
current | 139 | fs/open.c | if ((current->euid != inode->i_uid) && |
current | 170 | fs/open.c | if (current->uid == inode->i_uid) |
current | 186 | fs/open.c | if ((!current->uid) && |
current | 208 | fs/open.c | iput(current->pwd); |
current | 209 | fs/open.c | current->pwd = inode; |
current | 229 | fs/open.c | iput(current->root); |
current | 230 | fs/open.c | current->root = inode; |
current | 239 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 243 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) |
current | 263 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) { |
current | 286 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 296 | fs/open.c | if ((current->euid == inode->i_uid && user == inode->i_uid && |
current | 324 | fs/open.c | if ((current->euid == inode->i_uid && user == inode->i_uid && |
current | 360 | fs/open.c | if (!current->filp[fd]) |
current | 364 | fs/open.c | FD_CLR(fd,¤t->close_on_exec); |
current | 368 | fs/open.c | current->filp[fd] = f; |
current | 377 | fs/open.c | current->filp[fd]=NULL; |
current | 393 | fs/open.c | current->filp[fd]=NULL; |
current | 429 | fs/open.c | fcntl_remove_locks(current, filp, fd); |
current | 448 | fs/open.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 449 | fs/open.c | if (!(filp = current->filp[fd])) |
current | 451 | fs/open.c | current->filp[fd] = NULL; |
current | 466 | fs/open.c | if (current->tty < 0) |
current | 468 | fs/open.c | tty = TTY_TABLE(MINOR(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->filp[i]) { |
current | 398 | fs/pipe.c | current->filp[ fd[j]=i ] = f[j]; |
current | 402 | fs/pipe.c | current->filp[fd[0]]=NULL; |
current | 409 | fs/pipe.c | current->filp[fd[0]] = NULL; |
current | 410 | fs/pipe.c | current->filp[fd[1]] = NULL; |
current | 206 | fs/proc/array.c | if (!p || p == current || p->state == TASK_RUNNING) |
current | 45 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 93 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 104 | fs/proc/mem.c | do_wp_page(0,addr,current,0); |
current | 120 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 96 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
current | 25 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->filp[fd]) || |
current | 42 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->filp[fd]) || !(file->f_inode)) |
current | 76 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode)) |
current | 96 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode)) |
current | 98 | fs/select.c | if (!current->filp[i]) |
current | 100 | fs/select.c | if (!current->filp[i]->f_inode) |
current | 117 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
current | 119 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->filp[i])) { |
current | 124 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->filp[i])) { |
current | 129 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->filp[i])) { |
current | 136 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
current | 142 | fs/select.c | current->state = TASK_RUNNING; |
current | 232 | fs/select.c | current->timeout = timeout; |
current | 234 | fs/select.c | if (current->timeout > jiffies) |
current | 235 | fs/select.c | timeout = current->timeout - jiffies; |
current | 238 | fs/select.c | current->timeout = 0; |
current | 247 | fs/select.c | if (!i && (current->signal & ~current->blocked)) |
current | 19 | fs/stat.c | current->comm); |
current | 162 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode)) |
current | 177 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode)) |
current | 58 | fs/super.c | struct wait_queue wait = { current, NULL }; |
current | 62 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 68 | fs/super.c | current->state = TASK_RUNNING; |
current | 461 | fs/super.c | for (vma = current->mmap ; ; ) { |
current | 509 | fs/super.c | current->pwd = inode; |
current | 510 | fs/super.c | current->root = inode; |
current | 332 | fs/xiafs/bitmap.c | inode->i_uid = current->euid; |
current | 333 | fs/xiafs/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 297 | fs/xiafs/namei.c | inode->i_uid = current->euid; |
current | 380 | fs/xiafs/namei.c | inode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->umask); |
current | 499 | fs/xiafs/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 500 | fs/xiafs/namei.c | inode->i_uid != current->euid) |
current | 556 | fs/xiafs/namei.c | current->counter = 0; |
current | 561 | fs/xiafs/namei.c | current->euid != inode->i_uid && |
current | 562 | fs/xiafs/namei.c | current->euid != dir->i_uid) |
current | 732 | fs/xiafs/namei.c | current->euid != old_inode->i_uid && |
current | 733 | fs/xiafs/namei.c | current->euid != old_dir->i_uid && !suser()) |
current | 753 | fs/xiafs/namei.c | current->euid != new_inode->i_uid && |
current | 754 | fs/xiafs/namei.c | current->euid != new_dir->i_uid && !suser()) |
current | 791 | fs/xiafs/namei.c | current->counter=0; |
current | 83 | fs/xiafs/symlink.c | dir = current->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 | 193 | fs/xiafs/truncate.c | current->counter = 0; |
current | 65 | include/linux/kernel.h | #define suser() (current->euid == 0) |
current | 288 | include/linux/sched.h | extern struct task_struct *current; |
current | 466 | include/linux/sched.h | entry->wait.task = current; |
current | 537 | include/linux/sched.h | :"m" (current->debugreg[register]) \ |
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 | 400 | ipc/msg.c | if (!suser() && current->euid != ipcp->cuid && |
current | 401 | ipc/msg.c | current->euid != ipcp->uid) |
current | 86 | ipc/sem.c | ipcp->cuid = ipcp->uid = current->euid; |
current | 87 | ipc/sem.c | ipcp->gid = ipcp->cgid = current->egid; |
current | 250 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 251 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 308 | ipc/sem.c | if (suser() || current->euid == ipcp->cuid || |
current | 309 | ipc/sem.c | current->euid == ipcp->uid) { |
current | 382 | ipc/sem.c | for (un = current->semun; un; un = un->proc_next) |
current | 395 | ipc/sem.c | un->proc_next = current->semun; |
current | 396 | ipc/sem.c | current->semun = un; |
current | 413 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 423 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 435 | ipc/sem.c | curr->sempid = current->pid; |
current | 440 | ipc/sem.c | for (un = current->semun; un; un = un->proc_next) |
current | 469 | ipc/sem.c | for (up = ¤t->semun; (u = *up); *up = u->proc_next, kfree(u)) { |
current | 491 | ipc/sem.c | sem->sempid = current->pid; |
current | 499 | ipc/sem.c | if (current->signal & ~current->blocked) |
current | 506 | ipc/sem.c | current->semun = NULL; |
current | 105 | ipc/shm.c | shp->shm_perm.cuid = shp->shm_perm.uid = current->euid; |
current | 106 | ipc/shm.c | shp->shm_perm.cgid = shp->shm_perm.gid = current->egid; |
current | 109 | ipc/shm.c | shp->shm_cpid = current->pid; |
current | 300 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 301 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 311 | ipc/shm.c | if (suser() || current->euid == shp->shm_perm.uid || |
current | 312 | ipc/shm.c | current->euid == shp->shm_perm.cuid) { |
current | 347 | ipc/shm.c | --current->rss; |
current | 403 | ipc/shm.c | for (shmd = current->shm; shmd; shmd = shmd->task_next) { |
current | 416 | ipc/shm.c | if ((addr > current->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) |
current | 419 | ipc/shm.c | for (shmd = current->shm; shmd; shmd = shmd->task_next) { |
current | 443 | ipc/shm.c | shmd->task = current; |
current | 446 | ipc/shm.c | if (addr < current->end_data) { |
current | 447 | ipc/shm.c | iput (current->executable); |
current | 448 | ipc/shm.c | current->executable = NULL; |
current | 459 | ipc/shm.c | shmd->task_next = current->shm; |
current | 460 | ipc/shm.c | current->shm = shmd; |
current | 463 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 493 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 508 | ipc/shm.c | for (shmdp = ¤t->shm; (shmd = *shmdp); shmdp=&shmd->task_next) { |
current | 522 | ipc/shm.c | while (current->shm) |
current | 523 | ipc/shm.c | detach(¤t->shm); |
current | 568 | ipc/shm.c | shp->shm_lpid = current->pid; |
current | 601 | ipc/shm.c | oom(current); |
current | 621 | ipc/shm.c | --current->maj_flt; /* was incremented in do_no_page */ |
current | 624 | ipc/shm.c | current->min_flt++; |
current | 54 | ipc/util.c | perm = S_IRWXO; euid = current->euid; |
current | 59 | ipc/util.c | for (i = 0; (egid = current->groups[i]) != NOGROUP; i++) |
current | 50 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
current | 51 | kernel/exit.c | (current->euid != p->euid) && (current->uid != p->uid) && !suser()) |
current | 84 | kernel/exit.c | if (p == current) { |
current | 283 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
current | 287 | kernel/exit.c | if (p->pid > 1 && p != current) { |
current | 357 | kernel/exit.c | if (current->semun) |
current | 359 | kernel/exit.c | if (current->shm) |
current | 361 | kernel/exit.c | free_page_tables(current); |
current | 363 | kernel/exit.c | if (current->filp[i]) |
current | 365 | kernel/exit.c | forget_original_parent(current); |
current | 366 | kernel/exit.c | iput(current->pwd); |
current | 367 | kernel/exit.c | current->pwd = NULL; |
current | 368 | kernel/exit.c | iput(current->root); |
current | 369 | kernel/exit.c | current->root = NULL; |
current | 370 | kernel/exit.c | iput(current->executable); |
current | 371 | kernel/exit.c | current->executable = NULL; |
current | 376 | kernel/exit.c | mpnt = current->mmap; |
current | 377 | kernel/exit.c | current->mmap = NULL; |
current | 387 | kernel/exit.c | if (current->ldt) { |
current | 388 | kernel/exit.c | free_page((unsigned long) current->ldt); |
current | 389 | kernel/exit.c | current->ldt = NULL; |
current | 391 | kernel/exit.c | if (task[i] == current) { |
current | 398 | kernel/exit.c | current->state = TASK_ZOMBIE; |
current | 399 | kernel/exit.c | current->exit_code = code; |
current | 400 | kernel/exit.c | current->rss = 0; |
current | 410 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
current | 411 | kernel/exit.c | (current->p_pptr->session == current->session) && |
current | 412 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
current | 413 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
current | 414 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
current | 415 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
current | 418 | kernel/exit.c | notify_parent(current); |
current | 428 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
current | 429 | kernel/exit.c | current->p_cptr = p->p_osptr; |
current | 447 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
current | 448 | kernel/exit.c | (p->session == current->session) && |
current | 455 | kernel/exit.c | if (current->leader) { |
current | 459 | kernel/exit.c | if (current->tty >= 0) { |
current | 460 | kernel/exit.c | tty = TTY_TABLE(current->tty); |
current | 469 | kernel/exit.c | if (p->session == current->session) |
current | 473 | kernel/exit.c | if (last_task_used_math == current) |
current | 503 | kernel/exit.c | struct wait_queue wait = { current, NULL }; |
current | 511 | kernel/exit.c | add_wait_queue(¤t->wait_chldexit,&wait); |
current | 514 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
current | 519 | kernel/exit.c | if (p->pgrp != current->pgrp) |
current | 544 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
current | 545 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
current | 546 | kernel/exit.c | current->cmin_flt += p->min_flt + p->cmin_flt; |
current | 547 | kernel/exit.c | current->cmaj_flt += p->maj_flt + p->cmaj_flt; |
current | 573 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
current | 575 | kernel/exit.c | current->signal &= ~(1<<(SIGCHLD-1)); |
current | 577 | kernel/exit.c | if (current->signal & ~current->blocked) |
current | 583 | kernel/exit.c | remove_wait_queue(¤t->wait_chldexit,&wait); |
current | 56 | kernel/fork.c | if (task[i]->uid == current->uid) |
current | 63 | kernel/fork.c | if (current->uid) |
current | 97 | kernel/fork.c | for (mpnt = current->mmap ; mpnt ; mpnt = mpnt->vm_next) { |
current | 108 | kernel/fork.c | if (current->stk_vma == mpnt) |
current | 136 | kernel/fork.c | *p = *current; |
current | 142 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
current | 186 | kernel/fork.c | memcpy(p->ldt, current->ldt, PAGE_SIZE); |
current | 191 | kernel/fork.c | if (last_task_used_math == current) |
current | 194 | kernel/fork.c | if (copy_vm(p) || shm_fork(current, p)) |
current | 205 | kernel/fork.c | if (current->pwd) |
current | 206 | kernel/fork.c | current->pwd->i_count++; |
current | 207 | kernel/fork.c | if (current->root) |
current | 208 | kernel/fork.c | current->root->i_count++; |
current | 209 | kernel/fork.c | if (current->executable) |
current | 210 | kernel/fork.c | current->executable->i_count++; |
current | 218 | 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 | 84 | kernel/itimer.c | current->it_real_value = j; |
current | 85 | kernel/itimer.c | current->it_real_incr = i; |
current | 88 | kernel/itimer.c | current->it_virt_value = j; |
current | 89 | kernel/itimer.c | current->it_virt_incr = i; |
current | 92 | kernel/itimer.c | current->it_prof_value = j; |
current | 93 | kernel/itimer.c | current->it_prof_incr = i; |
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*) get_free_page(GFP_KERNEL))) |
current | 69 | kernel/ldt.c | set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, 512); |
current | 75 | kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
current | 29 | kernel/panic.c | if (current == task[0]) |
current | 79 | kernel/printk.c | if (current->signal & ~current->blocked) { |
current | 241 | kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 244 | kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 252 | kernel/ptrace.c | if (child == current) |
current | 254 | kernel/ptrace.c | if ((!child->dumpable || (current->uid != child->euid) || |
current | 255 | kernel/ptrace.c | (current->gid != child->egid)) && !suser()) |
current | 261 | kernel/ptrace.c | if (child->p_pptr != current) { |
current | 263 | kernel/ptrace.c | child->p_pptr = current; |
current | 275 | kernel/ptrace.c | if (child->p_pptr != current) |
current | 459 | kernel/ptrace.c | if ((current->flags & (PF_PTRACED|PF_TRACESYS)) |
current | 462 | kernel/ptrace.c | current->exit_code = SIGTRAP; |
current | 463 | kernel/ptrace.c | current->state = TASK_STOPPED; |
current | 464 | kernel/ptrace.c | notify_parent(current); |
current | 471 | kernel/ptrace.c | if (current->exit_code) |
current | 472 | kernel/ptrace.c | current->signal |= (1 << (current->exit_code - 1)); |
current | 473 | kernel/ptrace.c | current->exit_code = 0; |
current | 86 | kernel/sched.c | struct task_struct *current = &init_task; |
current | 149 | kernel/sched.c | if (last_task_used_math == current) |
current | 157 | kernel/sched.c | last_task_used_math = current; |
current | 158 | kernel/sched.c | if (current->used_math) { |
current | 159 | kernel/sched.c | __asm__("frstor %0": :"m" (current->tss.i387)); |
current | 162 | kernel/sched.c | current->used_math=1; |
current | 172 | kernel/sched.c | printk("killing %s.\n",current->comm); |
current | 173 | kernel/sched.c | send_sig(SIGFPE,current,1); |
current | 249 | kernel/sched.c | if (TASK_UNINTERRUPTIBLE >= (unsigned) current->state && |
current | 250 | kernel/sched.c | current->counter < current->priority*2) { |
current | 251 | kernel/sched.c | ++current->counter; |
current | 269 | kernel/sched.c | if(current->debugreg[7]){ |
current | 280 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 305 | kernel/sched.c | if (p->counter > current->counter) |
current | 331 | kernel/sched.c | if (p->counter > current->counter) |
current | 349 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 353 | kernel/sched.c | if (current == task[0]) |
current | 355 | kernel/sched.c | current->state = state; |
current | 629 | kernel/sched.c | current->utime++; |
current | 631 | kernel/sched.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 632 | kernel/sched.c | current->it_virt_value = current->it_virt_incr; |
current | 633 | kernel/sched.c | send_sig(SIGVTALRM,current,1); |
current | 636 | kernel/sched.c | current->stime++; |
current | 638 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
current | 646 | kernel/sched.c | if (current == task[0] || (--current->counter)<=0) { |
current | 647 | kernel/sched.c | current->counter=0; |
current | 651 | kernel/sched.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 652 | kernel/sched.c | current->it_prof_value = current->it_prof_incr; |
current | 653 | kernel/sched.c | send_sig(SIGPROF,current,1); |
current | 694 | kernel/sched.c | return current->pid; |
current | 699 | kernel/sched.c | return current->p_opptr->pid; |
current | 704 | kernel/sched.c | return current->uid; |
current | 709 | kernel/sched.c | return current->euid; |
current | 714 | kernel/sched.c | return current->gid; |
current | 719 | kernel/sched.c | return current->egid; |
current | 728 | kernel/sched.c | newprio = current->priority - increment; |
current | 733 | kernel/sched.c | current->priority = newprio; |
current | 741 | kernel/sched.c | printk("%-8s %3d ", p->comm, (p == current) ? -nr : nr); |
current | 52 | kernel/signal.c | sigset_t new_set, old_set = current->blocked; |
current | 62 | kernel/signal.c | current->blocked |= new_set; |
current | 65 | kernel/signal.c | current->blocked &= ~new_set; |
current | 68 | kernel/signal.c | current->blocked = new_set; |
current | 85 | kernel/signal.c | return current->blocked; |
current | 90 | kernel/signal.c | int old=current->blocked; |
current | 92 | kernel/signal.c | current->blocked = newmask & _BLOCKABLE; |
current | 102 | kernel/signal.c | put_fs_long(current->blocked & current->signal, (unsigned long *)set); |
current | 114 | kernel/signal.c | mask = current->blocked; |
current | 115 | kernel/signal.c | current->blocked = set & _BLOCKABLE; |
current | 118 | kernel/signal.c | current->state = TASK_INTERRUPTIBLE; |
current | 144 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 148 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 154 | kernel/signal.c | current->signal &= ~_S(signum); |
current | 171 | kernel/signal.c | handler = (long) current->sigaction[signum-1].sa_handler; |
current | 172 | kernel/signal.c | current->sigaction[signum-1] = tmp; |
current | 184 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 221 | kernel/signal.c | current->blocked = context.oldmask & _BLOCKABLE; |
current | 281 | kernel/signal.c | put_fs_long(current->tss.cr2, frame+23); |
current | 302 | kernel/signal.c | unsigned long mask = ~current->blocked; |
current | 309 | kernel/signal.c | while ((signr = current->signal & mask)) { |
current | 312 | kernel/signal.c | :"=m" (current->signal),"=r" (signr) |
current | 314 | kernel/signal.c | sa = current->sigaction + signr; |
current | 316 | kernel/signal.c | if ((current->flags & PF_PTRACED) && signr != SIGKILL) { |
current | 317 | kernel/signal.c | current->exit_code = signr; |
current | 318 | kernel/signal.c | current->state = TASK_STOPPED; |
current | 319 | kernel/signal.c | notify_parent(current); |
current | 321 | kernel/signal.c | if (!(signr = current->exit_code)) |
current | 323 | kernel/signal.c | current->exit_code = 0; |
current | 326 | kernel/signal.c | if (_S(signr) & current->blocked) { |
current | 327 | kernel/signal.c | current->signal |= _S(signr); |
current | 330 | kernel/signal.c | sa = current->sigaction + signr - 1; |
current | 341 | kernel/signal.c | if (current->pid == 1) |
current | 348 | kernel/signal.c | if (current->flags & PF_PTRACED) |
current | 350 | kernel/signal.c | current->state = TASK_STOPPED; |
current | 351 | kernel/signal.c | current->exit_code = signr; |
current | 352 | kernel/signal.c | if (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & |
current | 354 | kernel/signal.c | notify_parent(current); |
current | 364 | kernel/signal.c | current->signal |= _S(signr & 0x7f); |
current | 391 | kernel/signal.c | sa = current->sigaction; |
current | 406 | kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 38 | kernel/sys.c | if (!who && p == current) |
current | 43 | kernel/sys.c | who = current->pgrp; |
current | 47 | kernel/sys.c | who = current->uid; |
current | 68 | kernel/sys.c | if ((*p)->uid != current->euid && |
current | 69 | kernel/sys.c | (*p)->uid != current->uid && !suser()) { |
current | 134 | kernel/sys.c | if (!current->vm86_info) { |
current | 138 | kernel/sys.c | memcpy_tofs(&(current->vm86_info->regs),regs,sizeof(*regs)); |
current | 139 | kernel/sys.c | put_fs_long(current->screen_bitmap,&(current->vm86_info->screen_bitmap)); |
current | 140 | kernel/sys.c | stack = current->tss.esp0; |
current | 141 | kernel/sys.c | current->tss.esp0 = current->saved_kernel_stack; |
current | 142 | kernel/sys.c | current->saved_kernel_stack = 0; |
current | 171 | kernel/sys.c | if (current->saved_kernel_stack) |
current | 189 | kernel/sys.c | current->saved_kernel_stack = current->tss.esp0; |
current | 190 | kernel/sys.c | current->tss.esp0 = (unsigned long) pt_regs; |
current | 191 | kernel/sys.c | current->vm86_info = v86; |
current | 192 | kernel/sys.c | current->screen_bitmap = info.screen_bitmap; |
current | 194 | kernel/sys.c | mark_screen_rdonly(current); |
current | 257 | kernel/sys.c | int old_rgid = current->gid; |
current | 260 | kernel/sys.c | if ((current->egid==rgid) || |
current | 263 | kernel/sys.c | current->gid = rgid; |
current | 269 | kernel/sys.c | (current->egid == egid) || |
current | 271 | kernel/sys.c | current->egid = egid; |
current | 272 | kernel/sys.c | current->sgid = egid; |
current | 274 | kernel/sys.c | current->gid = old_rgid; |
current | 287 | kernel/sys.c | current->gid = current->egid = current->sgid = gid; |
current | 288 | kernel/sys.c | else if ((gid == current->gid) || (gid == current->sgid)) |
current | 289 | kernel/sys.c | current->egid = gid; |
current | 340 | kernel/sys.c | int old_ruid = current->uid; |
current | 343 | kernel/sys.c | if ((current->euid==ruid) || |
current | 346 | kernel/sys.c | current->uid = ruid; |
current | 352 | kernel/sys.c | (current->euid == euid) || |
current | 354 | kernel/sys.c | current->euid = euid; |
current | 355 | kernel/sys.c | current->suid = euid; |
current | 357 | kernel/sys.c | current->uid = old_ruid; |
current | 378 | kernel/sys.c | current->uid = current->euid = current->suid = uid; |
current | 379 | kernel/sys.c | else if ((uid == current->uid) || (uid == current->suid)) |
current | 380 | kernel/sys.c | current->euid = uid; |
current | 392 | kernel/sys.c | put_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime); |
current | 393 | kernel/sys.c | put_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime); |
current | 394 | kernel/sys.c | put_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime); |
current | 395 | kernel/sys.c | put_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime); |
current | 406 | kernel/sys.c | if (brk < current->end_code) |
current | 407 | kernel/sys.c | return current->brk; |
current | 409 | kernel/sys.c | oldbrk = PAGE_ALIGN(current->brk); |
current | 411 | kernel/sys.c | return current->brk = brk; |
current | 416 | kernel/sys.c | if (brk <= current->brk) { |
current | 417 | kernel/sys.c | current->brk = brk; |
current | 424 | kernel/sys.c | rlim = current->rlim[RLIMIT_DATA].rlim_cur; |
current | 427 | kernel/sys.c | if (brk - current->end_code > rlim || brk >= current->start_stack - 16384) |
current | 428 | kernel/sys.c | return current->brk; |
current | 440 | kernel/sys.c | return current->brk; |
current | 442 | kernel/sys.c | freepages += current->rss; |
current | 445 | kernel/sys.c | return current->brk; |
current | 450 | kernel/sys.c | current->brk = brk; |
current | 471 | kernel/sys.c | pid = current->pid; |
current | 473 | kernel/sys.c | pgid = current->pid; |
current | 478 | kernel/sys.c | ((task[i]->p_pptr == current) || |
current | 479 | kernel/sys.c | (task[i]->p_opptr == current) || |
current | 480 | kernel/sys.c | (task[i] == current))) { |
current | 483 | kernel/sys.c | if ((task[i]->session != current->session) || |
current | 485 | kernel/sys.c | (session_of_pgrp(pgid) != current->session))) |
current | 495 | kernel/sys.c | return current->pgrp; |
current | 500 | kernel/sys.c | if (current->leader && !suser()) |
current | 502 | kernel/sys.c | current->leader = 1; |
current | 503 | kernel/sys.c | current->session = current->pgrp = current->pid; |
current | 504 | kernel/sys.c | current->tty = -1; |
current | 505 | kernel/sys.c | return current->pgrp; |
current | 520 | kernel/sys.c | for (i = 0 ; (i < NGROUPS) && (current->groups[i] != NOGROUP) ; i++) { |
current | 525 | kernel/sys.c | put_fs_word(current->groups[i], (short *) grouplist); |
current | 540 | kernel/sys.c | current->groups[i] = get_fs_word((unsigned short *) grouplist); |
current | 543 | kernel/sys.c | current->groups[i] = NOGROUP; |
current | 551 | kernel/sys.c | if (grp == current->egid) |
current | 555 | kernel/sys.c | if (current->groups[i] == NOGROUP) |
current | 557 | kernel/sys.c | if (current->groups[i] == grp) |
current | 665 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
current | 667 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
current | 678 | kernel/sys.c | old_rlim = current->rlim + resource; |
current | 745 | kernel/sys.c | return getrusage(current, who, ru); |
current | 750 | kernel/sys.c | int old = current->umask; |
current | 752 | kernel/sys.c | current->umask = mask & S_IRWXUGO; |
current | 79 | kernel/traps.c | printk("Pid: %d, process nr: %d\n", current->pid, 0xffff & i); |
current | 88 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 94 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 100 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 106 | kernel/traps.c | send_sig(SIGFPE, current, 1); |
current | 112 | kernel/traps.c | if (current->flags & PF_PTRACED) |
current | 113 | kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 114 | kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 126 | kernel/traps.c | if (current->flags & PF_PTRACED) |
current | 127 | kernel/traps.c | current->blocked &= ~(1 << (SIGTRAP-1)); |
current | 128 | kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 143 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 149 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 155 | kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 161 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 173 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 179 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 185 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 232 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 175 | mm/memory.c | if (tsk == current) |
current | 198 | mm/memory.c | pg_dir = current->tss.cr3; |
current | 217 | mm/memory.c | old_pg_dir = current->tss.cr3; |
current | 283 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 309 | mm/memory.c | --current->rss; |
current | 341 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 369 | mm/memory.c | --current->rss; |
current | 403 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
current | 431 | mm/memory.c | --current->rss; |
current | 452 | mm/memory.c | ++current->rss; |
current | 634 | mm/memory.c | if (user_esp && tsk == current) { |
current | 635 | mm/memory.c | current->tss.cr2 = address; |
current | 670 | mm/memory.c | do_wp_page(1,start,current,0); |
current | 826 | mm/memory.c | oom(current); |
current | 871 | mm/memory.c | if (tsk != current) |
current | 904 | mm/memory.c | current->screen_bitmap |= 1 << bit; |
current | 909 | mm/memory.c | do_wp_page(error_code, address, current, user_esp); |
current | 911 | mm/memory.c | do_no_page(error_code, address, current, user_esp); |
current | 1171 | mm/memory.c | oom(current); |
current | 1188 | mm/memory.c | oom(current); |
current | 40 | mm/mmap.c | (PAGE_ALIGN(addr) < current->start_code + current->end_code) |
current | 89 | mm/mmap.c | for (vmm = current->mmap ; vmm ; vmm = vmm->vm_next) { |
current | 132 | mm/mmap.c | if (!current->errno) |
current | 133 | mm/mmap.c | current->errno = -error; |
current | 147 | mm/mmap.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 216 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 223 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 259 | mm/mmap.c | npp = ¤t->mmap; |
current | 336 | mm/mmap.c | mpnt->vm_task = current; |
current | 345 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 346 | mm/mmap.c | merge_segments(current->mmap, NULL, NULL); |
current | 455 | mm/mmap.c | mpnt->vm_task = current; |
current | 463 | mm/mmap.c | insert_vm_struct(current, mpnt); |
current | 464 | mm/mmap.c | merge_segments(current->mmap, ignoff_mergep, NULL); |
current | 211 | mm/swap.c | oom(current); |
current | 97 | net/inet/datagram.c | if (current->signal & ~current->blocked) |
current | 199 | net/inet/raw.c | if (current->signal & ~current->blocked) { |
current | 463 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |
current | 464 | net/inet/sock.c | current->pid != arg) return(-EPERM); |
current | 912 | net/inet/sock.c | current->timeout = jiffies + HZ*sk->lingertime; |
current | 913 | net/inet/sock.c | while(sk->state != TCP_CLOSE && current->timeout>0) { |
current | 915 | net/inet/sock.c | if (current->signal & ~current->blocked) { |
current | 917 | net/inet/sock.c | current->timeout=0; |
current | 921 | net/inet/sock.c | current->timeout=0; |
current | 1072 | net/inet/sock.c | if (current->signal & ~current->blocked) { |
current | 1151 | net/inet/sock.c | if (current->signal & ~current->blocked) { |
current | 1277 | net/inet/sock.c | send_sig(SIGPIPE, current, 1); |
current | 1305 | net/inet/sock.c | send_sig(SIGPIPE, current, 1); |
current | 1333 | net/inet/sock.c | send_sig(SIGPIPE, current, 1); |
current | 755 | net/inet/tcp.c | send_sig(SIGPIPE, current, 0); |
current | 772 | net/inet/tcp.c | if (current->signal & ~current->blocked) { |
current | 866 | net/inet/tcp.c | if (current->signal & ~current->blocked) { |
current | 1171 | net/inet/tcp.c | if (current->signal & ~current->blocked) { |
current | 1339 | net/inet/tcp.c | if (current->signal & ~current->blocked) { |
current | 1389 | net/inet/tcp.c | send_sig(SIGURG, current, 0); |
current | 2743 | net/inet/tcp.c | if (current->signal & ~current->blocked) { |
current | 108 | net/socket.c | if (!current->filp[fd]) break; |
current | 113 | net/socket.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 114 | net/socket.c | current->filp[fd] = file; |
current | 162 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->filp[fd])) return(NULL); |
current | 198 | net/socket.c | SOCK_INODE(sock)->i_uid = current->euid; |
current | 199 | net/socket.c | SOCK_INODE(sock)->i_gid = current->egid; |
current | 213 | net/socket.c | if (current->signal & ~current->blocked) { |
current | 542 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->filp[fd] == NULL) |
current | 564 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->filp[fd] == NULL) |
current | 590 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 645 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || (file=current->filp[fd]) == NULL) |
current | 680 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->filp[fd] == NULL) |
current | 693 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || current->filp[fd] == NULL) |
current | 710 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 729 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 748 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 767 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 787 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 806 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 823 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 513 | net/unix/sock.c | if (current->signal & ~current->blocked) { |
current | 591 | net/unix/sock.c | if (current->signal & ~current->blocked) { |
current | 606 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 643 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 654 | net/unix/sock.c | if (current->signal & ~current->blocked) { |
current | 660 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |
current | 674 | net/unix/sock.c | send_sig(SIGKILL, current, 1); |
current | 683 | net/unix/sock.c | send_sig(SIGPIPE, current, 1); |