taglinefilesource code
current60fs/buffer.cstruct wait_queue wait = { current, NULL };
current64fs/buffer.ccurrent->state = TASK_UNINTERRUPTIBLE;
current70fs/buffer.ccurrent->state = TASK_RUNNING;
current76fs/exec.cif (!current->dumpable)
current78fs/exec.ccurrent->dumpable = 0;
current80fs/exec.cif (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE)
current109fs/exec.cdump.u_tsize = ((unsigned long) current->end_code) >> 12;
current110fs/exec.cdump.u_dsize = ((unsigned long) (current->brk + (PAGE_SIZE-1))) >> 12;
current118fs/exec.ccurrent->rlim[RLIMIT_CORE].rlim_cur)
current122fs/exec.ccurrent->rlim[RLIMIT_CORE].rlim_cur)
current131fs/exec.cif ((dump.u_fpvalid = current->used_math) != 0) {
current132fs/exec.cif (last_task_used_math == current)
current135fs/exec.cmemcpy(&dump.i387,&current->tss.i387.hard,sizeof(dump.i387));
current146fs/exec.cDUMP_WRITE(current->comm,16);
current165fs/exec.cDUMP_WRITE(current,sizeof(*current));
current183fs/exec.c#define libnum  (current->numlibraries)
current220fs/exec.ccurrent->libraries[libnum].library = inode;
current221fs/exec.ccurrent->libraries[libnum].start = ex.a_entry;
current222fs/exec.ccurrent->libraries[libnum].length = (ex.a_data+ex.a_text+0xfff) & 0xfffff000;
current223fs/exec.ccurrent->libraries[libnum].bss = (ex.a_bss+0xfff) & 0xfffff000;
current227fs/exec.ccurrent->libraries[libnum].start,
current228fs/exec.ccurrent->libraries[libnum].length);
current253fs/exec.ccurrent->arg_start = (unsigned long) p;
current259fs/exec.ccurrent->arg_end = current->env_start = (unsigned long) p;
current265fs/exec.ccurrent->env_end = (unsigned long) p;
current359fs/exec.ccurrent->start_code = code_base;
current360fs/exec.cset_base(current->ldt[1],code_base);
current361fs/exec.cset_limit(current->ldt[1],code_limit);
current362fs/exec.cset_base(current->ldt[2],data_base);
current363fs/exec.cset_limit(current->ldt[2],data_limit);
current370fs/exec.cput_dirty_page(current,page[i],data_base);
current458fs/exec.cif (IS_NOSUID(inode) && (((i & S_ISUID) && inode->i_uid != current->
current459fs/exec.ceuid) || ((i & S_ISGID) && inode->i_gid != current->egid)) &&
current465fs/exec.cif (current->flags & PF_PTRACED) {
current466fs/exec.ce_uid = current->euid;
current467fs/exec.ce_gid = current->egid;
current469fs/exec.ce_uid = (i & S_ISUID) ? inode->i_uid : current->euid;
current470fs/exec.ce_gid = (i & S_ISGID) ? inode->i_gid : current->egid;
current472fs/exec.cif (current->euid == inode->i_uid)
current584fs/exec.ccurrent->dumpable = 1;
current590fs/exec.ccurrent->comm[i++] = ch;
current591fs/exec.ccurrent->comm[i] = '\0';
current592fs/exec.cif (current->executable) {
current593fs/exec.ciput(current->executable);
current594fs/exec.ccurrent->executable = NULL;
current596fs/exec.ci = current->numlibraries;
current598fs/exec.ciput(current->libraries[i].library);
current599fs/exec.ccurrent->libraries[i].library = NULL;
current601fs/exec.cif (e_uid != current->euid || e_gid != current->egid ||
current603fs/exec.ccurrent->dumpable = 0;
current604fs/exec.ccurrent->numlibraries = 0;
current605fs/exec.ccurrent->signal = 0;
current607fs/exec.ccurrent->sigaction[i].sa_mask = 0;
current608fs/exec.ccurrent->sigaction[i].sa_flags = 0;
current609fs/exec.cif (current->sigaction[i].sa_handler != SIG_IGN)
current610fs/exec.ccurrent->sigaction[i].sa_handler = NULL;
current613fs/exec.cif (FD_ISSET(i,&current->close_on_exec))
current615fs/exec.cFD_ZERO(&current->close_on_exec);
current616fs/exec.cclear_page_tables(current);
current617fs/exec.cif (last_task_used_math == current)
current619fs/exec.ccurrent->used_math = 0;
current623fs/exec.ccurrent->brk = ex.a_bss +
current624fs/exec.c(current->end_data = ex.a_data +
current625fs/exec.c(current->end_code = ex.a_text));
current626fs/exec.ccurrent->start_stack = p;
current627fs/exec.ccurrent->rss = (TASK_SIZE - p + PAGE_SIZE-1) / PAGE_SIZE;
current628fs/exec.ccurrent->suid = current->euid = e_uid;
current629fs/exec.ccurrent->sgid = current->egid = e_gid;
current637fs/exec.ccurrent->executable = inode;
current640fs/exec.cif (current->flags & PF_PTRACED)
current641fs/exec.csend_sig(SIGTRAP, current, 0);
current280fs/ext/freelists.cinode->i_uid = current->euid;
current281fs/ext/freelists.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid;
current359fs/ext/namei.cinode->i_uid = current->euid;
current448fs/ext/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
current544fs/ext/namei.cif ((dir->i_mode & S_ISVTX) && current->euid &&
current545fs/ext/namei.cinode->i_uid != current->euid)
current598fs/ext/namei.ccurrent->euid != inode->i_uid &&
current599fs/ext/namei.ccurrent->euid != dir->i_uid)
current778fs/ext/namei.ccurrent->counter = 0;
current792fs/ext/namei.ccurrent->euid != old_inode->i_uid &&
current793fs/ext/namei.ccurrent->euid != old_dir->i_uid && !suser())
current813fs/ext/namei.ccurrent->euid != new_inode->i_uid &&
current814fs/ext/namei.ccurrent->euid != new_dir->i_uid && !suser())
current56fs/ext/symlink.cdir = current->root;
current68fs/ext/symlink.cif (current->link_count > 5) {
current81fs/ext/symlink.ccurrent->link_count++;
current83fs/ext/symlink.ccurrent->link_count--;
current238fs/ext/truncate.ccurrent->counter = 0;
current22fs/fcntl.cif (fd >= NR_OPEN || !current->filp[fd])
current27fs/fcntl.cif (current->filp[arg])
current33fs/fcntl.cFD_CLR(arg, &current->close_on_exec);
current34fs/fcntl.c(current->filp[arg] = current->filp[fd])->f_count++;
current40fs/fcntl.cif (oldfd >= NR_OPEN || !current->filp[oldfd])
current58fs/fcntl.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current64fs/fcntl.creturn FD_ISSET(fd, &current->close_on_exec);
current67fs/fcntl.cFD_SET(fd, &current->close_on_exec);
current69fs/fcntl.cFD_CLR(fd, &current->close_on_exec);
current35fs/fifo.cif (current->signal & ~current->blocked) {
current58fs/fifo.cif (current->signal & ~current->blocked) {
current343fs/inode.cstruct wait_queue wait = { current, NULL };
current347fs/inode.ccurrent->state = TASK_UNINTERRUPTIBLE;
current353fs/inode.ccurrent->state = TASK_RUNNING;
current54fs/ioctl.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current58fs/ioctl.cFD_SET(fd, &current->close_on_exec);
current62fs/ioctl.cFD_CLR(fd, &current->close_on_exec);
current52fs/isofs/symlink.cdir = current->root;
current66fs/isofs/symlink.cif ((current->link_count > 5) ||
current75fs/isofs/symlink.ccurrent->link_count++;
current77fs/isofs/symlink.ccurrent->link_count--;
current57fs/locks.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current98fs/locks.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current199fs/locks.cfl->fl_owner = current;
current433fs/locks.cnew->fl_owner = current;  /* FIXME: needed? */
current227fs/minix/bitmap.cinode->i_uid = current->euid;
current228fs/minix/bitmap.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->egid;
current251fs/minix/namei.cinode->i_uid = current->euid;
current336fs/minix/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->umask);
current415fs/minix/namei.cif ((dir->i_mode & S_ISVTX) && current->euid &&
current416fs/minix/namei.cinode->i_uid != current->euid)
current469fs/minix/namei.ccurrent->counter = 0;
current475fs/minix/namei.ccurrent->euid != inode->i_uid &&
current476fs/minix/namei.ccurrent->euid != dir->i_uid)
current653fs/minix/namei.ccurrent->counter = 0;
current667fs/minix/namei.ccurrent->euid != old_inode->i_uid &&
current668fs/minix/namei.ccurrent->euid != old_dir->i_uid && !suser())
current688fs/minix/namei.ccurrent->euid != new_inode->i_uid &&
current689fs/minix/namei.ccurrent->euid != new_dir->i_uid && !suser())
current50fs/minix/symlink.cdir = current->root;
current62fs/minix/symlink.cif (current->link_count > 5) {
current75fs/minix/symlink.ccurrent->link_count++;
current77fs/minix/symlink.ccurrent->link_count--;
current180fs/minix/truncate.ccurrent->counter = 0;
current68fs/msdos/inode.c*uid = current->uid;
current69fs/msdos/inode.c*gid = current->gid;
current70fs/msdos/inode.c*umask = current->umask;
current84fs/msdos/misc.cint count,this,limit,last,current,sector;
current121fs/msdos/misc.cif ((current = MSDOS_I(inode)->i_start) != 0) {
current122fs/msdos/misc.ccache_lookup(inode,0x7fffffff,&last,&current);
current123fs/msdos/misc.cwhile (current && current != -1)
current124fs/msdos/misc.cif (!(current = fat_access(inode->i_sb,
current125fs/msdos/misc.clast = current,-1)))
current139fs/msdos/misc.cfor (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size;
current140fs/msdos/misc.ccurrent++) {
current142fs/msdos/misc.cMSDOS_SB(inode->i_sb)->cluster_size+current;
current146fs/msdos/misc.cif (current < MSDOS_SB(inode->i_sb)->cluster_size-1 &&
current154fs/msdos/misc.ccurrent++;
current392fs/msdos/misc.cint error,current,prev,this;
current397fs/msdos/misc.cif ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT,0,
current400fs/msdos/misc.creturn current;
current402fs/msdos/misc.cif (!current) this = MSDOS_ROOT_INO;
current404fs/msdos/misc.cif ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,0,NULL)) <
current409fs/msdos/misc.cif ((error = raw_scan(dir->i_sb,prev,NULL,current,&this)) < 0) {
current44fs/namei.celse if (current->euid == inode->i_uid)
current65fs/namei.cif (dir == current->root)
current125fs/namei.cbase = current->pwd;
current130fs/namei.cbase = current->root;
current225fs/namei.cmode &= 07777 & ~current->umask;
current71fs/nfs/inode.cif (fd >= NR_OPEN || !(filp = current->filp[fd])) {
current584fs/nfs/proc.c*p++ = htonl(current->euid);
current585fs/nfs/proc.c*p++ = htonl(current->egid);
current587fs/nfs/proc.cfor (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++)
current588fs/nfs/proc.c*p++ = htonl(current->groups[i]);
current77fs/nfs/sock.ccurrent->state = TASK_INTERRUPTIBLE;
current82fs/nfs/sock.ccurrent->timeout = jiffies + timeout;
current85fs/nfs/sock.ccurrent->state = TASK_RUNNING;
current86fs/nfs/sock.cif (current->signal & ~current->blocked) {
current92fs/nfs/sock.ccurrent->timeout = 0;
current96fs/nfs/sock.cif (!current->timeout) {
current116fs/nfs/sock.ccurrent->timeout = 0;
current120fs/nfs/sock.ccurrent->state = TASK_RUNNING;
current51fs/nfs/symlink.cdir = current->root;
current63fs/nfs/symlink.cif (current->link_count > 5) {
current79fs/nfs/symlink.ccurrent->link_count++;
current81fs/nfs/symlink.ccurrent->link_count--;
current61fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current102fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current134fs/open.cif ((current->euid != inode->i_uid) && !suser()) {
current141fs/open.cif ((current->euid != inode->i_uid) &&
current172fs/open.cif (current->uid == inode->i_uid)
current184fs/open.cif ((!current->uid) &&
current206fs/open.ciput(current->pwd);
current207fs/open.ccurrent->pwd = inode;
current227fs/open.ciput(current->root);
current228fs/open.ccurrent->root = inode;
current237fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current241fs/open.cif ((current->euid != inode->i_uid) && !suser())
current261fs/open.cif ((current->euid != inode->i_uid) && !suser()) {
current284fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current294fs/open.cif ((current->euid == inode->i_uid && user == inode->i_uid &&
current322fs/open.cif ((current->euid == inode->i_uid && user == inode->i_uid &&
current358fs/open.cif (!current->filp[fd])
current362fs/open.cFD_CLR(fd,&current->close_on_exec);
current366fs/open.ccurrent->filp[fd] = f;
current375fs/open.ccurrent->filp[fd]=NULL;
current385fs/open.ccurrent->filp[fd] = NULL;
current405fs/open.ccurrent->filp[fd]=NULL;
current428fs/open.cfcntl_remove_locks(current, filp);
current447fs/open.cFD_CLR(fd, &current->close_on_exec);
current448fs/open.cif (!(filp = current->filp[fd]))
current450fs/open.ccurrent->filp[fd] = NULL;
current498fs/open.cif (current->tty < 0)
current501fs/open.ctty = TTY_TABLE(current->tty);
current518fs/open.cMINOR(filep->f_rdev) == MINOR (current->tty))) {
current540fs/open.cif (*process && (*process)->tty == current->tty && *process != current) {
current545fs/open.ctty = TTY_TABLE(MINOR(current->tty));
current549fs/open.ccurrent->tty = -1;
current25fs/pipe.cif (current->signal & ~current->blocked)
current51fs/pipe.csend_sig(SIGPIPE,current,0);
current62fs/pipe.csend_sig(SIGPIPE,current,0);
current65fs/pipe.cif (current->signal & ~current->blocked)
current222fs/pipe.cif (!current->filp[i]) {
current223fs/pipe.ccurrent->filp[ fd[j]=i ] = f[j];
current227fs/pipe.ccurrent->filp[fd[0]]=NULL;
current234fs/pipe.ccurrent->filp[fd[0]] = NULL;
current235fs/pipe.ccurrent->filp[fd[1]] = NULL;
current147fs/proc/array.cif (!p || p == current)
current45fs/proc/mem.cif (current->signal & ~current->blocked)
current94fs/proc/mem.cif (current->signal & ~current->blocked)
current106fs/proc/mem.cdo_wp_page(0,addr,current,0);
current122fs/proc/mem.cif (current->signal & ~current->blocked)
current87fs/proc/root.cino = (current->pid << 16) + 2;
current25fs/read_write.cif (fd >= NR_OPEN || !(file = current->filp[fd]) ||
current40fs/read_write.cif (fd >= NR_OPEN || !(file=current->filp[fd]) || !(file->f_inode))
current73fs/read_write.cif (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode))
current90fs/read_write.cif (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode))
current93fs/select.cif (!current->filp[i])
current95fs/select.cif (!current->filp[i]->f_inode)
current111fs/select.ccurrent->state = TASK_INTERRUPTIBLE;
current113fs/select.cif (FD_ISSET(i,in) && check(SEL_IN,wait,current->filp[i])) {
current118fs/select.cif (FD_ISSET(i,out) && check(SEL_OUT,wait,current->filp[i])) {
current123fs/select.cif (FD_ISSET(i,ex) && check(SEL_EX,wait,current->filp[i])) {
current130fs/select.cif (!count && current->timeout && !(current->signal & ~current->blocked)) {
current136fs/select.ccurrent->state = TASK_RUNNING;
current208fs/select.ccurrent->timeout = timeout;
current210fs/select.cif (current->timeout > jiffies)
current211fs/select.ctimeout = current->timeout - jiffies;
current214fs/select.ccurrent->timeout = 0;
current224fs/select.cif (!i && (current->signal & ~current->blocked))
current19fs/stat.ccurrent->comm);
current137fs/stat.cif (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode))
current148fs/stat.cif (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode))
current50fs/super.cstruct wait_queue wait = { current, NULL };
current54fs/super.ccurrent->state = TASK_UNINTERRUPTIBLE;
current60fs/super.ccurrent->state = TASK_RUNNING;
current425fs/super.ccurrent->pwd = inode;
current426fs/super.ccurrent->root = inode;
current27include/linux/kernel.h#define suser() (current->euid == 0)
current264include/linux/sched.hextern struct task_struct *current;
current431include/linux/sched.hentry->wait.task = current;
current273kernel/FPU-emu/errors.csend_sig(SIGFPE, current, 1);
current106kernel/FPU-emu/fpu_entry.cif (!current->used_math)
current109kernel/FPU-emu/fpu_entry.ccurrent->used_math = 1;
current128kernel/FPU-emu/fpu_entry.cif (current->flags & PF_PTRACED)
current290kernel/FPU-emu/fpu_entry.csend_sig(signal,current,1);
current302kernel/FPU-emu/fpu_entry.cprintk("killing %s.\n",current->comm);
current303kernel/FPU-emu/fpu_entry.csend_sig(SIGFPE,current,1);
current17kernel/FPU-emu/fpu_system.h#define I387      (current->tss.i387)
current235kernel/blk_drv/blk.hif (p->counter > current->counter)
current254kernel/blk_drv/ll_rw_blk.creq->waiting = current;
current257kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_SWAPPING;
current368kernel/blk_drv/ll_rw_blk.creq->waiting = current;
current371kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_UNINTERRUPTIBLE;
current455kernel/blk_drv/scsi/scsi.hif (p->counter > current->counter)
current466kernel/blk_drv/scsi/scsi.hstruct wait_queue wait = { current, NULL};      \
current469kernel/blk_drv/scsi/scsi.hcurrent->state = TASK_UNINTERRUPTIBLE;    \
current475kernel/blk_drv/scsi/scsi.hcurrent->state = TASK_RUNNING;      \
current78kernel/blk_drv/scsi/scsi_ioctl.cif (p->counter > current->counter)
current96kernel/blk_drv/scsi/scsi_ioctl.cSCpnt->request.waiting = current;
current97kernel/blk_drv/scsi/scsi_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
current179kernel/blk_drv/scsi/scsi_ioctl.cSCpnt->request.waiting = current;
current180kernel/blk_drv/scsi/scsi_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
current638kernel/blk_drv/scsi/sd.cif (p->counter > current->counter)
current669kernel/blk_drv/scsi/sd.cif (current == task[0])
current673kernel/blk_drv/scsi/sd.cSCpnt->request.waiting = current;
current674kernel/blk_drv/scsi/sd.ccurrent->state = TASK_UNINTERRUPTIBLE;
current31kernel/blk_drv/scsi/sr_ioctl.cif (p->counter > current->counter)
current52kernel/blk_drv/scsi/sr_ioctl.cSCpnt->request.waiting = current;
current53kernel/blk_drv/scsi/sr_ioctl.ccurrent->state = TASK_UNINTERRUPTIBLE;
current101kernel/chr_drv/lp.cif (current->signal & ~current->blocked) {
current109kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current110kernel/chr_drv/lp.ccurrent->timeout = jiffies + LP_TIME(minor);
current117kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current118kernel/chr_drv/lp.ccurrent->timeout = jiffies + LP_TIMEOUT;
current128kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current129kernel/chr_drv/lp.ccurrent->timeout = jiffies + LP_TIMEOUT;
current137kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current138kernel/chr_drv/lp.ccurrent->timeout = jiffies + LP_TIMEOUT;
current147kernel/chr_drv/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current148kernel/chr_drv/lp.ccurrent->timeout = jiffies + LP_TIMEOUT;
current224kernel/chr_drv/psaux.cstruct wait_queue wait = { current, NULL };
current233kernel/chr_drv/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current234kernel/chr_drv/psaux.cif (queue_empty() && !(current->signal & ~current->blocked)) {
current238kernel/chr_drv/psaux.ccurrent->state = TASK_RUNNING;
current251kernel/chr_drv/psaux.cif (current->signal & ~current->blocked)
current306kernel/chr_drv/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current307kernel/chr_drv/psaux.ccurrent->timeout = jiffies + 5;
current48kernel/chr_drv/pty.cif (current->signal & ~current->blocked)
current75kernel/chr_drv/pty.cwhile (!tty->link->count && !(current->signal & ~current->blocked))
current187kernel/chr_drv/serial.ccurrent->state = TASK_INTERRUPTIBLE;
current188kernel/chr_drv/serial.ccurrent->timeout = jiffies + 25;
current206kernel/chr_drv/tty_io.creturn (current->signal & ~current->blocked) ? -1 : 0;
current518kernel/chr_drv/tty_io.creturn ((current->blocked & (1<<(sig-1))) ||
current519kernel/chr_drv/tty_io.c(current->sigaction[sig-1].sa_handler == SIG_IGN));
current528kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current536kernel/chr_drv/tty_io.cstruct wait_queue wait = { current, NULL };
current542kernel/chr_drv/tty_io.cminimum = time = current->timeout = 0;
current547kernel/chr_drv/tty_io.ccurrent->timeout = 0xffffffff;
current550kernel/chr_drv/tty_io.ccurrent->timeout = time + jiffies;
current552kernel/chr_drv/tty_io.ccurrent->timeout = 0;
current558kernel/chr_drv/tty_io.ctime = current->timeout = 0;
current565kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current602kernel/chr_drv/tty_io.ccurrent->timeout = time+jiffies;
current614kernel/chr_drv/tty_io.cif (b-buf >= minimum || !current->timeout)
current616kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked) 
current627kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
current630kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
current636kernel/chr_drv/tty_io.ccurrent->timeout = 0;
current648kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current657kernel/chr_drv/tty_io.cstruct wait_queue wait = { current, NULL };
current661kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
current664kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current670kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
current691kernel/chr_drv/tty_io.cstruct wait_queue wait = { current, NULL };
current700kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current705kernel/chr_drv/tty_io.csend_sig(SIGPIPE,current,0);
current708kernel/chr_drv/tty_io.ccurrent->state = TASK_INTERRUPTIBLE;
current713kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
current716kernel/chr_drv/tty_io.ccurrent->state = TASK_RUNNING;
current745kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current765kernel/chr_drv/tty_io.c(current->tty == dev) &&
current766kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
current767kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
current770kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
current798kernel/chr_drv/tty_io.c(current->tty == dev) && (tty->pgrp != current->pgrp)) {
current799kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(current->pgrp))
current802kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
current993kernel/chr_drv/tty_io.cdev = current->tty;
current1020kernel/chr_drv/tty_io.ccurrent->leader &&
current1021kernel/chr_drv/tty_io.ccurrent->tty<0 &&
current1023kernel/chr_drv/tty_io.ccurrent->tty = dev;
current1024kernel/chr_drv/tty_io.ctty->session = current->session;
current1025kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
current64kernel/chr_drv/tty_ioctl.cstruct wait_queue wait = { current, NULL };
current70kernel/chr_drv/tty_ioctl.ccurrent->counter = 0;  /* make us low-priority */
current72kernel/chr_drv/tty_ioctl.ccurrent->state = TASK_INTERRUPTIBLE;
current73kernel/chr_drv/tty_ioctl.cif (current->signal & ~current->blocked)
current80kernel/chr_drv/tty_ioctl.ccurrent->state = TASK_RUNNING;
current131kernel/chr_drv/tty_ioctl.cif ((current->tty == channel) &&
current132kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
current133kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
current136kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
current181kernel/chr_drv/tty_ioctl.cif ((current->tty == channel) &&
current183kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
current184kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
current187kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
current342kernel/chr_drv/tty_ioctl.cif (current->leader && current->tty < 0
current344kernel/chr_drv/tty_ioctl.ccurrent->tty = dev;
current345kernel/chr_drv/tty_ioctl.ctty->session = current->session;
current346kernel/chr_drv/tty_ioctl.ctty->pgrp = current->pgrp;
current355kernel/chr_drv/tty_ioctl.cif ((current->tty < 0) ||
current356kernel/chr_drv/tty_ioctl.c(current->tty != termios_dev) ||
current357kernel/chr_drv/tty_ioctl.c(termios_tty->session != current->session))
current362kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
current427kernel/chr_drv/tty_ioctl.cif (MINOR(file->f_rdev) != current->tty)
current429kernel/chr_drv/tty_ioctl.ccurrent->tty = -1;
current430kernel/chr_drv/tty_ioctl.cif (current->leader) {
current267kernel/chr_drv/vt.cvt_cons[console].vt_pid = current->pid;
current27kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
current28kernel/exit.c(current->euid != p->euid) && (current->uid != p->uid) && !suser())
current65kernel/exit.cif (p == current) {
current258kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
current261kernel/exit.cif (*p && (*p)->pid > 1 && *p != current) {
current330kernel/exit.cfree_page_tables(current);
current332kernel/exit.cif (current->filp[i])
current334kernel/exit.cforget_original_parent(current);
current335kernel/exit.ciput(current->pwd);
current336kernel/exit.ccurrent->pwd = NULL;
current337kernel/exit.ciput(current->root);
current338kernel/exit.ccurrent->root = NULL;
current339kernel/exit.ciput(current->executable);
current340kernel/exit.ccurrent->executable = NULL;
current341kernel/exit.cfor (i=0; i < current->numlibraries; i++) {
current342kernel/exit.ciput(current->libraries[i].library);
current343kernel/exit.ccurrent->libraries[i].library = NULL;
current345kernel/exit.ccurrent->state = TASK_ZOMBIE;
current346kernel/exit.ccurrent->exit_code = code;
current347kernel/exit.ccurrent->rss = 0;
current357kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
current358kernel/exit.c(current->p_pptr->session == current->session) &&
current359kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
current360kernel/exit.chas_stopped_jobs(current->pgrp)) {
current361kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
current362kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
current365kernel/exit.csend_sig (SIGCHLD, current->p_pptr, 1);
current375kernel/exit.cwhile ((p = current->p_cptr) != NULL) {
current376kernel/exit.ccurrent->p_cptr = p->p_osptr;
current394kernel/exit.cif ((p->pgrp != current->pgrp) &&
current395kernel/exit.c(p->session == current->session) &&
current402kernel/exit.cif (current->leader) {
current406kernel/exit.cif (current->tty >= 0) {
current407kernel/exit.ctty = TTY_TABLE(current->tty);
current416kernel/exit.cif (*p && (*p)->session == current->session)
current419kernel/exit.cif (last_task_used_math == current)
current455kernel/exit.ccurrent->signal &= ~(1<<(SIGCHLD-1));
current457kernel/exit.cfor (p = current->p_cptr ; p ; p = p->p_osptr) {
current462kernel/exit.cif (p->pgrp != current->pgrp)
current482kernel/exit.ccurrent->cutime += p->utime + p->cutime;
current483kernel/exit.ccurrent->cstime += p->stime + p->cstime;
current484kernel/exit.ccurrent->cmin_flt += p->min_flt + p->cmin_flt;
current485kernel/exit.ccurrent->cmaj_flt += p->maj_flt + p->cmaj_flt;
current510kernel/exit.ccurrent->state=TASK_INTERRUPTIBLE;
current511kernel/exit.coldblocked = current->blocked;
current512kernel/exit.ccurrent->blocked &= ~(1<<(SIGCHLD-1));
current514kernel/exit.ccurrent->blocked = oldblocked;
current515kernel/exit.cif (current->signal & ~(current->blocked | (1<<(SIGCHLD-1))))
current52kernel/fork.cif (task[i]->uid == current->uid)
current95kernel/fork.c*p = *current;
current102kernel/fork.cp->p_pptr = p->p_opptr = current;
current137kernel/fork.cif (last_task_used_math == current)
current151kernel/fork.cif (current->pwd)
current152kernel/fork.ccurrent->pwd->i_count++;
current153kernel/fork.cif (current->root)
current154kernel/fork.ccurrent->root->i_count++;
current155kernel/fork.cif (current->executable)
current156kernel/fork.ccurrent->executable->i_count++;
current157kernel/fork.cfor (i=0; i < current->numlibraries ; i++)
current158kernel/fork.cif (current->libraries[i].library)
current159kernel/fork.ccurrent->libraries[i].library->i_count++;
current30kernel/ioport.cint numl = sizeof(current->tss.io_bitmap) >> 2;
current35kernel/ioport.cprintk("%s ", ios(current->tss.io_bitmap[j++]));
current37kernel/ioport.cprintk("%s", ios(current->tss.io_bitmap[j++]));
current59kernel/ioport.cif (froml * 32 + tnum > sizeof(current->tss.io_bitmap) * 8 - 8)
current67kernel/ioport.ciop = (unsigned long *)current->tss.io_bitmap + froml;
current37kernel/itimer.cval = current->it_real_value;
current38kernel/itimer.cinterval = current->it_real_incr;
current41kernel/itimer.cval = current->it_virt_value;
current42kernel/itimer.cinterval = current->it_virt_incr;
current45kernel/itimer.cval = current->it_prof_value;
current46kernel/itimer.cinterval = current->it_prof_incr;
current82kernel/itimer.ccurrent->it_real_value = j;
current83kernel/itimer.ccurrent->it_real_incr = i;
current86kernel/itimer.ccurrent->it_virt_value = j;
current87kernel/itimer.ccurrent->it_virt_incr = i;
current90kernel/itimer.ccurrent->it_prof_value = j;
current91kernel/itimer.ccurrent->it_prof_incr = i;
current19kernel/panic.cif (current == task[0])
current59kernel/printk.cif (current->signal & ~current->blocked)
current226kernel/ptrace.cif (current->flags & PF_PTRACED)
current229kernel/ptrace.ccurrent->flags |= PF_PTRACED;
current239kernel/ptrace.cif (child == current)
current241kernel/ptrace.cif ((!child->dumpable || (current->uid != child->euid) ||
current242kernel/ptrace.c(current->gid != child->egid)) && !suser())
current248kernel/ptrace.cif (child->p_pptr != current) {
current250kernel/ptrace.cchild->p_pptr = current;
current263kernel/ptrace.cif (child->p_pptr != current)
current58kernel/sched.cstruct task_struct *current = &init_task;
current75kernel/sched.cif (last_task_used_math == current)
current81kernel/sched.clast_task_used_math = current;
current82kernel/sched.cif (current->used_math) {
current83kernel/sched.c__asm__("frstor %0"::"m" (current->tss.i387));
current86kernel/sched.ccurrent->used_math=1;
current145kernel/sched.cstruct sigaction * sa = current->sigaction;
current147kernel/sched.cold_blocked = current->blocked;
current150kernel/sched.ccurrent->blocked |= mask;
current151kernel/sched.ccurrent->state = TASK_INTERRUPTIBLE;
current153kernel/sched.ccurrent->blocked = old_blocked;
current177kernel/sched.cif (p->counter > current->counter)
current203kernel/sched.cif (p->counter > current->counter)
current221kernel/sched.cstruct wait_queue wait = { current, NULL };
current225kernel/sched.cif (current == task[0])
current227kernel/sched.ccurrent->state = state;
current403kernel/sched.ccurrent->utime++;
current405kernel/sched.cif (current->it_virt_value && !(--current->it_virt_value)) {
current406kernel/sched.ccurrent->it_virt_value = current->it_virt_incr;
current407kernel/sched.csend_sig(SIGVTALRM,current,1);
current410kernel/sched.ccurrent->stime++;
current412kernel/sched.cif (prof_buffer && current != task[0]) {
current420kernel/sched.cif (current == task[0] || (--current->counter)<=0) {
current421kernel/sched.ccurrent->counter=0;
current433kernel/sched.cif (current->it_prof_value && !(--current->it_prof_value)) {
current434kernel/sched.ccurrent->it_prof_value = current->it_prof_incr;
current435kernel/sched.csend_sig(SIGPROF,current,1);
current477kernel/sched.creturn current->pid;
current482kernel/sched.creturn current->p_pptr->pid;
current487kernel/sched.creturn current->uid;
current492kernel/sched.creturn current->euid;
current497kernel/sched.creturn current->gid;
current502kernel/sched.creturn current->egid;
current509kernel/sched.cif (increment >= current->priority)
current510kernel/sched.cincrement = current->priority-1;
current511kernel/sched.ccurrent->priority -= increment;
current520kernel/sched.cprintk("%d: pid=%d, state=%d, father=%d, child=%d, ",(p == current)?-nr:nr,p->pid,
current20kernel/signal.creturn current->blocked;
current25kernel/signal.cint old=current->blocked;
current27kernel/signal.ccurrent->blocked = newmask & ~(1<<(SIGKILL-1)) & ~(1<<(SIGSTOP-1));
current35kernel/signal.cput_fs_long(current->blocked & current->signal, (unsigned long *)set);
current58kernel/signal.ccurrent->blocked = old_mask;
current63kernel/signal.c*(&old_mask) = current->blocked;
current64kernel/signal.ccurrent->blocked = set;
current79kernel/signal.chandler = (long) current->sigaction[signum-1].sa_handler;
current80kernel/signal.ccurrent->sigaction[signum-1] = tmp;
current91kernel/signal.cp = signum - 1 + current->sigaction;
current119kernel/signal.cstruct sigaction * sa = current->sigaction + signr - 1;
current142kernel/signal.cif (current->pid == 1)
current154kernel/signal.ccurrent->state = TASK_STOPPED;
current155kernel/signal.ccurrent->exit_code = signr;
current156kernel/signal.cif (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & 
current158kernel/signal.csend_sig(SIGCHLD, current->p_pptr, 1);      
current171kernel/signal.ccurrent->signal |= 1<<((signr & 0x7f)-1);
current188kernel/signal.cput_fs_long(current->blocked,tmp_esp++);
current194kernel/signal.ccurrent->blocked |= sa->sa_mask;
current41kernel/sys.cif (!who && p == current)
current46kernel/sys.cwho = current->pgrp;
current50kernel/sys.cwho = current->uid;
current71kernel/sys.cif ((*p)->uid != current->euid &&
current72kernel/sys.c(*p)->uid != current->uid && !suser()) {
current137kernel/sys.cif (!current->vm86_info) {
current141kernel/sys.cmemcpy_tofs(&(current->vm86_info->regs),regs,sizeof(*regs));
current142kernel/sys.cput_fs_long(current->screen_bitmap,&(current->vm86_info->screen_bitmap));
current143kernel/sys.cstack = current->tss.esp0;
current144kernel/sys.ccurrent->tss.esp0 = current->saved_kernel_stack;
current145kernel/sys.ccurrent->saved_kernel_stack = 0;
current174kernel/sys.cif (current->saved_kernel_stack)
current192kernel/sys.ccurrent->saved_kernel_stack = current->tss.esp0;
current193kernel/sys.ccurrent->tss.esp0 = (unsigned long) pt_regs;
current194kernel/sys.ccurrent->vm86_info = v86;
current195kernel/sys.ccurrent->screen_bitmap = info.screen_bitmap;
current197kernel/sys.cmark_screen_rdonly(current);
current258kernel/sys.cint old_rgid = current->gid;
current261kernel/sys.cif ((current->egid==rgid) ||
current264kernel/sys.ccurrent->gid = rgid;
current270kernel/sys.c(current->egid == egid) ||
current272kernel/sys.ccurrent->egid = egid;
current273kernel/sys.ccurrent->sgid = egid;
current275kernel/sys.ccurrent->gid = old_rgid;
current288kernel/sys.ccurrent->gid = current->egid = current->sgid = gid;
current289kernel/sys.celse if ((gid == current->gid) || (gid == current->sgid))
current290kernel/sys.ccurrent->egid = gid;
current348kernel/sys.cint old_ruid = current->uid;
current351kernel/sys.cif ((current->euid==ruid) ||
current354kernel/sys.ccurrent->uid = ruid;
current360kernel/sys.c(current->euid == euid) ||
current362kernel/sys.ccurrent->euid = euid;
current363kernel/sys.ccurrent->suid = euid;
current365kernel/sys.ccurrent->uid = old_ruid;
current386kernel/sys.ccurrent->uid = current->euid = current->suid = uid;
current387kernel/sys.celse if ((uid == current->uid) || (uid == current->suid))
current388kernel/sys.ccurrent->euid = uid;
current407kernel/sys.cput_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime);
current408kernel/sys.cput_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime);
current409kernel/sys.cput_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime);
current410kernel/sys.cput_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime);
current417kernel/sys.cif (end_data_seg >= current->end_code &&
current418kernel/sys.cend_data_seg < current->start_stack - 16384)
current419kernel/sys.ccurrent->brk = end_data_seg;
current420kernel/sys.creturn current->brk;
current437kernel/sys.cpid = current->pid;
current439kernel/sys.cpgid = current->pid;
current444kernel/sys.c((task[i]->p_pptr == current) || 
current445kernel/sys.c(task[i] == current))) {
current448kernel/sys.cif ((task[i]->session != current->session) ||
current450kernel/sys.c(session_of_pgrp(pgid) != current->session)))
current460kernel/sys.creturn current->pgrp;
current465kernel/sys.cif (current->leader && !suser())
current467kernel/sys.ccurrent->leader = 1;
current468kernel/sys.ccurrent->session = current->pgrp = current->pid;
current469kernel/sys.ccurrent->tty = -1;
current470kernel/sys.creturn current->pgrp;
current483kernel/sys.cfor (i = 0; (i < NGROUPS) && (current->groups[i] != NOGROUP);
current488kernel/sys.cput_fs_word(current->groups[i], (short *) grouplist);
current503kernel/sys.ccurrent->groups[i] = get_fs_word((unsigned short *) grouplist);
current506kernel/sys.ccurrent->groups[i] = NOGROUP;
current514kernel/sys.cif (grp == current->egid)
current518kernel/sys.cif (current->groups[i] == NOGROUP)
current520kernel/sys.cif (current->groups[i] == grp)
current577kernel/sys.cput_fs_long(current->rlim[resource].rlim_cur, 
current579kernel/sys.cput_fs_long(current->rlim[resource].rlim_max, 
current590kernel/sys.cold = current->rlim + resource;
current653kernel/sys.cgetrusage(current, who, ru);
current734kernel/sys.cint old = current->umask;
current736kernel/sys.ccurrent->umask = mask & 0777;
current71kernel/traps.cprintk("base: %p, limit: %p\n",get_base(current->ldt[1]),get_limit(0x17));
current73kernel/traps.cprintk("Pid: %d, process nr: %d\n\r",current->pid,0xffff & i);
current82kernel/traps.csend_sig(SIGSEGV, current, 1);
current88kernel/traps.csend_sig(SIGSEGV, current, 1);
current94kernel/traps.csend_sig(SIGSEGV, current, 1);
current100kernel/traps.csend_sig(SIGFPE, current, 1);
current106kernel/traps.csend_sig(SIGTRAP, current, 1);
current117kernel/traps.csend_sig(SIGTRAP, current, 1);
current123kernel/traps.csend_sig(SIGSEGV, current, 1);
current129kernel/traps.csend_sig(SIGSEGV, current, 1);
current135kernel/traps.csend_sig(SIGILL, current, 1);
current141kernel/traps.csend_sig(SIGSEGV, current, 1);
current153kernel/traps.csend_sig(SIGSEGV, current, 1);
current159kernel/traps.csend_sig(SIGSEGV, current, 1);
current165kernel/traps.csend_sig(SIGSEGV, current, 1);
current177kernel/traps.csend_sig(SIGSEGV, current, 1);
current152mm/memory.cif (tsk == current)
current172mm/memory.cold_pg_dir = current->tss.cr3;
current242mm/memory.cdir = (unsigned long *) (current->tss.cr3 + ((from >> 20) & 0xffc));
current264mm/memory.c--current->rss;
current304mm/memory.cdir = (unsigned long *) (current->tss.cr3 + ((from >> 20) & 0xffc));
current342mm/memory.c--current->rss;
current359mm/memory.c++current->rss;
current468mm/memory.cif (tsk == current && tsk->executable && CODE_SPACE(address, current)) {
current539mm/memory.cdo_wp_page(1,address,current,0);
current667mm/memory.coom(current);
current720mm/memory.cif (tsk != current)
current736mm/memory.coom(current);
current760mm/memory.coom(current);
current782mm/memory.ccurrent->screen_bitmap |= 1 << bit;
current787mm/memory.cdo_wp_page(error_code, address, current, user_esp);
current789mm/memory.cdo_no_page(error_code, address, current, user_esp);
current41mm/mmap.ccurrent->start_code + current->end_code)
current101mm/mmap.cif (fd >= NR_OPEN || fd < 0 || !(file = current->filp[fd]))
current133mm/mmap.cbase = get_base(current->ldt[1]);  /* cs */
current136mm/mmap.cbase = get_base(current->ldt[2]);  /* ds */
current185mm/mmap.cbase = get_base(current->ldt[2]);  /* map into ds */
current200mm/swap.coom(current);
current95net/socket.cif (!current->filp[fd])
current101net/socket.cFD_CLR(fd, &current->close_on_exec);
current102net/socket.ccurrent->filp[fd] = file;
current142net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->filp[fd]))
current190net/socket.cif (current->signal & ~current->blocked) {
current677net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current698net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current720net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current741net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current764net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current783net/socket.cif (fd < 0 || fd >= NR_OPEN ||   ((file = current->filp[fd]) == NULL))
current804net/socket.cfile = current->filp[fd];
current254net/tcp/packet.cif (current->signal & ~current->blocked)
current275net/tcp/raw.cif (current->signal & ~current->blocked)
current392net/tcp/raw.cif (current->signal & ~current->blocked)
current1116net/tcp/sock.cif (current->signal & ~current->blocked)
current1263net/tcp/sock.cif (current->signal & ~current->blocked)
current1336net/tcp/sock.cif (current->signal & ~current->blocked)
current1455net/tcp/sock.csend_sig (SIGPIPE, current, 1);
current1485net/tcp/sock.csend_sig (SIGPIPE, current, 1);
current1515net/tcp/sock.csend_sig (SIGPIPE, current, 1);
current672net/tcp/tcp.csend_sig (SIGPIPE, current, 0);
current697net/tcp/tcp.cif (current->signal & ~current->blocked)
current796net/tcp/tcp.cif (current->signal & ~current->blocked)
current1096net/tcp/tcp.cif (current->signal & ~current->blocked)
current1238net/tcp/tcp.cif (current->signal & ~current->blocked)
current2590net/tcp/tcp.cif (current->signal & ~current->blocked)
current386net/tcp/udp.cif (current->signal & ~current->blocked)
current553net/tcp/udp.cif (current->signal & ~current->blocked)
current478net/unix.cif (current->signal & ~current->blocked) {
current559net/unix.cif (current->signal & ~current->blocked) {
current578net/unix.csend_sig(SIGKILL,current,1);
current616net/unix.csend_sig(SIGPIPE,current,1);
current628net/unix.cif (current->signal & ~current->blocked) {
current634net/unix.csend_sig(SIGPIPE,current,1);
current648net/unix.csend_sig(SIGKILL,current,1);
current657net/unix.csend_sig(SIGPIPE,current,1);