tag | line | file | source code |
current | 60 | fs/buffer.c | struct wait_queue wait = { current, NULL }; |
current | 64 | fs/buffer.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 70 | fs/buffer.c | current->state = TASK_RUNNING; |
current | 76 | fs/exec.c | if (!current->dumpable) |
current | 78 | fs/exec.c | current->dumpable = 0; |
current | 80 | fs/exec.c | if (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE) |
current | 109 | fs/exec.c | dump.u_tsize = ((unsigned long) current->end_code) >> 12; |
current | 110 | fs/exec.c | dump.u_dsize = ((unsigned long) (current->brk + (PAGE_SIZE-1))) >> 12; |
current | 118 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 122 | fs/exec.c | current->rlim[RLIMIT_CORE].rlim_cur) |
current | 131 | fs/exec.c | if ((dump.u_fpvalid = current->used_math) != 0) { |
current | 132 | fs/exec.c | if (last_task_used_math == current) |
current | 135 | fs/exec.c | memcpy(&dump.i387,¤t->tss.i387.hard,sizeof(dump.i387)); |
current | 146 | fs/exec.c | DUMP_WRITE(current->comm,16); |
current | 165 | fs/exec.c | DUMP_WRITE(current,sizeof(*current)); |
current | 183 | fs/exec.c | #define libnum (current->numlibraries) |
current | 220 | fs/exec.c | current->libraries[libnum].library = inode; |
current | 221 | fs/exec.c | current->libraries[libnum].start = ex.a_entry; |
current | 222 | fs/exec.c | current->libraries[libnum].length = (ex.a_data+ex.a_text+0xfff) & 0xfffff000; |
current | 223 | fs/exec.c | current->libraries[libnum].bss = (ex.a_bss+0xfff) & 0xfffff000; |
current | 227 | fs/exec.c | current->libraries[libnum].start, |
current | 228 | fs/exec.c | current->libraries[libnum].length); |
current | 253 | fs/exec.c | current->arg_start = (unsigned long) p; |
current | 259 | fs/exec.c | current->arg_end = current->env_start = (unsigned long) p; |
current | 265 | fs/exec.c | current->env_end = (unsigned long) p; |
current | 359 | fs/exec.c | current->start_code = code_base; |
current | 360 | fs/exec.c | set_base(current->ldt[1],code_base); |
current | 361 | fs/exec.c | set_limit(current->ldt[1],code_limit); |
current | 362 | fs/exec.c | set_base(current->ldt[2],data_base); |
current | 363 | fs/exec.c | set_limit(current->ldt[2],data_limit); |
current | 370 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
current | 458 | fs/exec.c | if (IS_NOSUID(inode) && (((i & S_ISUID) && inode->i_uid != current-> |
current | 459 | fs/exec.c | euid) || ((i & S_ISGID) && inode->i_gid != current->egid)) && |
current | 465 | fs/exec.c | if (current->flags & PF_PTRACED) { |
current | 466 | fs/exec.c | e_uid = current->euid; |
current | 467 | fs/exec.c | e_gid = current->egid; |
current | 469 | fs/exec.c | e_uid = (i & S_ISUID) ? inode->i_uid : current->euid; |
current | 470 | fs/exec.c | e_gid = (i & S_ISGID) ? inode->i_gid : current->egid; |
current | 472 | fs/exec.c | if (current->euid == inode->i_uid) |
current | 584 | fs/exec.c | current->dumpable = 1; |
current | 590 | fs/exec.c | current->comm[i++] = ch; |
current | 591 | fs/exec.c | current->comm[i] = '\0'; |
current | 592 | fs/exec.c | if (current->executable) { |
current | 593 | fs/exec.c | iput(current->executable); |
current | 594 | fs/exec.c | current->executable = NULL; |
current | 596 | fs/exec.c | i = current->numlibraries; |
current | 598 | fs/exec.c | iput(current->libraries[i].library); |
current | 599 | fs/exec.c | current->libraries[i].library = NULL; |
current | 601 | fs/exec.c | if (e_uid != current->euid || e_gid != current->egid || |
current | 603 | fs/exec.c | current->dumpable = 0; |
current | 604 | fs/exec.c | current->numlibraries = 0; |
current | 605 | fs/exec.c | current->signal = 0; |
current | 607 | fs/exec.c | current->sigaction[i].sa_mask = 0; |
current | 608 | fs/exec.c | current->sigaction[i].sa_flags = 0; |
current | 609 | fs/exec.c | if (current->sigaction[i].sa_handler != SIG_IGN) |
current | 610 | fs/exec.c | current->sigaction[i].sa_handler = NULL; |
current | 613 | fs/exec.c | if (FD_ISSET(i,¤t->close_on_exec)) |
current | 615 | fs/exec.c | FD_ZERO(¤t->close_on_exec); |
current | 616 | fs/exec.c | clear_page_tables(current); |
current | 617 | fs/exec.c | if (last_task_used_math == current) |
current | 619 | fs/exec.c | current->used_math = 0; |
current | 623 | fs/exec.c | current->brk = ex.a_bss + |
current | 624 | fs/exec.c | (current->end_data = ex.a_data + |
current | 625 | fs/exec.c | (current->end_code = ex.a_text)); |
current | 626 | fs/exec.c | current->start_stack = p; |
current | 627 | fs/exec.c | current->rss = (TASK_SIZE - p + PAGE_SIZE-1) / PAGE_SIZE; |
current | 628 | fs/exec.c | current->suid = current->euid = e_uid; |
current | 629 | fs/exec.c | current->sgid = current->egid = e_gid; |
current | 637 | fs/exec.c | current->executable = inode; |
current | 640 | fs/exec.c | if (current->flags & PF_PTRACED) |
current | 641 | fs/exec.c | send_sig(SIGTRAP, current, 0); |
current | 280 | fs/ext/freelists.c | inode->i_uid = current->euid; |
current | 281 | fs/ext/freelists.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 359 | fs/ext/namei.c | inode->i_uid = current->euid; |
current | 448 | fs/ext/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
current | 544 | fs/ext/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 545 | fs/ext/namei.c | inode->i_uid != current->euid) |
current | 598 | fs/ext/namei.c | current->euid != inode->i_uid && |
current | 599 | 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 | 56 | fs/ext/symlink.c | dir = current->root; |
current | 68 | fs/ext/symlink.c | if (current->link_count > 5) { |
current | 81 | fs/ext/symlink.c | current->link_count++; |
current | 83 | fs/ext/symlink.c | current->link_count--; |
current | 238 | fs/ext/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 | 58 | fs/fcntl.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 64 | fs/fcntl.c | return FD_ISSET(fd, ¤t->close_on_exec); |
current | 67 | fs/fcntl.c | FD_SET(fd, ¤t->close_on_exec); |
current | 69 | fs/fcntl.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 35 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 58 | fs/fifo.c | if (current->signal & ~current->blocked) { |
current | 343 | fs/inode.c | struct wait_queue wait = { current, NULL }; |
current | 347 | fs/inode.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 353 | fs/inode.c | current->state = TASK_RUNNING; |
current | 54 | fs/ioctl.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 58 | fs/ioctl.c | FD_SET(fd, ¤t->close_on_exec); |
current | 62 | fs/ioctl.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 52 | fs/isofs/symlink.c | dir = current->root; |
current | 66 | fs/isofs/symlink.c | if ((current->link_count > 5) || |
current | 75 | fs/isofs/symlink.c | current->link_count++; |
current | 77 | fs/isofs/symlink.c | current->link_count--; |
current | 57 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 98 | fs/locks.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) |
current | 199 | fs/locks.c | fl->fl_owner = current; |
current | 433 | fs/locks.c | new->fl_owner = current; /* FIXME: needed? */ |
current | 227 | fs/minix/bitmap.c | inode->i_uid = current->euid; |
current | 228 | fs/minix/bitmap.c | inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid; |
current | 251 | fs/minix/namei.c | inode->i_uid = current->euid; |
current | 336 | fs/minix/namei.c | inode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask); |
current | 415 | fs/minix/namei.c | if ((dir->i_mode & S_ISVTX) && current->euid && |
current | 416 | fs/minix/namei.c | inode->i_uid != current->euid) |
current | 469 | fs/minix/namei.c | current->counter = 0; |
current | 475 | fs/minix/namei.c | current->euid != inode->i_uid && |
current | 476 | fs/minix/namei.c | current->euid != dir->i_uid) |
current | 653 | fs/minix/namei.c | current->counter = 0; |
current | 667 | fs/minix/namei.c | current->euid != old_inode->i_uid && |
current | 668 | fs/minix/namei.c | current->euid != old_dir->i_uid && !suser()) |
current | 688 | fs/minix/namei.c | current->euid != new_inode->i_uid && |
current | 689 | fs/minix/namei.c | current->euid != new_dir->i_uid && !suser()) |
current | 50 | fs/minix/symlink.c | dir = current->root; |
current | 62 | fs/minix/symlink.c | if (current->link_count > 5) { |
current | 75 | fs/minix/symlink.c | current->link_count++; |
current | 77 | fs/minix/symlink.c | current->link_count--; |
current | 180 | fs/minix/truncate.c | current->counter = 0; |
current | 68 | fs/msdos/inode.c | *uid = current->uid; |
current | 69 | fs/msdos/inode.c | *gid = current->gid; |
current | 70 | fs/msdos/inode.c | *umask = current->umask; |
current | 84 | fs/msdos/misc.c | int count,this,limit,last,current,sector; |
current | 121 | fs/msdos/misc.c | if ((current = MSDOS_I(inode)->i_start) != 0) { |
current | 122 | fs/msdos/misc.c | cache_lookup(inode,0x7fffffff,&last,¤t); |
current | 123 | fs/msdos/misc.c | while (current && current != -1) |
current | 124 | fs/msdos/misc.c | if (!(current = fat_access(inode->i_sb, |
current | 125 | fs/msdos/misc.c | last = current,-1))) |
current | 139 | fs/msdos/misc.c | for (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size; |
current | 140 | fs/msdos/misc.c | current++) { |
current | 142 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->cluster_size+current; |
current | 146 | fs/msdos/misc.c | if (current < MSDOS_SB(inode->i_sb)->cluster_size-1 && |
current | 154 | fs/msdos/misc.c | current++; |
current | 392 | fs/msdos/misc.c | int error,current,prev,this; |
current | 397 | fs/msdos/misc.c | if ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT,0, |
current | 400 | fs/msdos/misc.c | return current; |
current | 402 | fs/msdos/misc.c | if (!current) this = MSDOS_ROOT_INO; |
current | 404 | fs/msdos/misc.c | if ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,0,NULL)) < |
current | 409 | fs/msdos/misc.c | if ((error = raw_scan(dir->i_sb,prev,NULL,current,&this)) < 0) { |
current | 44 | fs/namei.c | else if (current->euid == inode->i_uid) |
current | 65 | fs/namei.c | if (dir == current->root) |
current | 125 | fs/namei.c | base = current->pwd; |
current | 130 | fs/namei.c | base = current->root; |
current | 225 | fs/namei.c | mode &= 07777 & ~current->umask; |
current | 71 | fs/nfs/inode.c | if (fd >= NR_OPEN || !(filp = current->filp[fd])) { |
current | 584 | fs/nfs/proc.c | *p++ = htonl(current->euid); |
current | 585 | fs/nfs/proc.c | *p++ = htonl(current->egid); |
current | 587 | fs/nfs/proc.c | for (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++) |
current | 588 | fs/nfs/proc.c | *p++ = htonl(current->groups[i]); |
current | 77 | fs/nfs/sock.c | current->state = TASK_INTERRUPTIBLE; |
current | 82 | fs/nfs/sock.c | current->timeout = jiffies + timeout; |
current | 85 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 86 | fs/nfs/sock.c | if (current->signal & ~current->blocked) { |
current | 92 | fs/nfs/sock.c | current->timeout = 0; |
current | 96 | fs/nfs/sock.c | if (!current->timeout) { |
current | 116 | fs/nfs/sock.c | current->timeout = 0; |
current | 120 | fs/nfs/sock.c | current->state = TASK_RUNNING; |
current | 51 | fs/nfs/symlink.c | dir = current->root; |
current | 63 | fs/nfs/symlink.c | if (current->link_count > 5) { |
current | 79 | fs/nfs/symlink.c | current->link_count++; |
current | 81 | fs/nfs/symlink.c | current->link_count--; |
current | 61 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 102 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 134 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) { |
current | 141 | fs/open.c | if ((current->euid != inode->i_uid) && |
current | 172 | fs/open.c | if (current->uid == inode->i_uid) |
current | 184 | fs/open.c | if ((!current->uid) && |
current | 206 | fs/open.c | iput(current->pwd); |
current | 207 | fs/open.c | current->pwd = inode; |
current | 227 | fs/open.c | iput(current->root); |
current | 228 | fs/open.c | current->root = inode; |
current | 237 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 241 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) |
current | 261 | fs/open.c | if ((current->euid != inode->i_uid) && !suser()) { |
current | 284 | fs/open.c | if (fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 294 | fs/open.c | if ((current->euid == inode->i_uid && user == inode->i_uid && |
current | 322 | fs/open.c | if ((current->euid == inode->i_uid && user == inode->i_uid && |
current | 358 | fs/open.c | if (!current->filp[fd]) |
current | 362 | fs/open.c | FD_CLR(fd,¤t->close_on_exec); |
current | 366 | fs/open.c | current->filp[fd] = f; |
current | 375 | fs/open.c | current->filp[fd]=NULL; |
current | 385 | fs/open.c | current->filp[fd] = NULL; |
current | 405 | fs/open.c | current->filp[fd]=NULL; |
current | 428 | fs/open.c | fcntl_remove_locks(current, filp); |
current | 447 | fs/open.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 448 | fs/open.c | if (!(filp = current->filp[fd])) |
current | 450 | fs/open.c | current->filp[fd] = NULL; |
current | 498 | fs/open.c | if (current->tty < 0) |
current | 501 | fs/open.c | tty = TTY_TABLE(current->tty); |
current | 518 | fs/open.c | MINOR(filep->f_rdev) == MINOR (current->tty))) { |
current | 540 | fs/open.c | if (*process && (*process)->tty == current->tty && *process != current) { |
current | 545 | fs/open.c | tty = TTY_TABLE(MINOR(current->tty)); |
current | 549 | fs/open.c | current->tty = -1; |
current | 25 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 51 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 62 | fs/pipe.c | send_sig(SIGPIPE,current,0); |
current | 65 | fs/pipe.c | if (current->signal & ~current->blocked) |
current | 222 | fs/pipe.c | if (!current->filp[i]) { |
current | 223 | fs/pipe.c | current->filp[ fd[j]=i ] = f[j]; |
current | 227 | fs/pipe.c | current->filp[fd[0]]=NULL; |
current | 234 | fs/pipe.c | current->filp[fd[0]] = NULL; |
current | 235 | fs/pipe.c | current->filp[fd[1]] = NULL; |
current | 147 | fs/proc/array.c | if (!p || p == current) |
current | 45 | fs/proc/mem.c | if (current->signal & ~current->blocked) |
current | 94 | 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 | 87 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
current | 25 | fs/read_write.c | if (fd >= NR_OPEN || !(file = current->filp[fd]) || |
current | 40 | fs/read_write.c | if (fd >= NR_OPEN || !(file=current->filp[fd]) || !(file->f_inode)) |
current | 73 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode)) |
current | 90 | fs/read_write.c | if (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode)) |
current | 93 | fs/select.c | if (!current->filp[i]) |
current | 95 | fs/select.c | if (!current->filp[i]->f_inode) |
current | 111 | fs/select.c | current->state = TASK_INTERRUPTIBLE; |
current | 113 | fs/select.c | if (FD_ISSET(i,in) && check(SEL_IN,wait,current->filp[i])) { |
current | 118 | fs/select.c | if (FD_ISSET(i,out) && check(SEL_OUT,wait,current->filp[i])) { |
current | 123 | fs/select.c | if (FD_ISSET(i,ex) && check(SEL_EX,wait,current->filp[i])) { |
current | 130 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
current | 136 | fs/select.c | current->state = TASK_RUNNING; |
current | 208 | fs/select.c | current->timeout = timeout; |
current | 210 | fs/select.c | if (current->timeout > jiffies) |
current | 211 | fs/select.c | timeout = current->timeout - jiffies; |
current | 214 | fs/select.c | current->timeout = 0; |
current | 224 | fs/select.c | if (!i && (current->signal & ~current->blocked)) |
current | 19 | fs/stat.c | current->comm); |
current | 137 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode)) |
current | 148 | fs/stat.c | if (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode)) |
current | 50 | fs/super.c | struct wait_queue wait = { current, NULL }; |
current | 54 | fs/super.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 60 | fs/super.c | current->state = TASK_RUNNING; |
current | 425 | fs/super.c | current->pwd = inode; |
current | 426 | fs/super.c | current->root = inode; |
current | 27 | include/linux/kernel.h | #define suser() (current->euid == 0) |
current | 264 | include/linux/sched.h | extern struct task_struct *current; |
current | 431 | include/linux/sched.h | entry->wait.task = current; |
current | 273 | kernel/FPU-emu/errors.c | send_sig(SIGFPE, current, 1); |
current | 106 | kernel/FPU-emu/fpu_entry.c | if (!current->used_math) |
current | 109 | kernel/FPU-emu/fpu_entry.c | current->used_math = 1; |
current | 128 | kernel/FPU-emu/fpu_entry.c | if (current->flags & PF_PTRACED) |
current | 290 | kernel/FPU-emu/fpu_entry.c | send_sig(signal,current,1); |
current | 302 | kernel/FPU-emu/fpu_entry.c | printk("killing %s.\n",current->comm); |
current | 303 | kernel/FPU-emu/fpu_entry.c | send_sig(SIGFPE,current,1); |
current | 17 | kernel/FPU-emu/fpu_system.h | #define I387 (current->tss.i387) |
current | 235 | kernel/blk_drv/blk.h | if (p->counter > current->counter) |
current | 254 | kernel/blk_drv/ll_rw_blk.c | req->waiting = current; |
current | 257 | kernel/blk_drv/ll_rw_blk.c | current->state = TASK_SWAPPING; |
current | 368 | kernel/blk_drv/ll_rw_blk.c | req->waiting = current; |
current | 371 | kernel/blk_drv/ll_rw_blk.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 455 | kernel/blk_drv/scsi/scsi.h | if (p->counter > current->counter) |
current | 466 | kernel/blk_drv/scsi/scsi.h | struct wait_queue wait = { current, NULL}; \ |
current | 469 | kernel/blk_drv/scsi/scsi.h | current->state = TASK_UNINTERRUPTIBLE; \ |
current | 475 | kernel/blk_drv/scsi/scsi.h | current->state = TASK_RUNNING; \ |
current | 78 | kernel/blk_drv/scsi/scsi_ioctl.c | if (p->counter > current->counter) |
current | 96 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
current | 97 | kernel/blk_drv/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 179 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
current | 180 | kernel/blk_drv/scsi/scsi_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 638 | kernel/blk_drv/scsi/sd.c | if (p->counter > current->counter) |
current | 669 | kernel/blk_drv/scsi/sd.c | if (current == task[0]) |
current | 673 | kernel/blk_drv/scsi/sd.c | SCpnt->request.waiting = current; |
current | 674 | kernel/blk_drv/scsi/sd.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 31 | kernel/blk_drv/scsi/sr_ioctl.c | if (p->counter > current->counter) |
current | 52 | kernel/blk_drv/scsi/sr_ioctl.c | SCpnt->request.waiting = current; |
current | 53 | kernel/blk_drv/scsi/sr_ioctl.c | current->state = TASK_UNINTERRUPTIBLE; |
current | 101 | kernel/chr_drv/lp.c | if (current->signal & ~current->blocked) { |
current | 109 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 110 | kernel/chr_drv/lp.c | current->timeout = jiffies + LP_TIME(minor); |
current | 117 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 118 | kernel/chr_drv/lp.c | current->timeout = jiffies + LP_TIMEOUT; |
current | 128 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 129 | kernel/chr_drv/lp.c | current->timeout = jiffies + LP_TIMEOUT; |
current | 137 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 138 | kernel/chr_drv/lp.c | current->timeout = jiffies + LP_TIMEOUT; |
current | 147 | kernel/chr_drv/lp.c | current->state = TASK_INTERRUPTIBLE; |
current | 148 | kernel/chr_drv/lp.c | current->timeout = jiffies + LP_TIMEOUT; |
current | 224 | kernel/chr_drv/psaux.c | struct wait_queue wait = { current, NULL }; |
current | 233 | kernel/chr_drv/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 234 | kernel/chr_drv/psaux.c | if (queue_empty() && !(current->signal & ~current->blocked)) { |
current | 238 | kernel/chr_drv/psaux.c | current->state = TASK_RUNNING; |
current | 251 | kernel/chr_drv/psaux.c | if (current->signal & ~current->blocked) |
current | 306 | kernel/chr_drv/psaux.c | current->state = TASK_INTERRUPTIBLE; |
current | 307 | kernel/chr_drv/psaux.c | current->timeout = jiffies + 5; |
current | 48 | kernel/chr_drv/pty.c | if (current->signal & ~current->blocked) |
current | 75 | kernel/chr_drv/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
current | 187 | kernel/chr_drv/serial.c | current->state = TASK_INTERRUPTIBLE; |
current | 188 | kernel/chr_drv/serial.c | current->timeout = jiffies + 25; |
current | 206 | kernel/chr_drv/tty_io.c | return (current->signal & ~current->blocked) ? -1 : 0; |
current | 518 | kernel/chr_drv/tty_io.c | return ((current->blocked & (1<<(sig-1))) || |
current | 519 | kernel/chr_drv/tty_io.c | (current->sigaction[sig-1].sa_handler == SIG_IGN)); |
current | 528 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 536 | kernel/chr_drv/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 542 | kernel/chr_drv/tty_io.c | minimum = time = current->timeout = 0; |
current | 547 | kernel/chr_drv/tty_io.c | current->timeout = 0xffffffff; |
current | 550 | kernel/chr_drv/tty_io.c | current->timeout = time + jiffies; |
current | 552 | kernel/chr_drv/tty_io.c | current->timeout = 0; |
current | 558 | kernel/chr_drv/tty_io.c | time = current->timeout = 0; |
current | 565 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 602 | kernel/chr_drv/tty_io.c | current->timeout = time+jiffies; |
current | 614 | kernel/chr_drv/tty_io.c | if (b-buf >= minimum || !current->timeout) |
current | 616 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 627 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 630 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
current | 636 | kernel/chr_drv/tty_io.c | current->timeout = 0; |
current | 648 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 657 | kernel/chr_drv/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 661 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 664 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 670 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
current | 691 | kernel/chr_drv/tty_io.c | struct wait_queue wait = { current, NULL }; |
current | 700 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 705 | kernel/chr_drv/tty_io.c | send_sig(SIGPIPE,current,0); |
current | 708 | kernel/chr_drv/tty_io.c | current->state = TASK_INTERRUPTIBLE; |
current | 713 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
current | 716 | kernel/chr_drv/tty_io.c | current->state = TASK_RUNNING; |
current | 745 | kernel/chr_drv/tty_io.c | if (current->signal & ~current->blocked) |
current | 765 | kernel/chr_drv/tty_io.c | (current->tty == dev) && |
current | 766 | kernel/chr_drv/tty_io.c | (tty->pgrp != current->pgrp)) |
current | 767 | kernel/chr_drv/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
current | 770 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
current | 798 | kernel/chr_drv/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
current | 799 | kernel/chr_drv/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 802 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
current | 993 | kernel/chr_drv/tty_io.c | dev = current->tty; |
current | 1020 | kernel/chr_drv/tty_io.c | current->leader && |
current | 1021 | kernel/chr_drv/tty_io.c | current->tty<0 && |
current | 1023 | kernel/chr_drv/tty_io.c | current->tty = dev; |
current | 1024 | kernel/chr_drv/tty_io.c | tty->session = current->session; |
current | 1025 | kernel/chr_drv/tty_io.c | tty->pgrp = current->pgrp; |
current | 64 | kernel/chr_drv/tty_ioctl.c | struct wait_queue wait = { current, NULL }; |
current | 70 | kernel/chr_drv/tty_ioctl.c | current->counter = 0; /* make us low-priority */ |
current | 72 | kernel/chr_drv/tty_ioctl.c | current->state = TASK_INTERRUPTIBLE; |
current | 73 | kernel/chr_drv/tty_ioctl.c | if (current->signal & ~current->blocked) |
current | 80 | kernel/chr_drv/tty_ioctl.c | current->state = TASK_RUNNING; |
current | 131 | kernel/chr_drv/tty_ioctl.c | if ((current->tty == channel) && |
current | 132 | kernel/chr_drv/tty_ioctl.c | (tty->pgrp != current->pgrp)) { |
current | 133 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 136 | kernel/chr_drv/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 181 | kernel/chr_drv/tty_ioctl.c | if ((current->tty == channel) && |
current | 183 | kernel/chr_drv/tty_ioctl.c | (tty->pgrp != current->pgrp)) { |
current | 184 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
current | 187 | kernel/chr_drv/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
current | 342 | kernel/chr_drv/tty_ioctl.c | if (current->leader && current->tty < 0 |
current | 344 | kernel/chr_drv/tty_ioctl.c | current->tty = dev; |
current | 345 | kernel/chr_drv/tty_ioctl.c | tty->session = current->session; |
current | 346 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = current->pgrp; |
current | 355 | kernel/chr_drv/tty_ioctl.c | if ((current->tty < 0) || |
current | 356 | kernel/chr_drv/tty_ioctl.c | (current->tty != termios_dev) || |
current | 357 | kernel/chr_drv/tty_ioctl.c | (termios_tty->session != current->session)) |
current | 362 | kernel/chr_drv/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
current | 427 | kernel/chr_drv/tty_ioctl.c | if (MINOR(file->f_rdev) != current->tty) |
current | 429 | kernel/chr_drv/tty_ioctl.c | current->tty = -1; |
current | 430 | kernel/chr_drv/tty_ioctl.c | if (current->leader) { |
current | 267 | kernel/chr_drv/vt.c | vt_cons[console].vt_pid = current->pid; |
current | 27 | kernel/exit.c | if (!priv && ((sig != SIGCONT) || (current->session != p->session)) && |
current | 28 | kernel/exit.c | (current->euid != p->euid) && (current->uid != p->uid) && !suser()) |
current | 65 | kernel/exit.c | if (p == current) { |
current | 258 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
current | 261 | kernel/exit.c | if (*p && (*p)->pid > 1 && *p != current) { |
current | 330 | kernel/exit.c | free_page_tables(current); |
current | 332 | kernel/exit.c | if (current->filp[i]) |
current | 334 | kernel/exit.c | forget_original_parent(current); |
current | 335 | kernel/exit.c | iput(current->pwd); |
current | 336 | kernel/exit.c | current->pwd = NULL; |
current | 337 | kernel/exit.c | iput(current->root); |
current | 338 | kernel/exit.c | current->root = NULL; |
current | 339 | kernel/exit.c | iput(current->executable); |
current | 340 | kernel/exit.c | current->executable = NULL; |
current | 341 | kernel/exit.c | for (i=0; i < current->numlibraries; i++) { |
current | 342 | kernel/exit.c | iput(current->libraries[i].library); |
current | 343 | kernel/exit.c | current->libraries[i].library = NULL; |
current | 345 | kernel/exit.c | current->state = TASK_ZOMBIE; |
current | 346 | kernel/exit.c | current->exit_code = code; |
current | 347 | kernel/exit.c | current->rss = 0; |
current | 357 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
current | 358 | kernel/exit.c | (current->p_pptr->session == current->session) && |
current | 359 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
current | 360 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
current | 361 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
current | 362 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
current | 365 | kernel/exit.c | send_sig (SIGCHLD, current->p_pptr, 1); |
current | 375 | kernel/exit.c | while ((p = current->p_cptr) != NULL) { |
current | 376 | kernel/exit.c | current->p_cptr = p->p_osptr; |
current | 394 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
current | 395 | kernel/exit.c | (p->session == current->session) && |
current | 402 | kernel/exit.c | if (current->leader) { |
current | 406 | kernel/exit.c | if (current->tty >= 0) { |
current | 407 | kernel/exit.c | tty = TTY_TABLE(current->tty); |
current | 416 | kernel/exit.c | if (*p && (*p)->session == current->session) |
current | 419 | kernel/exit.c | if (last_task_used_math == current) |
current | 455 | kernel/exit.c | current->signal &= ~(1<<(SIGCHLD-1)); |
current | 457 | kernel/exit.c | for (p = current->p_cptr ; p ; p = p->p_osptr) { |
current | 462 | kernel/exit.c | if (p->pgrp != current->pgrp) |
current | 482 | kernel/exit.c | current->cutime += p->utime + p->cutime; |
current | 483 | kernel/exit.c | current->cstime += p->stime + p->cstime; |
current | 484 | kernel/exit.c | current->cmin_flt += p->min_flt + p->cmin_flt; |
current | 485 | kernel/exit.c | current->cmaj_flt += p->maj_flt + p->cmaj_flt; |
current | 510 | kernel/exit.c | current->state=TASK_INTERRUPTIBLE; |
current | 511 | kernel/exit.c | oldblocked = current->blocked; |
current | 512 | kernel/exit.c | current->blocked &= ~(1<<(SIGCHLD-1)); |
current | 514 | kernel/exit.c | current->blocked = oldblocked; |
current | 515 | kernel/exit.c | if (current->signal & ~(current->blocked | (1<<(SIGCHLD-1)))) |
current | 52 | kernel/fork.c | if (task[i]->uid == current->uid) |
current | 95 | kernel/fork.c | *p = *current; |
current | 102 | kernel/fork.c | p->p_pptr = p->p_opptr = current; |
current | 137 | kernel/fork.c | if (last_task_used_math == current) |
current | 151 | kernel/fork.c | if (current->pwd) |
current | 152 | kernel/fork.c | current->pwd->i_count++; |
current | 153 | kernel/fork.c | if (current->root) |
current | 154 | kernel/fork.c | current->root->i_count++; |
current | 155 | kernel/fork.c | if (current->executable) |
current | 156 | kernel/fork.c | current->executable->i_count++; |
current | 157 | kernel/fork.c | for (i=0; i < current->numlibraries ; i++) |
current | 158 | kernel/fork.c | if (current->libraries[i].library) |
current | 159 | kernel/fork.c | current->libraries[i].library->i_count++; |
current | 30 | kernel/ioport.c | int numl = sizeof(current->tss.io_bitmap) >> 2; |
current | 35 | kernel/ioport.c | printk("%s ", ios(current->tss.io_bitmap[j++])); |
current | 37 | kernel/ioport.c | printk("%s", ios(current->tss.io_bitmap[j++])); |
current | 59 | kernel/ioport.c | if (froml * 32 + tnum > sizeof(current->tss.io_bitmap) * 8 - 8) |
current | 67 | kernel/ioport.c | iop = (unsigned long *)current->tss.io_bitmap + froml; |
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 | 82 | kernel/itimer.c | current->it_real_value = j; |
current | 83 | kernel/itimer.c | current->it_real_incr = i; |
current | 86 | kernel/itimer.c | current->it_virt_value = j; |
current | 87 | kernel/itimer.c | current->it_virt_incr = i; |
current | 90 | kernel/itimer.c | current->it_prof_value = j; |
current | 91 | kernel/itimer.c | current->it_prof_incr = i; |
current | 19 | kernel/panic.c | if (current == task[0]) |
current | 59 | kernel/printk.c | if (current->signal & ~current->blocked) |
current | 226 | kernel/ptrace.c | if (current->flags & PF_PTRACED) |
current | 229 | kernel/ptrace.c | current->flags |= PF_PTRACED; |
current | 239 | kernel/ptrace.c | if (child == current) |
current | 241 | kernel/ptrace.c | if ((!child->dumpable || (current->uid != child->euid) || |
current | 242 | kernel/ptrace.c | (current->gid != child->egid)) && !suser()) |
current | 248 | kernel/ptrace.c | if (child->p_pptr != current) { |
current | 250 | kernel/ptrace.c | child->p_pptr = current; |
current | 263 | kernel/ptrace.c | if (child->p_pptr != current) |
current | 58 | kernel/sched.c | struct task_struct *current = &init_task; |
current | 75 | kernel/sched.c | if (last_task_used_math == current) |
current | 81 | kernel/sched.c | last_task_used_math = current; |
current | 82 | kernel/sched.c | if (current->used_math) { |
current | 83 | kernel/sched.c | __asm__("frstor %0"::"m" (current->tss.i387)); |
current | 86 | kernel/sched.c | current->used_math=1; |
current | 145 | kernel/sched.c | struct sigaction * sa = current->sigaction; |
current | 147 | kernel/sched.c | old_blocked = current->blocked; |
current | 150 | kernel/sched.c | current->blocked |= mask; |
current | 151 | kernel/sched.c | current->state = TASK_INTERRUPTIBLE; |
current | 153 | kernel/sched.c | current->blocked = old_blocked; |
current | 177 | kernel/sched.c | if (p->counter > current->counter) |
current | 203 | kernel/sched.c | if (p->counter > current->counter) |
current | 221 | kernel/sched.c | struct wait_queue wait = { current, NULL }; |
current | 225 | kernel/sched.c | if (current == task[0]) |
current | 227 | kernel/sched.c | current->state = state; |
current | 403 | kernel/sched.c | current->utime++; |
current | 405 | kernel/sched.c | if (current->it_virt_value && !(--current->it_virt_value)) { |
current | 406 | kernel/sched.c | current->it_virt_value = current->it_virt_incr; |
current | 407 | kernel/sched.c | send_sig(SIGVTALRM,current,1); |
current | 410 | kernel/sched.c | current->stime++; |
current | 412 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
current | 420 | kernel/sched.c | if (current == task[0] || (--current->counter)<=0) { |
current | 421 | kernel/sched.c | current->counter=0; |
current | 433 | kernel/sched.c | if (current->it_prof_value && !(--current->it_prof_value)) { |
current | 434 | kernel/sched.c | current->it_prof_value = current->it_prof_incr; |
current | 435 | kernel/sched.c | send_sig(SIGPROF,current,1); |
current | 477 | kernel/sched.c | return current->pid; |
current | 482 | kernel/sched.c | return current->p_pptr->pid; |
current | 487 | kernel/sched.c | return current->uid; |
current | 492 | kernel/sched.c | return current->euid; |
current | 497 | kernel/sched.c | return current->gid; |
current | 502 | kernel/sched.c | return current->egid; |
current | 509 | kernel/sched.c | if (increment >= current->priority) |
current | 510 | kernel/sched.c | increment = current->priority-1; |
current | 511 | kernel/sched.c | current->priority -= increment; |
current | 520 | kernel/sched.c | printk("%d: pid=%d, state=%d, father=%d, child=%d, ",(p == current)?-nr:nr,p->pid, |
current | 20 | kernel/signal.c | return current->blocked; |
current | 25 | kernel/signal.c | int old=current->blocked; |
current | 27 | kernel/signal.c | current->blocked = newmask & ~(1<<(SIGKILL-1)) & ~(1<<(SIGSTOP-1)); |
current | 35 | kernel/signal.c | put_fs_long(current->blocked & current->signal, (unsigned long *)set); |
current | 58 | kernel/signal.c | current->blocked = old_mask; |
current | 63 | kernel/signal.c | *(&old_mask) = current->blocked; |
current | 64 | kernel/signal.c | current->blocked = set; |
current | 79 | kernel/signal.c | handler = (long) current->sigaction[signum-1].sa_handler; |
current | 80 | kernel/signal.c | current->sigaction[signum-1] = tmp; |
current | 91 | kernel/signal.c | p = signum - 1 + current->sigaction; |
current | 119 | kernel/signal.c | struct sigaction * sa = current->sigaction + signr - 1; |
current | 142 | kernel/signal.c | if (current->pid == 1) |
current | 154 | kernel/signal.c | current->state = TASK_STOPPED; |
current | 155 | kernel/signal.c | current->exit_code = signr; |
current | 156 | kernel/signal.c | if (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & |
current | 158 | kernel/signal.c | send_sig(SIGCHLD, current->p_pptr, 1); |
current | 171 | kernel/signal.c | current->signal |= 1<<((signr & 0x7f)-1); |
current | 188 | kernel/signal.c | put_fs_long(current->blocked,tmp_esp++); |
current | 194 | kernel/signal.c | current->blocked |= sa->sa_mask; |
current | 41 | kernel/sys.c | if (!who && p == current) |
current | 46 | kernel/sys.c | who = current->pgrp; |
current | 50 | kernel/sys.c | who = current->uid; |
current | 71 | kernel/sys.c | if ((*p)->uid != current->euid && |
current | 72 | kernel/sys.c | (*p)->uid != current->uid && !suser()) { |
current | 137 | kernel/sys.c | if (!current->vm86_info) { |
current | 141 | kernel/sys.c | memcpy_tofs(&(current->vm86_info->regs),regs,sizeof(*regs)); |
current | 142 | kernel/sys.c | put_fs_long(current->screen_bitmap,&(current->vm86_info->screen_bitmap)); |
current | 143 | kernel/sys.c | stack = current->tss.esp0; |
current | 144 | kernel/sys.c | current->tss.esp0 = current->saved_kernel_stack; |
current | 145 | kernel/sys.c | current->saved_kernel_stack = 0; |
current | 174 | kernel/sys.c | if (current->saved_kernel_stack) |
current | 192 | kernel/sys.c | current->saved_kernel_stack = current->tss.esp0; |
current | 193 | kernel/sys.c | current->tss.esp0 = (unsigned long) pt_regs; |
current | 194 | kernel/sys.c | current->vm86_info = v86; |
current | 195 | kernel/sys.c | current->screen_bitmap = info.screen_bitmap; |
current | 197 | kernel/sys.c | mark_screen_rdonly(current); |
current | 258 | kernel/sys.c | int old_rgid = current->gid; |
current | 261 | kernel/sys.c | if ((current->egid==rgid) || |
current | 264 | kernel/sys.c | current->gid = rgid; |
current | 270 | kernel/sys.c | (current->egid == egid) || |
current | 272 | kernel/sys.c | current->egid = egid; |
current | 273 | kernel/sys.c | current->sgid = egid; |
current | 275 | kernel/sys.c | current->gid = old_rgid; |
current | 288 | kernel/sys.c | current->gid = current->egid = current->sgid = gid; |
current | 289 | kernel/sys.c | else if ((gid == current->gid) || (gid == current->sgid)) |
current | 290 | kernel/sys.c | current->egid = gid; |
current | 348 | kernel/sys.c | int old_ruid = current->uid; |
current | 351 | kernel/sys.c | if ((current->euid==ruid) || |
current | 354 | kernel/sys.c | current->uid = ruid; |
current | 360 | kernel/sys.c | (current->euid == euid) || |
current | 362 | kernel/sys.c | current->euid = euid; |
current | 363 | kernel/sys.c | current->suid = euid; |
current | 365 | kernel/sys.c | current->uid = old_ruid; |
current | 386 | kernel/sys.c | current->uid = current->euid = current->suid = uid; |
current | 387 | kernel/sys.c | else if ((uid == current->uid) || (uid == current->suid)) |
current | 388 | kernel/sys.c | current->euid = uid; |
current | 407 | kernel/sys.c | put_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime); |
current | 408 | kernel/sys.c | put_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime); |
current | 409 | kernel/sys.c | put_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime); |
current | 410 | kernel/sys.c | put_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime); |
current | 417 | kernel/sys.c | if (end_data_seg >= current->end_code && |
current | 418 | kernel/sys.c | end_data_seg < current->start_stack - 16384) |
current | 419 | kernel/sys.c | current->brk = end_data_seg; |
current | 420 | kernel/sys.c | return current->brk; |
current | 437 | kernel/sys.c | pid = current->pid; |
current | 439 | kernel/sys.c | pgid = current->pid; |
current | 444 | kernel/sys.c | ((task[i]->p_pptr == current) || |
current | 445 | kernel/sys.c | (task[i] == current))) { |
current | 448 | kernel/sys.c | if ((task[i]->session != current->session) || |
current | 450 | kernel/sys.c | (session_of_pgrp(pgid) != current->session))) |
current | 460 | kernel/sys.c | return current->pgrp; |
current | 465 | kernel/sys.c | if (current->leader && !suser()) |
current | 467 | kernel/sys.c | current->leader = 1; |
current | 468 | kernel/sys.c | current->session = current->pgrp = current->pid; |
current | 469 | kernel/sys.c | current->tty = -1; |
current | 470 | kernel/sys.c | return current->pgrp; |
current | 483 | kernel/sys.c | for (i = 0; (i < NGROUPS) && (current->groups[i] != NOGROUP); |
current | 488 | kernel/sys.c | put_fs_word(current->groups[i], (short *) grouplist); |
current | 503 | kernel/sys.c | current->groups[i] = get_fs_word((unsigned short *) grouplist); |
current | 506 | kernel/sys.c | current->groups[i] = NOGROUP; |
current | 514 | kernel/sys.c | if (grp == current->egid) |
current | 518 | kernel/sys.c | if (current->groups[i] == NOGROUP) |
current | 520 | kernel/sys.c | if (current->groups[i] == grp) |
current | 577 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_cur, |
current | 579 | kernel/sys.c | put_fs_long(current->rlim[resource].rlim_max, |
current | 590 | kernel/sys.c | old = current->rlim + resource; |
current | 653 | kernel/sys.c | getrusage(current, who, ru); |
current | 734 | kernel/sys.c | int old = current->umask; |
current | 736 | kernel/sys.c | current->umask = mask & 0777; |
current | 71 | kernel/traps.c | printk("base: %p, limit: %p\n",get_base(current->ldt[1]),get_limit(0x17)); |
current | 73 | kernel/traps.c | printk("Pid: %d, process nr: %d\n\r",current->pid,0xffff & i); |
current | 82 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
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(SIGFPE, current, 1); |
current | 106 | kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 117 | kernel/traps.c | send_sig(SIGTRAP, current, 1); |
current | 123 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 129 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 135 | kernel/traps.c | send_sig(SIGILL, current, 1); |
current | 141 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 153 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 159 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 165 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 177 | kernel/traps.c | send_sig(SIGSEGV, current, 1); |
current | 152 | mm/memory.c | if (tsk == current) |
current | 172 | mm/memory.c | old_pg_dir = current->tss.cr3; |
current | 242 | mm/memory.c | dir = (unsigned long *) (current->tss.cr3 + ((from >> 20) & 0xffc)); |
current | 264 | mm/memory.c | --current->rss; |
current | 304 | mm/memory.c | dir = (unsigned long *) (current->tss.cr3 + ((from >> 20) & 0xffc)); |
current | 342 | mm/memory.c | --current->rss; |
current | 359 | mm/memory.c | ++current->rss; |
current | 468 | mm/memory.c | if (tsk == current && tsk->executable && CODE_SPACE(address, current)) { |
current | 539 | mm/memory.c | do_wp_page(1,address,current,0); |
current | 667 | mm/memory.c | oom(current); |
current | 720 | mm/memory.c | if (tsk != current) |
current | 736 | mm/memory.c | oom(current); |
current | 760 | mm/memory.c | oom(current); |
current | 782 | mm/memory.c | current->screen_bitmap |= 1 << bit; |
current | 787 | mm/memory.c | do_wp_page(error_code, address, current, user_esp); |
current | 789 | mm/memory.c | do_no_page(error_code, address, current, user_esp); |
current | 41 | mm/mmap.c | current->start_code + current->end_code) |
current | 101 | mm/mmap.c | if (fd >= NR_OPEN || fd < 0 || !(file = current->filp[fd])) |
current | 133 | mm/mmap.c | base = get_base(current->ldt[1]); /* cs */ |
current | 136 | mm/mmap.c | base = get_base(current->ldt[2]); /* ds */ |
current | 185 | mm/mmap.c | base = get_base(current->ldt[2]); /* map into ds */ |
current | 200 | mm/swap.c | oom(current); |
current | 95 | net/socket.c | if (!current->filp[fd]) |
current | 101 | net/socket.c | FD_CLR(fd, ¤t->close_on_exec); |
current | 102 | net/socket.c | current->filp[fd] = file; |
current | 142 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || !(file = current->filp[fd])) |
current | 190 | net/socket.c | if (current->signal & ~current->blocked) { |
current | 677 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 698 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 720 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 741 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 764 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 783 | net/socket.c | if (fd < 0 || fd >= NR_OPEN || ((file = current->filp[fd]) == NULL)) |
current | 804 | net/socket.c | file = current->filp[fd]; |
current | 254 | net/tcp/packet.c | if (current->signal & ~current->blocked) |
current | 275 | net/tcp/raw.c | if (current->signal & ~current->blocked) |
current | 392 | net/tcp/raw.c | if (current->signal & ~current->blocked) |
current | 1116 | net/tcp/sock.c | if (current->signal & ~current->blocked) |
current | 1263 | net/tcp/sock.c | if (current->signal & ~current->blocked) |
current | 1336 | net/tcp/sock.c | if (current->signal & ~current->blocked) |
current | 1455 | net/tcp/sock.c | send_sig (SIGPIPE, current, 1); |
current | 1485 | net/tcp/sock.c | send_sig (SIGPIPE, current, 1); |
current | 1515 | net/tcp/sock.c | send_sig (SIGPIPE, current, 1); |
current | 672 | net/tcp/tcp.c | send_sig (SIGPIPE, current, 0); |
current | 697 | net/tcp/tcp.c | if (current->signal & ~current->blocked) |
current | 796 | net/tcp/tcp.c | if (current->signal & ~current->blocked) |
current | 1096 | net/tcp/tcp.c | if (current->signal & ~current->blocked) |
current | 1238 | net/tcp/tcp.c | if (current->signal & ~current->blocked) |
current | 2590 | net/tcp/tcp.c | if (current->signal & ~current->blocked) |
current | 386 | net/tcp/udp.c | if (current->signal & ~current->blocked) |
current | 553 | net/tcp/udp.c | if (current->signal & ~current->blocked) |
current | 478 | net/unix.c | if (current->signal & ~current->blocked) { |
current | 559 | net/unix.c | if (current->signal & ~current->blocked) { |
current | 578 | net/unix.c | send_sig(SIGKILL,current,1); |
current | 616 | net/unix.c | send_sig(SIGPIPE,current,1); |
current | 628 | net/unix.c | if (current->signal & ~current->blocked) { |
current | 634 | net/unix.c | send_sig(SIGPIPE,current,1); |
current | 648 | net/unix.c | send_sig(SIGKILL,current,1); |
current | 657 | net/unix.c | send_sig(SIGPIPE,current,1); |