taglinefilesource code
current156drivers/FPU-emu/fpu_entry.cif (!current->used_math)
current167drivers/FPU-emu/fpu_entry.ccurrent->used_math = 1;
current220drivers/FPU-emu/fpu_entry.cif (current->flags & PF_PTRACED)
current308drivers/FPU-emu/fpu_entry.ccurrent->tss.trap_no = 16;
current309drivers/FPU-emu/fpu_entry.ccurrent->tss.error_code = 0;
current310drivers/FPU-emu/fpu_entry.csend_sig(SIGFPE, current, 1);
current683drivers/FPU-emu/fpu_entry.ccurrent->tss.trap_no = 16;
current684drivers/FPU-emu/fpu_entry.ccurrent->tss.error_code = 0;
current685drivers/FPU-emu/fpu_entry.csend_sig(signal,current,1);
current22drivers/FPU-emu/fpu_system.h#define LDT_DESCRIPTOR(s)       (current->ldt[(s) >> 3])
current35drivers/FPU-emu/fpu_system.h#define I387      (current->tss.i387)
current398drivers/block/cdu31a.ccurrent->state = TASK_INTERRUPTIBLE;
current399drivers/block/cdu31a.ccurrent->timeout = jiffies;
current574drivers/block/cdu31a.ccurrent->state = TASK_INTERRUPTIBLE;
current575drivers/block/cdu31a.ccurrent->timeout = jiffies + 200;
current772drivers/block/cdu31a.cif (current != has_cd_task) /* Allow recursive calls to this routine */
current777drivers/block/cdu31a.cif (current->signal & ~current->blocked)
current786drivers/block/cdu31a.chas_cd_task = current;
current833drivers/block/cdu31a.ccurrent->state = TASK_INTERRUPTIBLE;
current834drivers/block/cdu31a.ccurrent->timeout = jiffies + 10; /* Wait .1 seconds on retries */
current1392drivers/block/cdu31a.cif (current->signal & ~current->blocked)
current1398drivers/block/cdu31a.chas_cd_task = current;
current1994drivers/block/cdu31a.cif (current->signal & ~current->blocked)
current2000drivers/block/cdu31a.chas_cd_task = current;
current373drivers/block/floppy.c#define NO_SIGNAL (!(current->signal & ~current->blocked) || !interruptible)
current656drivers/block/floppy.cif (!current->pid)
current1652drivers/block/floppy.cif (current->pid)
current646drivers/block/sbpcd.ccurrent->state = TASK_INTERRUPTIBLE;
current647drivers/block/sbpcd.ccurrent->timeout = jiffies + jifs;
current778drivers/block/sbpcd.cif (current == task[0])
current806drivers/block/sbpcd.cif (current == task[0])
current836drivers/block/sbpcd.cif (current == task[0])
current898drivers/block/sbpcd.cif (current == task[0])
current2416drivers/char/console.cstruct wait_queue wait = { current, NULL };
current2425drivers/char/console.ccurrent->state = TASK_INTERRUPTIBLE;
current2437drivers/char/console.ccurrent->state = TASK_RUNNING;
current189drivers/char/lp.ccurrent->timeout = jiffies + LP_TIMEOUT_INTERRUPT;
current193drivers/char/lp.cif (current->signal & ~current->blocked) {
current243drivers/char/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current244drivers/char/lp.ccurrent->timeout = jiffies + LP_TIMEOUT_POLLED;
current251drivers/char/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current252drivers/char/lp.ccurrent->timeout = jiffies + LP_TIMEOUT_POLLED;
current260drivers/char/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current261drivers/char/lp.ccurrent->timeout = jiffies + LP_TIMEOUT_POLLED;
current266drivers/char/lp.cif (current->signal & ~current->blocked) {
current277drivers/char/lp.ccurrent->state = TASK_INTERRUPTIBLE;
current278drivers/char/lp.ccurrent->timeout = jiffies + LP_TIME(minor);
current603drivers/char/n_tty.creturn ((current->blocked & (1<<(sig-1))) ||
current604drivers/char/n_tty.c(current->sigaction[sig-1].sa_handler == SIG_IGN));
current735drivers/char/n_tty.cstruct wait_queue wait = { current, NULL };
current755drivers/char/n_tty.ccurrent->tty == tty) {
current758drivers/char/n_tty.celse if (current->pgrp != tty->pgrp) {
current760drivers/char/n_tty.cis_orphaned_pgrp(current->pgrp))
current762drivers/char/n_tty.ckill_pg(current->pgrp, SIGTTIN, 1);
current769drivers/char/n_tty.ccurrent->timeout = (unsigned long) -1;
current774drivers/char/n_tty.ccurrent->timeout = (unsigned long) -1;
current782drivers/char/n_tty.ccurrent->timeout = time + jiffies;
current785drivers/char/n_tty.ccurrent->timeout = 0;
current803drivers/char/n_tty.ccurrent->state = TASK_INTERRUPTIBLE;
current816drivers/char/n_tty.cif (!current->timeout)
current822drivers/char/n_tty.cif (current->signal & ~current->blocked) {
current829drivers/char/n_tty.ccurrent->state = TASK_RUNNING;
current885drivers/char/n_tty.ccurrent->timeout = time + jiffies;
current892drivers/char/n_tty.ccurrent->state = TASK_RUNNING;
current893drivers/char/n_tty.ccurrent->timeout = 0;
current907drivers/char/n_tty.cstruct wait_queue wait = { current, NULL };
current921drivers/char/n_tty.ccurrent->state = TASK_INTERRUPTIBLE;
current922drivers/char/n_tty.cif (current->signal & ~current->blocked) {
current952drivers/char/n_tty.ccurrent->state = TASK_RUNNING;
current142drivers/char/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current143drivers/char/psaux.ccurrent->timeout = jiffies + 5;
current378drivers/char/psaux.cstruct wait_queue wait = { current, NULL };
current387drivers/char/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current388drivers/char/psaux.cif (queue_empty() && !(current->signal & ~current->blocked)) {
current392drivers/char/psaux.ccurrent->state = TASK_RUNNING;
current405drivers/char/psaux.cif (current->signal & ~current->blocked)
current491drivers/char/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current492drivers/char/psaux.ccurrent->timeout = jiffies + 5;
current514drivers/char/psaux.ccurrent->state = TASK_INTERRUPTIBLE;
current515drivers/char/psaux.ccurrent->timeout = jiffies + 5;
current207drivers/char/pty.cwhile (!tty->link->count && !(current->signal & ~current->blocked))
current1607drivers/char/serial.ccurrent->state = TASK_INTERRUPTIBLE;
current1608drivers/char/serial.ccurrent->timeout = jiffies + duration;
current1858drivers/char/serial.ccurrent->state = TASK_INTERRUPTIBLE;
current1859drivers/char/serial.ccurrent->timeout = jiffies + info->timeout;
current1882drivers/char/serial.ccurrent->state = TASK_INTERRUPTIBLE;
current1883drivers/char/serial.ccurrent->timeout = jiffies + info->close_delay;
current1920drivers/char/serial.cstruct wait_queue wait = { current, NULL };
current1949drivers/char/serial.c(info->session != current->session))
current1953drivers/char/serial.c(info->pgrp != current->pgrp))
current1995drivers/char/serial.ccurrent->state = TASK_INTERRUPTIBLE;
current2013drivers/char/serial.cif (current->signal & ~current->blocked) {
current2023drivers/char/serial.ccurrent->state = TASK_RUNNING;
current2094drivers/char/serial.cinfo->session = current->session;
current2095drivers/char/serial.cinfo->pgrp = current->pgrp;
current755drivers/char/tpqic02.ccurrent->timeout = jiffies + 30;  /* nap 0.30 sec between checks, */
current756drivers/char/tpqic02.ccurrent->state = TASK_INTERRUPTIBLE;
current240drivers/char/tty_io.cif (current->tty != tty)
current246drivers/char/tty_io.cif (current->pgrp == tty->pgrp)
current250drivers/char/tty_io.cif (is_orphaned_pgrp(current->pgrp))
current252drivers/char/tty_io.c(void) kill_pg(current->pgrp,SIGTTOU,1);
current408drivers/char/tty_io.cstruct tty_struct *tty = current->tty;
current422drivers/char/tty_io.cif (p->session == current->session)
current442drivers/char/tty_io.creturn (current->signal & ~current->blocked) ? -1 : 0;
current655drivers/char/tty_io.c(current->tty == tty) &&
current656drivers/char/tty_io.c(tty->pgrp != current->pgrp))
current657drivers/char/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
current660drivers/char/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
current691drivers/char/tty_io.c(current->tty == tty) && (tty->pgrp != current->pgrp)) {
current692drivers/char/tty_io.cif (is_orphaned_pgrp(current->pgrp))
current695drivers/char/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
current1078drivers/char/tty_io.cif (!current->tty)
current1080drivers/char/tty_io.cdevice = current->tty->device;
current1115drivers/char/tty_io.cif (current->signal & ~current->blocked)
current1125drivers/char/tty_io.ccurrent->leader &&
current1126drivers/char/tty_io.c!current->tty &&
current1128drivers/char/tty_io.ccurrent->tty = tty;
current1129drivers/char/tty_io.ctty->session = current->session;
current1130drivers/char/tty_io.ctty->pgrp = current->pgrp;
current1188drivers/char/tty_io.cfilp->f_owner = current->pid;
current1259drivers/char/tty_io.cif ((current->tty != tty) && !suser())
current1321drivers/char/tty_io.cif (current->tty != tty)
current1323drivers/char/tty_io.cif (current->leader)
current1325drivers/char/tty_io.ccurrent->tty = NULL;
current1328drivers/char/tty_io.cif (current->leader &&
current1329drivers/char/tty_io.c(current->session == tty->session))
current1335drivers/char/tty_io.cif (!current->leader || current->tty)
current1354drivers/char/tty_io.ccurrent->tty = tty;
current1355drivers/char/tty_io.ctty->session = current->session;
current1356drivers/char/tty_io.ctty->pgrp = current->pgrp;
current1363drivers/char/tty_io.cif (tty == real_tty && current->tty != real_tty)
current1375drivers/char/tty_io.cif (!current->tty ||
current1376drivers/char/tty_io.c(current->tty != real_tty) ||
current1377drivers/char/tty_io.c(real_tty->session != current->session))
current1382drivers/char/tty_io.cif (session_of_pgrp(pgrp) != current->session)
current45drivers/char/tty_ioctl.cstruct wait_queue wait = { current, NULL };
current54drivers/char/tty_ioctl.ccurrent->counter = 0;  /* make us low-priority */
current56drivers/char/tty_ioctl.ccurrent->timeout = timeout + jiffies;
current58drivers/char/tty_ioctl.ccurrent->timeout = (unsigned) -1;
current63drivers/char/tty_ioctl.ccurrent->state = TASK_INTERRUPTIBLE;
current64drivers/char/tty_ioctl.cif (current->signal & ~current->blocked)
current69drivers/char/tty_ioctl.c} while (current->timeout);
current70drivers/char/tty_ioctl.ccurrent->state = TASK_RUNNING;
current582drivers/char/vt.cvt_cons[console]->vt_pid = current->pid;
current1283drivers/net/ppp.ccurrent->timeout = 0;
current1286drivers/net/ppp.cif (current->signal & ~current->blocked)
current1343drivers/net/ppp.ccurrent->timeout = 0;
current1346drivers/net/ppp.cif (current->signal & ~current->blocked)
current1484drivers/net/ppp.cppp->inp_sig_pid = current->pid;
current3087drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current;
current1203drivers/scsi/53c7,8xx.hvolatile struct NCR53c7x0_cmd *current;  /* currently connected 
current753drivers/scsi/scsi.cif ((unsigned long) &SCpnt < current->kernel_stack_page)
current590drivers/scsi/scsi.hstruct wait_queue wait = { current, NULL};  \
current593drivers/scsi/scsi.hcurrent->state = TASK_UNINTERRUPTIBLE;    \
current599drivers/scsi/scsi.hcurrent->state = TASK_RUNNING;      \
current835drivers/scsi/sd.cif (current == task[0]){
current908drivers/scsi/sd.cif (current == task[0])
current95drivers/scsi/sg.cif (current->signal & ~current->blocked)
current106drivers/scsi/sg.cif (current->signal & ~current->blocked)
current138drivers/scsi/sg.cif (current->signal & ~current->blocked)
current173drivers/scsi/sg.cif (current->signal & ~current->blocked)
current239drivers/scsi/sg.cif (current->signal & ~current->blocked)
current844drivers/scsi/sr.cif (current == task[0])
current1015drivers/sound/gus_wave.cint             current, target, rate;
current1028drivers/sound/gus_wave.ccurrent = gus_read16 (0x09) >> 4;
current1045drivers/sound/gus_wave.cif ((target - current) / 64 == 0)  /* Close enough to target. */
current1053drivers/sound/gus_wave.cif (target > current)
current1057drivers/sound/gus_wave.cgus_ramp_range (current, target);
current1065drivers/sound/gus_wave.cgus_ramp_range (target, current);
current76drivers/sound/os.h#define PROCESS_ABORTING(q, f) (/*f.aborting | */(current->signal & ~current->blocked))
current81drivers/sound/os.hif (time_limit) tl = current->timeout = jiffies + (time_limit); \
current86drivers/sound/os.hif (current->signal & ~current->blocked) \
current84fs/binfmt_elf.cmpnt->vm_task = current;
current100fs/binfmt_elf.cinsert_vm_struct(current, mpnt);
current102fs/binfmt_elf.ccurrent->mm->stk_vma = mpnt;
current135fs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
current141fs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
current147fs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
current202fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
current251fs/binfmt_elf.ccurrent->mm->brk = interp_ex->a_bss +
current252fs/binfmt_elf.c(current->mm->end_data = interp_ex->a_data +
current253fs/binfmt_elf.c(current->mm->end_code = interp_ex->a_text));
current380fs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
current496fs/binfmt_elf.ccurrent->mm->end_data = 0;
current497fs/binfmt_elf.ccurrent->mm->end_code = 0;
current498fs/binfmt_elf.ccurrent->mm->start_mmap = ELF_START_MMAP;
current499fs/binfmt_elf.ccurrent->mm->mmap = NULL;
current504fs/binfmt_elf.ccurrent->mm->rss = 0;
current506fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
current539fs/binfmt_elf.csend_sig(SIGSEGV, current, 0);
current580fs/binfmt_elf.ccurrent->personality = (ibcs2_interpreter ? PER_SVR4 : PER_LINUX);
current582fs/binfmt_elf.cif (current->exec_domain && current->exec_domain->use_count)
current583fs/binfmt_elf.c(*current->exec_domain->use_count)--;
current584fs/binfmt_elf.cif (current->binfmt && current->binfmt->use_count)
current585fs/binfmt_elf.c(*current->binfmt->use_count)--;
current586fs/binfmt_elf.ccurrent->exec_domain = lookup_exec_domain(current->personality);
current587fs/binfmt_elf.ccurrent->binfmt = &elf_format;
current588fs/binfmt_elf.cif (current->exec_domain && current->exec_domain->use_count)
current589fs/binfmt_elf.c(*current->exec_domain->use_count)++;
current590fs/binfmt_elf.cif (current->binfmt && current->binfmt->use_count)
current591fs/binfmt_elf.c(*current->binfmt->use_count)++;
current594fs/binfmt_elf.ccurrent->executable = bprm->inode;
current598fs/binfmt_elf.ccurrent->start_stack = p = elf_stack - 4;
current609fs/binfmt_elf.ccurrent->mm->arg_start += strlen(passed_fileno) + 1;
current610fs/binfmt_elf.ccurrent->mm->start_brk = current->mm->brk = elf_brk;
current611fs/binfmt_elf.ccurrent->mm->end_code = end_code;
current612fs/binfmt_elf.ccurrent->mm->start_code = start_code;
current613fs/binfmt_elf.ccurrent->mm->end_data = end_data;
current614fs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
current615fs/binfmt_elf.ccurrent->suid = current->euid = current->fsuid = bprm->e_uid;
current616fs/binfmt_elf.ccurrent->sgid = current->egid = current->fsgid = bprm->e_gid;
current620fs/binfmt_elf.ccurrent->mm->brk = (elf_bss + 0xfff) & 0xfffff000;
current626fs/binfmt_elf.cprintk("(start_brk) %x\n" , current->mm->start_brk);
current627fs/binfmt_elf.cprintk("(end_code) %x\n" , current->mm->end_code);
current628fs/binfmt_elf.cprintk("(start_code) %x\n" , current->mm->start_code);
current629fs/binfmt_elf.cprintk("(end_data) %x\n" , current->mm->end_data);
current630fs/binfmt_elf.cprintk("(start_stack) %x\n" , current->mm->start_stack);
current631fs/binfmt_elf.cprintk("(brk) %x\n" , current->mm->brk);
current643fs/binfmt_elf.cif (current->flags & PF_PTRACED)
current644fs/binfmt_elf.csend_sig(SIGTRAP, current, 0);
current672fs/binfmt_elf.cfile = current->files->fd[fd];
current112fs/buffer.cstruct wait_queue wait = { current, NULL };
current117fs/buffer.ccurrent->state = TASK_UNINTERRUPTIBLE;
current124fs/buffer.ccurrent->state = TASK_RUNNING;
current245fs/buffer.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
current1014fs/buffer.c++current->mm->min_flt;
current1072fs/buffer.c++current->mm->maj_flt;
current1126fs/buffer.c++current->mm->maj_flt;
current1823fs/buffer.cif (current->signal & (1 << (SIGKILL-1))) {
current1827fs/buffer.ccurrent->signal = 0;
current115fs/exec.cfpp = current->files->fd;
current170fs/exec.cchar corefile[6+sizeof(current->comm)];
current175fs/exec.cif (!current->dumpable)
current177fs/exec.ccurrent->dumpable = 0;
current180fs/exec.cif (current->rlim[RLIMIT_CORE].rlim_cur < PAGE_SIZE)
current186fs/exec.cmemcpy(corefile+5,current->comm,sizeof(current->comm));
current217fs/exec.cdump.u_tsize = ((unsigned long) current->mm->end_code) >> 12;
current218fs/exec.cdump.u_dsize = ((unsigned long) (current->mm->brk + (PAGE_SIZE-1))) >> 12;
current221fs/exec.cfor(i=0; i<8; i++) dump.u_debugreg[i] = current->debugreg[i];  
current227fs/exec.ccurrent->rlim[RLIMIT_CORE].rlim_cur)
current231fs/exec.ccurrent->rlim[RLIMIT_CORE].rlim_cur)
current233fs/exec.cstrncpy(dump.u_comm, current->comm, sizeof(current->comm));
current240fs/exec.cif ((dump.u_fpvalid = current->used_math) != 0) {
current241fs/exec.cif (last_task_used_math == current)
current244fs/exec.cmemcpy(&dump.i387,&current->tss.i387.hard,sizeof(dump.i387));
current272fs/exec.cDUMP_WRITE(current,sizeof(*current));
current299fs/exec.cfile = current->files->fd[fd];
current328fs/exec.cmpnt->vm_task = current;
current338fs/exec.cinsert_vm_struct(current, mpnt);
current350fs/exec.ccurrent->mm->arg_start = (unsigned long) p;
current356fs/exec.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
current362fs/exec.ccurrent->mm->env_end = (unsigned long) p;
current466fs/exec.ccurrent->mm->start_code = code_base;
current471fs/exec.ccurrent->mm->rss++;
current472fs/exec.cput_dirty_page(current,page[i],data_base);
current534fs/exec.ccurrent->dumpable = 1;
current541fs/exec.ccurrent->comm[i++] = ch;
current543fs/exec.ccurrent->comm[i] = '\0';
current546fs/exec.cmpnt = current->mm->mmap;
current547fs/exec.ccurrent->mm->mmap = NULL;
current559fs/exec.cif (current->ldt) {
current560fs/exec.cfree_page((unsigned long) current->ldt);
current561fs/exec.ccurrent->ldt = NULL;
current563fs/exec.cif (task[i] == current)  {
current571fs/exec.cfor (i=0 ; i<8 ; i++) current->debugreg[i] = 0;
current573fs/exec.cif (bprm->e_uid != current->euid || bprm->e_gid != current->egid || 
current575fs/exec.ccurrent->dumpable = 0;
current576fs/exec.ccurrent->signal = 0;
current578fs/exec.ccurrent->sigaction[i].sa_mask = 0;
current579fs/exec.ccurrent->sigaction[i].sa_flags = 0;
current580fs/exec.cif (current->sigaction[i].sa_handler != SIG_IGN)
current581fs/exec.ccurrent->sigaction[i].sa_handler = NULL;
current584fs/exec.cif (FD_ISSET(i,&current->files->close_on_exec))
current586fs/exec.cFD_ZERO(&current->files->close_on_exec);
current587fs/exec.cclear_page_tables(current);
current588fs/exec.cif (last_task_used_math == current)
current590fs/exec.ccurrent->used_math = 0;
current633fs/exec.cif (IS_NOSUID(bprm.inode) && (((i & S_ISUID) && bprm.inode->i_uid != current->
current639fs/exec.cif (current->flags & PF_PTRACED) {
current640fs/exec.cbprm.e_uid = current->euid;
current641fs/exec.cbprm.e_gid = current->egid;
current643fs/exec.cbprm.e_uid = (i & S_ISUID) ? bprm.inode->i_uid : current->euid;
current644fs/exec.cbprm.e_gid = (i & S_ISGID) ? bprm.inode->i_gid : current->egid;
current753fs/exec.ccurrent->did_exec = 1;
current815fs/exec.ccurrent->personality = PER_LINUX;
current831fs/exec.ccurrent->mm->brk = ex.a_bss +
current832fs/exec.c(current->mm->start_brk =
current833fs/exec.c(current->mm->end_data = ex.a_data +
current834fs/exec.c(current->mm->end_code = ex.a_text +
current835fs/exec.c(current->mm->start_code = N_TXTADDR(ex)))));
current836fs/exec.ccurrent->mm->rss = 0;
current837fs/exec.ccurrent->mm->mmap = NULL;
current838fs/exec.ccurrent->suid = current->euid = current->fsuid = bprm->e_uid;
current839fs/exec.ccurrent->sgid = current->egid = current->fsgid = bprm->e_gid;
current853fs/exec.cfile = current->files->fd[fd];
current871fs/exec.csend_sig(SIGKILL, current, 0);
current881fs/exec.csend_sig(SIGKILL, current, 0);
current886fs/exec.cif (current->exec_domain && current->exec_domain->use_count)
current887fs/exec.c(*current->exec_domain->use_count)--;
current888fs/exec.cif (current->binfmt && current->binfmt->use_count)
current889fs/exec.c(*current->binfmt->use_count)--;
current890fs/exec.ccurrent->exec_domain = lookup_exec_domain(current->personality);
current891fs/exec.ccurrent->binfmt = &aout_format;
current892fs/exec.cif (current->exec_domain && current->exec_domain->use_count)
current893fs/exec.c(*current->exec_domain->use_count)++;
current894fs/exec.cif (current->binfmt && current->binfmt->use_count)
current895fs/exec.c(*current->binfmt->use_count)++;
current897fs/exec.cset_brk(current->mm->start_brk, current->mm->brk);
current903fs/exec.ccurrent->personality != PER_LINUX);
current904fs/exec.ccurrent->mm->start_stack = p;
current907fs/exec.cif (current->flags & PF_PTRACED)
current908fs/exec.csend_sig(SIGTRAP, current, 0);
current923fs/exec.cfile = current->files->fd[fd];
current285fs/ext/freelists.cinode->i_uid = current->fsuid;
current286fs/ext/freelists.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
current355fs/ext/namei.cinode->i_uid = current->fsuid;
current442fs/ext/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
current539fs/ext/namei.ccurrent->fsuid != inode->i_uid &&
current540fs/ext/namei.ccurrent->fsuid != dir->i_uid)
current593fs/ext/namei.ccurrent->fsuid != inode->i_uid &&
current594fs/ext/namei.ccurrent->fsuid != dir->i_uid)
current771fs/ext/namei.ccurrent->counter = 0;
current785fs/ext/namei.ccurrent->fsuid != old_inode->i_uid &&
current786fs/ext/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
current806fs/ext/namei.ccurrent->fsuid != new_inode->i_uid &&
current807fs/ext/namei.ccurrent->fsuid != new_dir->i_uid && !fsuser())
current55fs/ext/symlink.cdir = current->fs->root;
current67fs/ext/symlink.cif (current->link_count > 5) {
current78fs/ext/symlink.ccurrent->link_count++;
current80fs/ext/symlink.ccurrent->link_count--;
current237fs/ext/truncate.ccurrent->counter = 0;
current42fs/ext2/acl.celse if (current->fsuid == inode->i_uid)
current274fs/ext2/balloc.c(!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) &&
current453fs/ext2/ialloc.cinode->i_uid = current->fsuid;
current461fs/ext2/ialloc.cinode->i_gid = current->fsgid;
current200fs/ext2/inode.c(current->rlim[RLIMIT_FSIZE].rlim_cur >>
current279fs/ext2/inode.c(current->rlim[RLIMIT_FSIZE].rlim_cur >> 
current42fs/ext2/ioctl.cif ((current->fsuid != inode->i_uid) && !fsuser())
current64fs/ext2/ioctl.cif ((current->fsuid != inode->i_uid) && !fsuser())
current426fs/ext2/namei.cinode->i_uid = current->fsuid;
current517fs/ext2/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask);
current622fs/ext2/namei.ccurrent->counter = 0;
current627fs/ext2/namei.ccurrent->fsuid != inode->i_uid &&
current628fs/ext2/namei.ccurrent->fsuid != dir->i_uid)
current705fs/ext2/namei.ccurrent->counter = 0;
current710fs/ext2/namei.ccurrent->fsuid != inode->i_uid &&
current711fs/ext2/namei.ccurrent->fsuid != dir->i_uid)
current936fs/ext2/namei.ccurrent->counter = 0;
current951fs/ext2/namei.ccurrent->fsuid != old_inode->i_uid &&
current952fs/ext2/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
current984fs/ext2/namei.ccurrent->fsuid != new_inode->i_uid &&
current985fs/ext2/namei.ccurrent->fsuid != new_dir->i_uid && !fsuser())
current60fs/ext2/symlink.cdir = current->fs->root;
current72fs/ext2/symlink.cif (current->link_count > 5) {
current86fs/ext2/symlink.ccurrent->link_count++;
current88fs/ext2/symlink.ccurrent->link_count--;
current344fs/ext2/truncate.ccurrent->counter = 0;
current22fs/fcntl.cif (fd >= NR_OPEN || !current->files->fd[fd])
current27fs/fcntl.cif (current->files->fd[arg])
current33fs/fcntl.cFD_CLR(arg, &current->files->close_on_exec);
current34fs/fcntl.c(current->files->fd[arg] = current->files->fd[fd])->f_count++;
current40fs/fcntl.cif (oldfd >= NR_OPEN || !current->files->fd[oldfd])
current72fs/fcntl.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
current78fs/fcntl.creturn FD_ISSET(fd, &current->files->close_on_exec);
current81fs/fcntl.cFD_SET(fd, &current->files->close_on_exec);
current83fs/fcntl.cFD_CLR(fd, &current->files->close_on_exec);
current142fs/fcntl.cif (current->pgrp == -arg || current->pid == arg)
current149fs/fcntl.cif ((p->session != current->session) &&
current150fs/fcntl.c(p->uid != current->uid) &&
current151fs/fcntl.c(p->euid != current->euid) &&
current31fs/fifo.cif (current->signal & ~current->blocked) {
current64fs/fifo.cif (current->signal & ~current->blocked) {
current547fs/hpfs/hpfs_fs.c*uid = current->uid;
current548fs/hpfs/hpfs_fs.c*gid = current->gid;
current549fs/hpfs/hpfs_fs.c*umask = current->fs->umask;
current241fs/inode.c(current->fsuid != inode->i_uid ||
current253fs/inode.cif ((current->fsuid != inode->i_uid) && !fsuser())
current263fs/inode.c((current->fsuid != inode->i_uid) && !fsuser()))
current266fs/inode.c((current->fsuid != inode->i_uid) && !fsuser()))
current487fs/inode.cinode->i_uid = current->fsuid;
current488fs/inode.cinode->i_gid = current->fsgid;
current561fs/inode.cstruct wait_queue wait = { current, NULL };
current565fs/inode.ccurrent->state = TASK_UNINTERRUPTIBLE;
current571fs/inode.ccurrent->state = TASK_RUNNING;
current62fs/ioctl.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
current66fs/ioctl.cFD_SET(fd, &current->files->close_on_exec);
current70fs/ioctl.cFD_CLR(fd, &current->files->close_on_exec);
current52fs/isofs/symlink.cdir = current->fs->root;
current65fs/isofs/symlink.cif ((current->link_count > 5) ||
current73fs/isofs/symlink.ccurrent->link_count++;
current75fs/isofs/symlink.ccurrent->link_count--;
current66fs/locks.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
current110fs/locks.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd]))
current155fs/locks.cif (current->signal & ~current->blocked)
current161fs/locks.cif (current->signal & ~current->blocked)
current256fs/locks.cfl->fl_owner = current;
current478fs/locks.ctmp->fl_owner = current;  /* FIXME: needed? */
current194fs/minix/bitmap.cinode->i_uid = current->fsuid;
current195fs/minix/bitmap.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
current265fs/minix/namei.cinode->i_uid = current->fsuid;
current349fs/minix/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
current444fs/minix/namei.ccurrent->fsuid != inode->i_uid &&
current445fs/minix/namei.ccurrent->fsuid != dir->i_uid)
current506fs/minix/namei.ccurrent->counter = 0;
current511fs/minix/namei.ccurrent->fsuid != inode->i_uid &&
current512fs/minix/namei.ccurrent->fsuid != dir->i_uid)
current688fs/minix/namei.ccurrent->counter = 0;
current702fs/minix/namei.ccurrent->fsuid != old_inode->i_uid &&
current703fs/minix/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
current733fs/minix/namei.ccurrent->fsuid != new_inode->i_uid &&
current734fs/minix/namei.ccurrent->fsuid != new_dir->i_uid && !fsuser())
current49fs/minix/symlink.cdir = current->fs->root;
current61fs/minix/symlink.cif (current->link_count > 5) {
current72fs/minix/symlink.ccurrent->link_count++;
current74fs/minix/symlink.ccurrent->link_count--;
current179fs/minix/truncate.ccurrent->counter = 0;
current88fs/msdos/inode.c*uid = current->uid;
current89fs/msdos/inode.c*gid = current->gid;
current90fs/msdos/inode.c*umask = current->fs->umask;
current114fs/msdos/misc.cint count,nr,limit,last,current,sector,last_sector;
current146fs/msdos/misc.cif ((current = MSDOS_I(inode)->i_start) != 0) {
current147fs/msdos/misc.ccache_lookup(inode,INT_MAX,&last,&current);
current148fs/msdos/misc.cwhile (current && current != -1)
current149fs/msdos/misc.cif (!(current = fat_access(inode->i_sb,
current150fs/msdos/misc.clast = current,-1))) {
current450fs/msdos/misc.cint error,current,prev,nr;
current455fs/msdos/misc.cif ((current = raw_scan(dir->i_sb,MSDOS_I(dir)->i_start,MSDOS_DOTDOT,
current458fs/msdos/misc.creturn current;
current460fs/msdos/misc.cif (!current) nr = MSDOS_ROOT_INO;
current462fs/msdos/misc.cif ((prev = raw_scan(dir->i_sb,current,MSDOS_DOTDOT,&zero,NULL,
current467fs/msdos/misc.cif ((error = raw_scan(dir->i_sb,prev,NULL,&current,&nr,NULL,
current34fs/namei.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next) {
current111fs/namei.celse if (current->fsuid == inode->i_uid)
current169fs/namei.cif (dir == current->fs->root) {
current229fs/namei.cbase = current->fs->pwd;
current234fs/namei.cbase = current->fs->root;
current344fs/namei.cmode &= S_IALLUGO & ~current->fs->umask;
current451fs/namei.cmode &= ~current->fs->umask;
current530fs/namei.cerror = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask);
current80fs/nfs/inode.cif (fd >= NR_OPEN || !(filp = current->files->fd[fd])) {
current251fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current288fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current330fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current366fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current411fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current451fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current491fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current526fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current565fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current602fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current640fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current680fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current715fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current771fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current807fs/nfs/proc.cif (!ruid && current->fsuid == 0 && current->uid != 0) {
current843fs/nfs/proc.c*p++ = htonl(ruid ? current->uid : current->fsuid);
current844fs/nfs/proc.c*p++ = htonl(current->egid);
current846fs/nfs/proc.cfor (i = 0; i < 16 && i < NGROUPS && current->groups[i] != NOGROUP; i++)
current847fs/nfs/proc.c*p++ = htonl(current->groups[i]);
current91fs/nfs/sock.cold_mask = current->blocked;
current92fs/nfs/sock.ccurrent->blocked |= ~(_S(SIGKILL)
current97fs/nfs/sock.c? ((current->sigaction[SIGINT - 1].sa_handler == SIG_DFL
current99fs/nfs/sock.c| (current->sigaction[SIGQUIT - 1].sa_handler == SIG_DFL
current113fs/nfs/sock.ccurrent->state = TASK_INTERRUPTIBLE;
current124fs/nfs/sock.ccurrent->timeout = jiffies + timeout;
current127fs/nfs/sock.ccurrent->state = TASK_RUNNING;
current128fs/nfs/sock.cif (current->signal & ~current->blocked) {
current129fs/nfs/sock.ccurrent->timeout = 0;
current133fs/nfs/sock.cif (!current->timeout) {
current153fs/nfs/sock.ccurrent->timeout = 0;
current157fs/nfs/sock.ccurrent->state = TASK_RUNNING;
current219fs/nfs/sock.ccurrent->blocked = old_mask;
current55fs/nfs/symlink.cdir = current->fs->root;
current67fs/nfs/symlink.cif (current->link_count > 5) {
current87fs/nfs/symlink.ccurrent->link_count++;
current89fs/nfs/symlink.ccurrent->link_count--;
current58fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current112fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current182fs/open.cold_fsuid = current->fsuid;
current183fs/open.cold_fsgid = current->fsgid;
current184fs/open.ccurrent->fsuid = current->uid;
current185fs/open.ccurrent->fsgid = current->gid;
current192fs/open.ccurrent->fsuid = old_fsuid;
current193fs/open.ccurrent->fsgid = old_fsgid;
current213fs/open.ciput(current->fs->pwd);
current214fs/open.ccurrent->fs->pwd = inode;
current223fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current231fs/open.ciput(current->fs->pwd);
current232fs/open.ccurrent->fs->pwd = inode;
current253fs/open.ciput(current->fs->root);
current254fs/open.ccurrent->fs->root = inode;
current264fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current309fs/open.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current405fs/open.cif (!current->files->fd[fd])
current409fs/open.cFD_CLR(fd,&current->files->close_on_exec);
current413fs/open.ccurrent->files->fd[fd] = f;
current424fs/open.ccurrent->files->fd[fd]=NULL;
current441fs/open.ccurrent->files->fd[fd]=NULL;
current477fs/open.cfcntl_remove_locks(current, filp, fd);
current497fs/open.cFD_CLR(fd, &current->files->close_on_exec);
current498fs/open.cif (!(filp = current->files->fd[fd]))
current500fs/open.ccurrent->files->fd[fd] = NULL;
current513fs/open.cif (current->tty)
current514fs/open.ctty_vhangup(current->tty);
current42fs/pipe.cif (current->signal & ~current->blocked)
current77fs/pipe.csend_sig(SIGPIPE,current,0);
current88fs/pipe.csend_sig(SIGPIPE,current,0);
current91fs/pipe.cif (current->signal & ~current->blocked)
current210fs/pipe.cif (current->signal & ~current->blocked)
current397fs/pipe.cif (!current->files->fd[i]) {
current398fs/pipe.ccurrent->files->fd[ fd[j]=i ] = f[j];
current402fs/pipe.ccurrent->files->fd[fd[0]]=NULL;
current409fs/pipe.ccurrent->files->fd[fd[0]] = NULL;
current410fs/pipe.ccurrent->files->fd[fd[1]] = NULL;
current267fs/proc/array.cif (!p || p == current || p->state == TASK_RUNNING)
current73fs/proc/link.cif (current->files->fd[fd] == f)
current94fs/proc/link.ccurrent->files->fd[fd] = new_f;
current47fs/proc/mem.cif (current->signal & ~current->blocked)
current95fs/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)
current186fs/proc/mem.cif (src_vma->vm_end - stmp > current->rlim[RLIMIT_STACK].rlim_cur)
current203fs/proc/mem.cdest_table = PAGE_DIR_OFFSET(current->tss.cr3, dtmp);
current207fs/proc/mem.cif (!*dest_table) { oom(current); *dest_table=BAD_PAGE; }
current102fs/proc/root.cino = (current->pid << 16) + 2;
current31fs/read_write.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]) ||
current51fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
current91fs/read_write.cif (fd >= NR_OPEN || !(file=current->files->fd[fd]) || !(file->f_inode))
current127fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
current148fs/read_write.cif (fd>=NR_OPEN || !(file=current->files->fd[fd]) || !(inode=file->f_inode))
current104fs/select.cif (!current->files->fd[i])
current106fs/select.cif (!current->files->fd[i]->f_inode)
current123fs/select.ccurrent->state = TASK_INTERRUPTIBLE;
current125fs/select.cif (FD_ISSET(i,in) && check(SEL_IN,wait,current->files->fd[i])) {
current130fs/select.cif (FD_ISSET(i,out) && check(SEL_OUT,wait,current->files->fd[i])) {
current135fs/select.cif (FD_ISSET(i,ex) && check(SEL_EX,wait,current->files->fd[i])) {
current142fs/select.cif (!count && current->timeout && !(current->signal & ~current->blocked)) {
current148fs/select.ccurrent->state = TASK_RUNNING;
current237fs/select.ccurrent->timeout = timeout;
current239fs/select.cif (current->timeout > jiffies)
current240fs/select.ctimeout = current->timeout - jiffies;
current243fs/select.ccurrent->timeout = 0;
current244fs/select.cif (tvp && !(current->personality & STICKY_TIMEOUTS)) {
current252fs/select.cif (!i && (current->signal & ~current->blocked))
current20fs/stat.ccurrent->comm);
current168fs/stat.cif (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode))
current183fs/stat.cif (fd >= NR_OPEN || !(f=current->files->fd[fd]) || !(inode=f->f_inode))
current187fs/super.cstruct wait_queue wait = { current, NULL };
current191fs/super.ccurrent->state = TASK_UNINTERRUPTIBLE;
current197fs/super.ccurrent->state = TASK_RUNNING;
current516fs/super.cfor (vma = current->mm->mmap ; ; ) {
current677fs/super.ccurrent->fs->pwd = inode;
current678fs/super.ccurrent->fs->root = inode;
current154fs/sysv/ialloc.cinode->i_uid = current->fsuid;
current155fs/sysv/ialloc.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
current258fs/sysv/namei.cinode->i_uid = current->fsuid;
current340fs/sysv/namei.cinode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
current436fs/sysv/namei.ccurrent->fsuid != inode->i_uid &&
current437fs/sysv/namei.ccurrent->fsuid != dir->i_uid)
current497fs/sysv/namei.ccurrent->counter = 0;
current502fs/sysv/namei.ccurrent->fsuid != inode->i_uid &&
current503fs/sysv/namei.ccurrent->fsuid != dir->i_uid)
current682fs/sysv/namei.ccurrent->counter = 0;
current696fs/sysv/namei.ccurrent->fsuid != old_inode->i_uid &&
current697fs/sysv/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
current727fs/sysv/namei.ccurrent->fsuid != new_inode->i_uid &&
current728fs/sysv/namei.ccurrent->fsuid != new_dir->i_uid && !fsuser())
current55fs/sysv/symlink.cdir = current->fs->root;
current67fs/sysv/symlink.cif (current->link_count > 5) {
current78fs/sysv/symlink.ccurrent->link_count++;
current80fs/sysv/symlink.ccurrent->link_count--;
current278fs/sysv/truncate.ccurrent->counter = 0;
current35fs/umsdos/check.cint stack_level = (long)(&pg_dir)-current->kernel_stack_page;
current37fs/umsdos/check.cpg_dir = current->tss.cr3;
current33fs/umsdos/ioctl.cif (current->euid == 0
current35fs/umsdos/namei.c&& dir->u.umsdos_i.u.dir_info.pid != current->pid){
current89fs/umsdos/namei.cdir->u.umsdos_i.u.dir_info.pid = current->pid;
current108fs/umsdos/namei.cdir1->u.umsdos_i.u.dir_info.pid = current->pid;
current110fs/umsdos/namei.cdir2->u.umsdos_i.u.dir_info.pid = current->pid;
current219fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
current221fs/umsdos/namei.c? dir->i_gid : current->fsgid;
current236fs/umsdos/namei.c,info.fake.fname,current->pid,info.f_pos));
current263fs/umsdos/namei.c,info.fake.fname,-ret,current->pid,info.f_pos);
current298fs/umsdos/namei.cif (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page){\
current300fs/umsdos/namei.c, current->comm,STACK_MAGIC \
current301fs/umsdos/namei.c,*(unsigned long *)current->kernel_stack_page \
current664fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
current666fs/umsdos/namei.c? dir->i_gid : current->fsgid;
current59fs/umsdos/symlink.cif (current->link_count < 5) {
current65fs/umsdos/symlink.cdir = current->fs[1].root;
current84fs/umsdos/symlink.ccurrent->link_count++;
current86fs/umsdos/symlink.ccurrent->link_count--;
current325fs/xiafs/bitmap.cinode->i_uid = current->fsuid;
current326fs/xiafs/bitmap.cinode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
current297fs/xiafs/namei.cinode->i_uid = current->fsuid;
current380fs/xiafs/namei.cinode->i_mode = S_IFDIR | (mode & S_IRWXUGO & ~current->fs->umask);
current500fs/xiafs/namei.ccurrent->fsuid != inode->i_uid &&
current501fs/xiafs/namei.ccurrent->fsuid != dir->i_uid)
current557fs/xiafs/namei.ccurrent->counter = 0;
current562fs/xiafs/namei.ccurrent->fsuid != inode->i_uid &&
current563fs/xiafs/namei.ccurrent->fsuid != dir->i_uid)
current733fs/xiafs/namei.ccurrent->fsuid != old_inode->i_uid &&
current734fs/xiafs/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
current754fs/xiafs/namei.ccurrent->fsuid != new_inode->i_uid &&
current755fs/xiafs/namei.ccurrent->fsuid != new_dir->i_uid && !fsuser())
current792fs/xiafs/namei.ccurrent->counter=0;
current83fs/xiafs/symlink.cdir = current->fs->root;
current99fs/xiafs/symlink.cif (current->link_count > 5) {
current110fs/xiafs/symlink.ccurrent->link_count++;
current112fs/xiafs/symlink.ccurrent->link_count--;
current192fs/xiafs/truncate.ccurrent->counter = 0;
current387ibcs/binfmt_coff.cfp = current->files->fd[fd];
current444ibcs/binfmt_coff.ccurrent->mm->mmap        = NULL;
current445ibcs/binfmt_coff.ccurrent->mm->rss         = 0;
current458ibcs/binfmt_coff.ccurrent->mm->start_code  = text_vaddr & PAGE_MASK;
current459ibcs/binfmt_coff.ccurrent->mm->end_code    = text_vaddr + text_size;
current460ibcs/binfmt_coff.ccurrent->mm->end_data    = data_vaddr + data_size;
current461ibcs/binfmt_coff.ccurrent->mm->start_brk   =
current462ibcs/binfmt_coff.ccurrent->mm->brk         = bss_vaddr + bss_size;
current463ibcs/binfmt_coff.ccurrent->suid            =
current464ibcs/binfmt_coff.ccurrent->euid            = bprm->e_uid;
current465ibcs/binfmt_coff.ccurrent->sgid            =
current466ibcs/binfmt_coff.ccurrent->egid            = bprm->e_gid;
current467ibcs/binfmt_coff.ccurrent->executable      = bprm->inode; /* Store inode for file  */
current471ibcs/binfmt_coff.ccurrent->mm->start_stack = bprm->p;
current557ibcs/binfmt_coff.csend_sig (SIGSEGV, current, 0);  /* Generate the error trap  */
current559ibcs/binfmt_coff.cif (current->flags & PF_PTRACED)
current560ibcs/binfmt_coff.csend_sig (SIGTRAP, current, 0);
current759ibcs/binfmt_coff.cfile           = current->files->fd[fd];
current65ibcs/binfmt_elf.cmpnt->vm_task = current;
current75ibcs/binfmt_elf.cinsert_vm_struct(current, mpnt);
current106ibcs/binfmt_elf.ccurrent->mm->arg_start = (unsigned long) p;
current112ibcs/binfmt_elf.ccurrent->mm->arg_end = current->mm->env_start = (unsigned long) p;
current118ibcs/binfmt_elf.ccurrent->mm->env_end = (unsigned long) p;
current173ibcs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
current222ibcs/binfmt_elf.ccurrent->mm->brk = interp_ex->a_bss +
current223ibcs/binfmt_elf.c(current->mm->end_data = interp_ex->a_data +
current224ibcs/binfmt_elf.c(current->mm->end_code = interp_ex->a_text));
current330ibcs/binfmt_elf.cfile = current->files->fd[elf_exec_fileno];
current428ibcs/binfmt_elf.ccurrent->mm->end_data = 0;
current429ibcs/binfmt_elf.ccurrent->mm->end_code = 0;
current430ibcs/binfmt_elf.ccurrent->mm->start_mmap = ELF_START_MMAP;
current431ibcs/binfmt_elf.ccurrent->mm->mmap = NULL;
current436ibcs/binfmt_elf.ccurrent->mm->rss = 0;
current438ibcs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
current471ibcs/binfmt_elf.csend_sig(SIGSEGV, current, 0);
current515ibcs/binfmt_elf.ccurrent->personality = PER_LINUX;
current516ibcs/binfmt_elf.ccurrent->lcall7 = no_lcall7;
current517ibcs/binfmt_elf.ccurrent->signal_map = current->signal_invmap = ident_map;
current519ibcs/binfmt_elf.ccurrent->executable = bprm->inode;
current522ibcs/binfmt_elf.ccurrent->start_stack = p = elf_stack - 4;
current533ibcs/binfmt_elf.ccurrent->mm->arg_start += strlen(passed_fileno) + 1;
current534ibcs/binfmt_elf.ccurrent->mm->start_brk = current->mm->brk = elf_brk;
current535ibcs/binfmt_elf.ccurrent->mm->end_code = end_code;
current536ibcs/binfmt_elf.ccurrent->mm->start_code = start_code;
current537ibcs/binfmt_elf.ccurrent->mm->end_data = end_data;
current538ibcs/binfmt_elf.ccurrent->mm->start_stack = bprm->p;
current539ibcs/binfmt_elf.ccurrent->suid = current->euid = bprm->e_uid;
current540ibcs/binfmt_elf.ccurrent->sgid = current->egid = bprm->e_gid;
current544ibcs/binfmt_elf.ccurrent->mm->brk = (elf_bss + 0xfff) & 0xfffff000;
current558ibcs/binfmt_elf.cif (current->flags & PF_PTRACED)
current559ibcs/binfmt_elf.csend_sig(SIGTRAP, current, 0);
current579ibcs/binfmt_elf.cfile = current->files->fd[fd];
current67include/linux/kernel.h#define suser() (current->euid == 0)
current68include/linux/kernel.h#define fsuser() (current->fsuid == 0)
current358include/linux/sched.hextern struct task_struct *current;
current530include/linux/sched.hentry->wait.task = current;
current619include/linux/sched.h:"m" (current->debugreg[register]) \
current599init/main.ccurrent->fs->root = pseudo_root;
current600init/main.ccurrent->fs->pwd  = pseudo_root;
current72ipc/msg.cif (current->signal & ~current->blocked)
current104ipc/msg.cmsq->msg_lspid = current->pid;
current189ipc/msg.cmsq->msg_lrpid = current->pid;
current202ipc/msg.cif (current->signal & ~current->blocked)
current251ipc/msg.cipcp->cuid = ipcp->uid = current->euid;
current252ipc/msg.cipcp->gid = ipcp->cgid = current->egid;
current420ipc/msg.cif (!suser() && current->euid != ipcp->cuid && 
current421ipc/msg.ccurrent->euid != ipcp->uid)
current433ipc/msg.cif (!suser() && current->euid != ipcp->cuid && 
current434ipc/msg.ccurrent->euid != ipcp->uid)
current87ipc/sem.cipcp->cuid = ipcp->uid = current->euid;
current88ipc/sem.cipcp->gid = ipcp->cgid = current->egid;
current252ipc/sem.cif (suser() || current->euid == ipcp->cuid || 
current253ipc/sem.ccurrent->euid == ipcp->uid) {
current307ipc/sem.cif (suser() || current->euid == ipcp->cuid || 
current308ipc/sem.ccurrent->euid == ipcp->uid) {
current387ipc/sem.cfor (un = current->semundo; un; un = un->proc_next) 
current400ipc/sem.cun->proc_next = current->semundo;
current401ipc/sem.ccurrent->semundo = un;
current418ipc/sem.cif (current->signal & ~current->blocked) 
current428ipc/sem.cif (current->signal & ~current->blocked)
current440ipc/sem.ccurr->sempid = current->pid;
current445ipc/sem.cfor (un = current->semundo; un; un = un->proc_next) 
current474ipc/sem.cfor (up = &current->semundo; (u = *up); *up = u->proc_next, kfree(u)) {
current496ipc/sem.csem->sempid = current->pid;
current504ipc/sem.cif (current->signal & ~current->blocked)
current511ipc/sem.ccurrent->semundo = NULL;
current110ipc/shm.cshp->shm_perm.cuid = shp->shm_perm.uid = current->euid;
current111ipc/shm.cshp->shm_perm.cgid = shp->shm_perm.gid = current->egid;
current114ipc/shm.cshp->shm_cpid = current->pid;
current321ipc/shm.cif (suser() || current->euid == shp->shm_perm.uid ||
current322ipc/shm.ccurrent->euid == shp->shm_perm.cuid) {
current332ipc/shm.cif (suser() || current->euid == shp->shm_perm.uid ||
current333ipc/shm.ccurrent->euid == shp->shm_perm.cuid) {
current399ipc/shm.cinsert_vm_struct(current, shmd);
current400ipc/shm.cmerge_segments(current->mm->mmap);
current410ipc/shm.c--current->mm->rss;
current479ipc/shm.cif ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) {
current484ipc/shm.cfor (shmd = current->mm->mmap; shmd; shmd = shmd->vm_next)
current508ipc/shm.cshmd->vm_task = current;
current528ipc/shm.cshp->shm_lpid = current->pid;
current553ipc/shm.cshp->shm_lpid = current->pid;
current588ipc/shm.cshp->shm_lpid = current->pid;
current602ipc/shm.cfor (shmd = current->mm->mmap; shmd; shmd = shmdnext) {
current638ipc/shm.coom(current);
current657ipc/shm.c--current->mm->maj_flt;  /* was incremented in do_no_page */
current660ipc/shm.ccurrent->mm->min_flt++;
current55ipc/util.cif (current->euid == ipcp->cuid || current->euid == ipcp->uid)
current31kernel/exec_domain.csend_sig(SIGSEGV, current, 1);
current87kernel/exec_domain.creturn current->personality;
current93kernel/exec_domain.cold_personality = current->personality;
current94kernel/exec_domain.cif (current->exec_domain && current->exec_domain->use_count)
current95kernel/exec_domain.c(*current->exec_domain->use_count)--;
current96kernel/exec_domain.ccurrent->personality = personality;
current97kernel/exec_domain.ccurrent->exec_domain = it;
current98kernel/exec_domain.cif (current->exec_domain->use_count)
current99kernel/exec_domain.c(*current->exec_domain->use_count)++;
current49kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
current50kernel/exit.c(current->euid != p->euid) && (current->uid != p->uid) && !suser())
current88kernel/exit.cif (p == current) {
current289kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
current293kernel/exit.cif (p->pid > 1 && p != current) {
current361kernel/exit.cmpnt = current->mm->mmap;
current362kernel/exit.ccurrent->mm->mmap = NULL;
current377kernel/exit.ccurrent->tss.ldt = 0;
current378kernel/exit.cif (current->ldt) {
current379kernel/exit.cvoid * ldt = current->ldt;
current380kernel/exit.ccurrent->ldt = NULL;
current384kernel/exit.cfree_page_tables(current);
current392kernel/exit.cif (current->files->fd[i])
current398kernel/exit.ciput(current->fs->pwd);
current399kernel/exit.ccurrent->fs->pwd = NULL;
current400kernel/exit.ciput(current->fs->root);
current401kernel/exit.ccurrent->fs->root = NULL;
current413kernel/exit.cif (current->semundo)
current418kernel/exit.cforget_original_parent(current);
current428kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
current429kernel/exit.c(current->p_pptr->session == current->session) &&
current430kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
current431kernel/exit.chas_stopped_jobs(current->pgrp)) {
current432kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
current433kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
current436kernel/exit.cnotify_parent(current);
current446kernel/exit.cwhile ((p = current->p_cptr) != NULL) {
current447kernel/exit.ccurrent->p_cptr = p->p_osptr;
current450kernel/exit.cif (task[1] && task[1] != current)
current465kernel/exit.cif ((p->pgrp != current->pgrp) &&
current466kernel/exit.c(p->session == current->session) &&
current473kernel/exit.cif (current->leader)
current475kernel/exit.cif (last_task_used_math == current)
current477kernel/exit.ccurrent->state = TASK_ZOMBIE;
current478kernel/exit.ccurrent->exit_code = code;
current479kernel/exit.ccurrent->mm->rss = 0;
current483kernel/exit.cif (current->exec_domain && current->exec_domain->use_count)
current484kernel/exit.c(*current->exec_domain->use_count)--;
current485kernel/exit.cif (current->binfmt && current->binfmt->use_count)
current486kernel/exit.c(*current->binfmt->use_count)--;
current512kernel/exit.cstruct wait_queue wait = { current, NULL };
current520kernel/exit.cadd_wait_queue(&current->wait_chldexit,&wait);
current523kernel/exit.cfor (p = current->p_cptr ; p ; p = p->p_osptr) {
current528kernel/exit.cif (p->pgrp != current->pgrp)
current553kernel/exit.ccurrent->cutime += p->utime + p->cutime;
current554kernel/exit.ccurrent->cstime += p->stime + p->cstime;
current555kernel/exit.ccurrent->mm->cmin_flt += p->mm->min_flt + p->mm->cmin_flt;
current556kernel/exit.ccurrent->mm->cmaj_flt += p->mm->maj_flt + p->mm->cmaj_flt;
current582kernel/exit.ccurrent->state=TASK_INTERRUPTIBLE;
current584kernel/exit.ccurrent->signal &= ~(1<<(SIGCHLD-1));
current586kernel/exit.cif (current->signal & ~current->blocked)
current592kernel/exit.cremove_wait_queue(&current->wait_chldexit,&wait);
current56kernel/fork.cif (task[i]->uid == current->uid)
current64kernel/fork.cif (current->uid)
current97kernel/fork.cfor (mpnt = current->mm->mmap ; mpnt ; mpnt = mpnt->vm_next) {
current155kernel/fork.cif (current->fs->pwd)
current156kernel/fork.ccurrent->fs->pwd->i_count++;
current157kernel/fork.cif (current->fs->root)
current158kernel/fork.ccurrent->fs->root->i_count++;
current181kernel/fork.c*p = *current;
current193kernel/fork.cp->p_pptr = p->p_opptr = current;
current237kernel/fork.cmemcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE);
current242kernel/fork.cif (last_task_used_math == current)
current255kernel/fork.cp->counter = current->counter >> 1;
current33kernel/ioport.cint numl = sizeof(current->tss.io_bitmap) >> 2;
current38kernel/ioport.cprintk("%s ", ios(current->tss.io_bitmap[j++]));
current40kernel/ioport.cprintk("%s", ios(current->tss.io_bitmap[j++]));
current126kernel/ioport.cset_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on);
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;
current89kernel/itimer.ccurrent->it_real_value = j;
current90kernel/itimer.ccurrent->it_real_incr = i;
current95kernel/itimer.ccurrent->it_virt_value = j;
current96kernel/itimer.ccurrent->it_virt_incr = i;
current101kernel/itimer.ccurrent->it_prof_value = j;
current102kernel/itimer.ccurrent->it_prof_incr = i;
current174kernel/ksyms.cX(current),
current18kernel/ldt.cvoid * address = current->ldt;
current64kernel/ldt.cif (!current->ldt) {
current66kernel/ldt.cif (task[i] == current) {
current67kernel/ldt.cif (!(current->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE)))
current69kernel/ldt.cset_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES);
current75kernel/ldt.clp = (unsigned long *) &current->ldt[ldt_info.entry_number];
current27kernel/panic.cif (current == task[0])
current78kernel/printk.cif (current->signal & ~current->blocked) {
current281kernel/ptrace.cif (current->flags & PF_PTRACED)
current284kernel/ptrace.ccurrent->flags |= PF_PTRACED;
current292kernel/ptrace.cif (child == current)
current295kernel/ptrace.c(current->uid != child->euid) ||
current296kernel/ptrace.c(current->uid != child->uid) ||
current297kernel/ptrace.c(current->gid != child->egid) ||
current298kernel/ptrace.c(current->gid != child->gid)) && !suser())
current304kernel/ptrace.cif (child->p_pptr != current) {
current306kernel/ptrace.cchild->p_pptr = current;
current318kernel/ptrace.cif (child->p_pptr != current)
current502kernel/ptrace.cif ((current->flags & (PF_PTRACED|PF_TRACESYS))
current505kernel/ptrace.ccurrent->exit_code = SIGTRAP;
current506kernel/ptrace.ccurrent->state = TASK_STOPPED;
current507kernel/ptrace.cnotify_parent(current);
current514kernel/ptrace.cif (current->exit_code)
current515kernel/ptrace.ccurrent->signal |= (1 << (current->exit_code - 1));
current516kernel/ptrace.ccurrent->exit_code = 0;
current100kernel/sched.cstruct task_struct *current = &init_task;
current124kernel/sched.cif (last_task_used_math == current)
current132kernel/sched.clast_task_used_math = current;
current133kernel/sched.cif (current->used_math) {
current134kernel/sched.c__asm__("frstor %0": :"m" (current->tss.i387));
current137kernel/sched.ccurrent->used_math=1;
current147kernel/sched.cprintk("killing %s.\n",current->comm);
current148kernel/sched.csend_sig(SIGFPE,current,1);
current227kernel/sched.cif (TASK_UNINTERRUPTIBLE >= (unsigned) current->state &&
current228kernel/sched.ccurrent->counter < current->priority*2) {
current229kernel/sched.c++current->counter;
current245kernel/sched.cif (current == next)
current250kernel/sched.cif(current->debugreg[7]){
current261kernel/sched.ccurrent->state = TASK_INTERRUPTIBLE;
current286kernel/sched.cif (p->counter > current->counter + 3)
current313kernel/sched.cif (p->counter > current->counter + 3)
current331kernel/sched.cstruct wait_queue wait = { current, NULL };
current333kernel/sched.ccurrent->state = TASK_UNINTERRUPTIBLE;
current336kernel/sched.ccurrent->state = TASK_UNINTERRUPTIBLE;
current338kernel/sched.ccurrent->state = TASK_RUNNING;
current345kernel/sched.cstruct wait_queue wait = { current, NULL };
current349kernel/sched.cif (current == task[0])
current351kernel/sched.ccurrent->state = state;
current660kernel/sched.ccurrent->utime++;
current661kernel/sched.cif (current != task[0]) {
current662kernel/sched.cif (current->priority < 15)
current668kernel/sched.cif (current->it_virt_value && !(--current->it_virt_value)) {
current669kernel/sched.ccurrent->it_virt_value = current->it_virt_incr;
current670kernel/sched.csend_sig(SIGVTALRM,current,1);
current673kernel/sched.ccurrent->stime++;
current674kernel/sched.cif(current != task[0])
current677kernel/sched.cif (prof_buffer && current != task[0]) {
current688kernel/sched.cif ((current->rlim[RLIMIT_CPU].rlim_max != RLIM_INFINITY) &&
current689kernel/sched.c(((current->stime + current->utime) / HZ) >= current->rlim[RLIMIT_CPU].rlim_max))
current690kernel/sched.csend_sig(SIGKILL, current, 1);
current691kernel/sched.cif ((current->rlim[RLIMIT_CPU].rlim_cur != RLIM_INFINITY) &&
current692kernel/sched.c(((current->stime + current->utime) % HZ) == 0)) {
current693kernel/sched.cpsecs = (current->stime + current->utime) / HZ;
current695kernel/sched.cif (psecs == current->rlim[RLIMIT_CPU].rlim_cur)
current696kernel/sched.csend_sig(SIGXCPU, current, 1);
current698kernel/sched.celse if ((psecs > current->rlim[RLIMIT_CPU].rlim_cur) &&
current699kernel/sched.c((psecs - current->rlim[RLIMIT_CPU].rlim_cur) % 5) == 0)
current700kernel/sched.csend_sig(SIGXCPU, current, 1);
current703kernel/sched.cif (current != task[0] && 0 > --current->counter) {
current704kernel/sched.ccurrent->counter = 0;
current708kernel/sched.cif (current->it_prof_value && !(--current->it_prof_value)) {
current709kernel/sched.ccurrent->it_prof_value = current->it_prof_incr;
current710kernel/sched.csend_sig(SIGPROF,current,1);
current745kernel/sched.creturn current->pid;
current750kernel/sched.creturn current->p_opptr->pid;
current755kernel/sched.creturn current->uid;
current760kernel/sched.creturn current->euid;
current765kernel/sched.creturn current->gid;
current770kernel/sched.creturn current->egid;
current779kernel/sched.cnewprio = current->priority - increment;
current784kernel/sched.ccurrent->priority = newprio;
current793kernel/sched.cprintk("%-8s %3d ", p->comm, (p == current) ? -nr : nr);
current798kernel/sched.cif (p == current)
current25kernel/signal.csigset_t new_set, old_set = current->blocked;
current35kernel/signal.ccurrent->blocked |= new_set;
current38kernel/signal.ccurrent->blocked &= ~new_set;
current41kernel/signal.ccurrent->blocked = new_set;
current58kernel/signal.creturn current->blocked;
current63kernel/signal.cint old=current->blocked;
current65kernel/signal.ccurrent->blocked = newmask & _BLOCKABLE;
current75kernel/signal.cput_fs_long(current->blocked & current->signal, (unsigned long *)set);
current87kernel/signal.cmask = current->blocked;
current88kernel/signal.ccurrent->blocked = set & _BLOCKABLE;
current91kernel/signal.ccurrent->state = TASK_INTERRUPTIBLE;
current117kernel/signal.cp = signum - 1 + current->sigaction;
current121kernel/signal.ccurrent->signal &= ~_S(signum);
current127kernel/signal.ccurrent->signal &= ~_S(signum);
current146kernel/signal.chandler = (long) current->sigaction[signum-1].sa_handler;
current147kernel/signal.ccurrent->sigaction[signum-1] = tmp;
current161kernel/signal.cp = signum - 1 + current->sigaction;
current208kernel/signal.ccurrent->blocked = context.oldmask & _BLOCKABLE;
current247kernel/signal.cif (current->exec_domain && current->exec_domain->signal_invmap)
current248kernel/signal.cput_fs_long(current->exec_domain->signal_invmap[signr], frame+1);
current263kernel/signal.cput_fs_long(current->tss.trap_no, frame+14);
current264kernel/signal.cput_fs_long(current->tss.error_code, frame+15);
current273kernel/signal.cput_fs_long(current->tss.cr2, frame+23);
current294kernel/signal.cunsigned long mask = ~current->blocked;
current301kernel/signal.cwhile ((signr = current->signal & mask)) {
current304kernel/signal.c:"=m" (current->signal),"=r" (signr)
current306kernel/signal.csa = current->sigaction + signr;
current308kernel/signal.cif ((current->flags & PF_PTRACED) && signr != SIGKILL) {
current309kernel/signal.ccurrent->exit_code = signr;
current310kernel/signal.ccurrent->state = TASK_STOPPED;
current311kernel/signal.cnotify_parent(current);
current313kernel/signal.cif (!(signr = current->exit_code))
current315kernel/signal.ccurrent->exit_code = 0;
current318kernel/signal.cif (_S(signr) & current->blocked) {
current319kernel/signal.ccurrent->signal |= _S(signr);
current322kernel/signal.csa = current->sigaction + signr - 1;
current333kernel/signal.cif (current->pid == 1)
current340kernel/signal.cif (current->flags & PF_PTRACED)
current342kernel/signal.ccurrent->state = TASK_STOPPED;
current343kernel/signal.ccurrent->exit_code = signr;
current344kernel/signal.cif (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & 
current346kernel/signal.cnotify_parent(current);
current352kernel/signal.cif (current->binfmt && current->binfmt->core_dump) {
current353kernel/signal.cif (current->binfmt->core_dump(signr, regs))
current358kernel/signal.ccurrent->signal |= _S(signr & 0x7f);
current385kernel/signal.csa = current->sigaction;
current400kernel/signal.ccurrent->blocked |= sa->sa_mask;
current405kernel/signal.ccurrent->tss.trap_no = current->tss.error_code = 0;
current42kernel/sys.cif (current->pid != 0)
current50kernel/sys.ccurrent->counter = -100;
current62kernel/sys.cif (!who && p == current)
current67kernel/sys.cwho = current->pgrp;
current71kernel/sys.cwho = current->uid;
current92kernel/sys.cif ((*p)->uid != current->euid &&
current93kernel/sys.c(*p)->uid != current->uid && !suser()) {
current212kernel/sys.cint old_rgid = current->gid;
current216kernel/sys.c(current->egid==rgid) ||
current218kernel/sys.ccurrent->gid = rgid;
current224kernel/sys.c(current->egid == egid) ||
current225kernel/sys.c(current->sgid == egid) ||
current227kernel/sys.ccurrent->egid = egid;
current229kernel/sys.ccurrent->gid = old_rgid;
current235kernel/sys.ccurrent->sgid = current->egid;
current236kernel/sys.ccurrent->fsgid = current->egid;
current246kernel/sys.ccurrent->gid = current->egid = current->sgid = current->fsgid = gid;
current247kernel/sys.celse if ((gid == current->gid) || (gid == current->sgid))
current248kernel/sys.ccurrent->egid = current->fsgid = gid;
current301kernel/sys.cint old_ruid = current->uid;
current305kernel/sys.c(current->euid==ruid) ||
current307kernel/sys.ccurrent->uid = ruid;
current313kernel/sys.c(current->euid == euid) ||
current314kernel/sys.c(current->suid == euid) ||
current316kernel/sys.ccurrent->euid = euid;
current318kernel/sys.ccurrent->uid = old_ruid;
current324kernel/sys.ccurrent->suid = current->euid;
current325kernel/sys.ccurrent->fsuid = current->euid;
current343kernel/sys.ccurrent->uid = current->euid = current->suid = current->fsuid = uid;
current344kernel/sys.celse if ((uid == current->uid) || (uid == current->suid))
current345kernel/sys.ccurrent->fsuid = current->euid = uid;
current359kernel/sys.cint old_fsuid = current->fsuid;
current361kernel/sys.cif (uid == current->uid || uid == current->euid ||
current362kernel/sys.cuid == current->suid || uid == current->fsuid || suser())
current363kernel/sys.ccurrent->fsuid = uid;
current372kernel/sys.cint old_fsgid = current->fsgid;
current374kernel/sys.cif (gid == current->gid || gid == current->egid ||
current375kernel/sys.cgid == current->sgid || gid == current->fsgid || suser())
current376kernel/sys.ccurrent->fsgid = gid;
current386kernel/sys.cput_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime);
current387kernel/sys.cput_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime);
current388kernel/sys.cput_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime);
current389kernel/sys.cput_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime);
current401kernel/sys.cif (brk < current->mm->end_code)
current402kernel/sys.creturn current->mm->brk;
current404kernel/sys.coldbrk = PAGE_ALIGN(current->mm->brk);
current406kernel/sys.creturn current->mm->brk = brk;
current411kernel/sys.cif (brk <= current->mm->brk) {
current412kernel/sys.ccurrent->mm->brk = brk;
current419kernel/sys.crlim = current->rlim[RLIMIT_DATA].rlim_cur;
current422kernel/sys.cif (brk - current->mm->end_code > rlim ||
current423kernel/sys.cbrk >= current->mm->start_stack - 16384)
current424kernel/sys.creturn current->mm->brk;
current428kernel/sys.cfor (vma = current->mm->mmap; vma; vma = vma->vm_next) {
current432kernel/sys.creturn current->mm->brk;
current445kernel/sys.creturn current->mm->brk;
current447kernel/sys.cfreepages += current->mm->rss;
current450kernel/sys.creturn current->mm->brk;
current455kernel/sys.ccurrent->mm->brk = brk;
current479kernel/sys.cpid = current->pid;
current491kernel/sys.cif (p->p_pptr == current || p->p_opptr == current) {
current492kernel/sys.cif (p->session != current->session)
current496kernel/sys.c} else if (p != current)
current504kernel/sys.ctmp->session == current->session)
current520kernel/sys.creturn current->pgrp;
current530kernel/sys.creturn current->pgrp;
current535kernel/sys.cif (current->leader)
current537kernel/sys.ccurrent->leader = 1;
current538kernel/sys.ccurrent->session = current->pgrp = current->pid;
current539kernel/sys.ccurrent->tty = NULL;
current540kernel/sys.creturn current->pgrp;
current555kernel/sys.cfor (i = 0 ; (i < NGROUPS) && (current->groups[i] != NOGROUP) ; i++) {
current560kernel/sys.cput_fs_word(current->groups[i], (short *) grouplist);
current575kernel/sys.ccurrent->groups[i] = get_fs_word((unsigned short *) grouplist);
current578kernel/sys.ccurrent->groups[i] = NOGROUP;
current586kernel/sys.cif (grp == current->fsgid)
current590kernel/sys.cif (current->groups[i] == NOGROUP)
current592kernel/sys.cif (current->groups[i] == grp)
current700kernel/sys.cput_fs_long(current->rlim[resource].rlim_cur, 
current702kernel/sys.cput_fs_long(current->rlim[resource].rlim_max, 
current718kernel/sys.cold_rlim = current->rlim + resource;
current778kernel/sys.creturn getrusage(current, who, ru);
current783kernel/sys.cint old = current->fs->umask;
current785kernel/sys.ccurrent->fs->umask = mask & S_IRWXUGO;
current36kernel/traps.cif (signr == SIGTRAP && current->flags & PF_PTRACED) \
current37kernel/traps.ccurrent->blocked &= ~(1 << (SIGTRAP-1)); \
current104kernel/traps.cif (STACK_MAGIC != *(unsigned long *)current->kernel_stack_page)
current107kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
current117kernel/traps.cDO_ERROR( 0, SIGFPE,  "divide error", divide_error, current)
current118kernel/traps.cDO_ERROR( 3, SIGTRAP, "int3", int3, current)
current119kernel/traps.cDO_ERROR( 4, SIGSEGV, "overflow", overflow, current)
current120kernel/traps.cDO_ERROR( 5, SIGSEGV, "bounds", bounds, current)
current121kernel/traps.cDO_ERROR( 6, SIGILL,  "invalid operand", invalid_op, current)
current122kernel/traps.cDO_ERROR( 7, SIGSEGV, "device not available", device_not_available, current)
current123kernel/traps.cDO_ERROR( 8, SIGSEGV, "double fault", double_fault, current)
current125kernel/traps.cDO_ERROR(10, SIGSEGV, "invalid TSS", invalid_TSS, current)
current126kernel/traps.cDO_ERROR(11, SIGBUS,  "segment not present", segment_not_present, current)
current127kernel/traps.cDO_ERROR(12, SIGBUS,  "stack segment", stack_segment, current)
current128kernel/traps.cDO_ERROR(15, SIGSEGV, "reserved", reserved, current)
current129kernel/traps.cDO_ERROR(17, SIGSEGV, "alignment check", alignment_check, current)
current147kernel/traps.ccurrent->tss.error_code = error_code;
current148kernel/traps.ccurrent->tss.trap_no = 13;
current149kernel/traps.csend_sig(signr, current, 1);  
current164kernel/traps.cif (current->flags & PF_PTRACED)
current165kernel/traps.ccurrent->blocked &= ~(1 << (SIGTRAP-1));
current166kernel/traps.csend_sig(SIGTRAP, current, 1);
current167kernel/traps.ccurrent->tss.trap_no = 1;
current168kernel/traps.ccurrent->tss.error_code = error_code;
current42kernel/vm86.c#define VFLAGS  (*(unsigned short *)&(current->v86flags))
current43kernel/vm86.c#define VEFLAGS  (current->v86flags)
current55kernel/vm86.cif (!current->vm86_info) {
current59kernel/vm86.cset_flags(regs->eflags, VEFLAGS, VIF_MASK | current->v86mask);
current60kernel/vm86.cmemcpy_tofs(&current->vm86_info->regs,regs,sizeof(*regs));
current61kernel/vm86.cput_fs_long(current->screen_bitmap,&current->vm86_info->screen_bitmap);
current62kernel/vm86.ctmp = current->tss.esp0;
current63kernel/vm86.ccurrent->tss.esp0 = current->saved_kernel_stack;
current64kernel/vm86.ccurrent->saved_kernel_stack = 0;
current94kernel/vm86.cif (current->saved_kernel_stack)
current120kernel/vm86.ccurrent->v86mask = 0;
current123kernel/vm86.ccurrent->v86mask = NT_MASK | IOPL_MASK;
current126kernel/vm86.ccurrent->v86mask = AC_MASK | NT_MASK | IOPL_MASK;
current129kernel/vm86.ccurrent->v86mask = ID_MASK | AC_MASK | NT_MASK | IOPL_MASK;
current137kernel/vm86.ccurrent->saved_kernel_stack = current->tss.esp0;
current138kernel/vm86.ccurrent->tss.esp0 = (unsigned long) pt_regs;
current139kernel/vm86.ccurrent->vm86_info = v86;
current141kernel/vm86.ccurrent->screen_bitmap = info.screen_bitmap;
current143kernel/vm86.cmark_screen_rdonly(current);
current181kernel/vm86.cset_flags(VEFLAGS, eflags, current->v86mask);
current189kernel/vm86.cset_flags(VFLAGS, flags, current->v86mask);
current201kernel/vm86.creturn flags | (VEFLAGS & current->v86mask);
current290kernel/vm86.cis_revectored(i, &current->vm86_info->int_revectored))
current292kernel/vm86.cif (i==0x21 && is_revectored(AH(regs),&current->vm86_info->int21_revectored))
current310kernel/vm86.cif (current->flags & PF_PTRACED)
current311kernel/vm86.ccurrent->blocked &= ~(1 << (SIGTRAP-1));
current312kernel/vm86.csend_sig(SIGTRAP, current, 1);
current313kernel/vm86.ccurrent->tss.trap_no = 1;
current314kernel/vm86.ccurrent->tss.error_code = error_code;
current187mm/memory.cif (tsk == current)
current210mm/memory.cpg_dir = current->tss.cr3;
current229mm/memory.cold_pg_dir = current->tss.cr3;
current299mm/memory.cdir = PAGE_DIR_OFFSET(current->tss.cr3,from);
current324mm/memory.cif (current->mm->rss > 0)
current325mm/memory.c--current->mm->rss;
current357mm/memory.cdir = PAGE_DIR_OFFSET(current->tss.cr3,from);
current384mm/memory.cif (current->mm->rss > 0)
current385mm/memory.c--current->mm->rss;
current419mm/memory.cdir = PAGE_DIR_OFFSET(current->tss.cr3,from);
current446mm/memory.cif (current->mm->rss > 0)
current447mm/memory.c--current->mm->rss;
current468mm/memory.c++current->mm->rss;
current640mm/memory.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next) {
current650mm/memory.cif (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur)
current884mm/memory.coom(current);
current943mm/memory.coom(current);
current971mm/memory.coom(current);
current987mm/memory.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next) {
current997mm/memory.cif (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur)
current1009mm/memory.ccurrent->screen_bitmap |= 1 << bit;
current1032mm/memory.ccurrent->tss.cr2 = address;
current1033mm/memory.ccurrent->tss.error_code = error_code;
current1034mm/memory.ccurrent->tss.trap_no = 14;
current1035mm/memory.csend_sig(SIGSEGV, current, 1);
current1057mm/memory.ccurrent->tss.cr3, page);
current116mm/mmap.cvma->vm_task = current;
current149mm/mmap.cinsert_vm_struct(current, vma);
current150mm/mmap.cmerge_segments(current->mm->mmap);
current164mm/mmap.cfor (vmm = current->mm->mmap; ; vmm = vmm->vm_next) {
current191mm/mmap.cif (fd >= NR_OPEN || !(file = current->files->fd[fd]))
current268mm/mmap.cinsert_vm_struct(current, mpnt);
current282mm/mmap.cinsert_vm_struct(current, mpnt);
current312mm/mmap.cnpp = &current->mm->mmap;
current27mm/mprotect.cdir = PAGE_DIR_OFFSET(current->tss.cr3, start);
current80mm/mprotect.cinsert_vm_struct(current, n);
current103mm/mprotect.cinsert_vm_struct(current, n);
current137mm/mprotect.cinsert_vm_struct(current, left);
current138mm/mprotect.cinsert_vm_struct(current, right);
current191mm/mprotect.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next) {
current228mm/mprotect.cmerge_segments(current->mm->mmap);
current280mm/swap.coom(current);
current374net/inet/af_inet.cif (!suser() && current->pgrp != -arg &&
current375net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);
current728net/inet/af_inet.ccurrent->timeout = jiffies + HZ*sk->lingertime;
current729net/inet/af_inet.cwhile(sk->state != TCP_CLOSE && current->timeout>0) 
current732net/inet/af_inet.cif (current->signal & ~current->blocked) 
current738net/inet/af_inet.ccurrent->timeout=0;
current743net/inet/af_inet.ccurrent->timeout=0;
current906net/inet/af_inet.cif (current->signal & ~current->blocked) 
current998net/inet/af_inet.cif (current->signal & ~current->blocked) 
current1102net/inet/af_inet.csend_sig(SIGPIPE, current, 1);
current1124net/inet/af_inet.csend_sig(SIGPIPE, current, 1);
current102net/inet/datagram.cif (current->signal & ~current->blocked)
current465net/inet/sock.cif (current->signal & ~current->blocked) 
current1025net/inet/tcp.csend_sig(SIGPIPE, current, 0);
current1045net/inet/tcp.cif (current->signal & ~current->blocked) 
current1183net/inet/tcp.cif (current->signal & ~current->blocked) 
current1518net/inet/tcp.cstruct wait_queue wait = { current, NULL };
current1550net/inet/tcp.ccurrent->state = TASK_INTERRUPTIBLE;
current1608net/inet/tcp.cif (current->signal & ~current->blocked) 
current1652net/inet/tcp.ccurrent->state = TASK_RUNNING;
current3551net/inet/tcp.cif (current->signal & ~current->blocked) 
current167net/socket.cif (!current->files->fd[fd]) 
current175net/socket.cFD_CLR(fd, &current->files->close_on_exec);
current176net/socket.ccurrent->files->fd[fd] = file;
current220net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->files->fd[fd])) 
current269net/socket.cSOCK_INODE(sock)->i_uid = current->euid;
current270net/socket.cSOCK_INODE(sock)->i_gid = current->egid;
current290net/socket.cif (current->signal & ~current->blocked) 
current762net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
current789net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
current822net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current883net/socket.cif (fd < 0 || fd >= NR_OPEN || (file=current->files->fd[fd]) == NULL)
current934net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
current959net/socket.cif (fd < 0 || fd >= NR_OPEN || current->files->fd[fd] == NULL)
current983net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1010net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1043net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1074net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1108net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1126net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current1146net/socket.cif (fd < 0 || fd >= NR_OPEN || ((file = current->files->fd[fd]) == NULL))
current550net/unix/sock.cif (current->signal & ~current->blocked) 
current626net/unix/sock.cif (current->signal & ~current->blocked) 
current645net/unix/sock.csend_sig(SIGKILL, current, 1);
current684net/unix/sock.csend_sig(SIGPIPE, current, 1);
current696net/unix/sock.cif (current->signal & ~current->blocked) 
current702net/unix/sock.csend_sig(SIGPIPE, current, 1);
current721net/unix/sock.csend_sig(SIGKILL, current, 1);
current732net/unix/sock.csend_sig(SIGPIPE, current, 1);