taglinefilesource code
current50fs/exec.c#define libnum  (current->numlibraries)
current81fs/exec.ccurrent->libraries[libnum].library = inode;
current82fs/exec.ccurrent->libraries[libnum].start = ex.a_entry;
current83fs/exec.ccurrent->libraries[libnum].length = (ex.a_data+ex.a_text+0xfff) & 0xfffff000;
current87fs/exec.ccurrent->libraries[libnum].start,
current88fs/exec.ccurrent->libraries[libnum].length);
current215fs/exec.ccode_base = get_base(current->ldt[1]);
current217fs/exec.cset_base(current->ldt[1],code_base);
current218fs/exec.cset_limit(current->ldt[1],code_limit);
current219fs/exec.cset_base(current->ldt[2],data_base);
current220fs/exec.cset_limit(current->ldt[2],data_limit);
current255fs/exec.ccurrent->executable = NULL;
current294fs/exec.cif (current->flags & PF_PTRACED) {
current295fs/exec.ce_uid = current->euid;
current296fs/exec.ce_gid = current->egid;
current298fs/exec.ce_uid = (i & S_ISUID) ? inode->i_uid : current->euid;
current299fs/exec.ce_gid = (i & S_ISGID) ? inode->i_gid : current->egid;
current301fs/exec.cif (current->euid == inode->i_uid)
current414fs/exec.ccurrent->comm[i++] = ch;
current416fs/exec.ccurrent->comm[i] = '\0';
current417fs/exec.cif (current->executable)
current418fs/exec.ciput(current->executable);
current419fs/exec.ci = current->numlibraries;
current421fs/exec.ciput(current->libraries[i].library);
current422fs/exec.ccurrent->libraries[i].library = NULL;
current424fs/exec.ccurrent->numlibraries = 0;
current425fs/exec.ccurrent->executable = inode;
current426fs/exec.ccurrent->signal = 0;
current428fs/exec.ccurrent->sigaction[i].sa_mask = 0;
current429fs/exec.ccurrent->sigaction[i].sa_flags = 0;
current430fs/exec.cif (current->sigaction[i].sa_handler != SIG_IGN)
current431fs/exec.ccurrent->sigaction[i].sa_handler = NULL;
current434fs/exec.cif ((current->close_on_exec>>i)&1)
current436fs/exec.ccurrent->close_on_exec = 0;
current437fs/exec.cfree_page_tables(get_base(current->ldt[1]),get_limit(0x0f));
current438fs/exec.cfree_page_tables(get_base(current->ldt[2]),get_limit(0x17));
current439fs/exec.cif (last_task_used_math == current)
current441fs/exec.ccurrent->used_math = 0;
current445fs/exec.ccurrent->brk = ex.a_bss +
current446fs/exec.c(current->end_data = ex.a_data +
current447fs/exec.c(current->end_code = ex.a_text));
current448fs/exec.ccurrent->start_stack = p;
current449fs/exec.ccurrent->rss = (LIBRARY_OFFSET - p + PAGE_SIZE-1) / PAGE_SIZE;
current450fs/exec.ccurrent->suid = current->euid = e_uid;
current451fs/exec.ccurrent->sgid = current->egid = e_gid;
current456fs/exec.cif (current->flags & PF_PTRACED)
current457fs/exec.csend_sig(SIGTRAP, current, 0);
current22fs/fcntl.cif (fd >= NR_OPEN || !current->filp[fd])
current27fs/fcntl.cif (current->filp[arg])
current33fs/fcntl.ccurrent->close_on_exec &= ~(1<<arg);
current34fs/fcntl.c(current->filp[arg] = current->filp[fd])->f_count++;
current55fs/fcntl.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current61fs/fcntl.creturn (current->close_on_exec>>fd)&1;
current64fs/fcntl.ccurrent->close_on_exec |= (1<<fd);
current66fs/fcntl.ccurrent->close_on_exec &= ~(1<<fd);
current17fs/ioctl.cif (fd >= NR_OPEN || !(filp = current->filp[fd]))
current177fs/minix/bitmap.cinode->i_uid = current->euid;
current178fs/minix/bitmap.cinode->i_gid = current->egid;
current256fs/minix/namei.cinode->i_uid = current->euid;
current333fs/minix/namei.cinode->i_mode = I_DIRECTORY | (mode & 0777 & ~current->umask);
current414fs/minix/namei.cif ((dir->i_mode & S_ISVTX) && current->euid &&
current415fs/minix/namei.cinode->i_uid != current->euid)
current466fs/minix/namei.ccurrent->euid != inode->i_uid &&
current467fs/minix/namei.ccurrent->euid != dir->i_uid)
current644fs/minix/namei.ccurrent->counter = 0;
current657fs/minix/namei.ccurrent->euid != old_inode->i_uid &&
current658fs/minix/namei.ccurrent->euid != old_dir->i_uid && !suser())
current46fs/minix/symlink.cdir = current->root;
current58fs/minix/symlink.cif ((current->link_count > 5) || !inode->i_data[0] ||
current66fs/minix/symlink.ccurrent->link_count++;
current68fs/minix/symlink.ccurrent->link_count--;
current136fs/minix/truncate.ccurrent->counter = 0;
current46fs/namei.celse if (current->euid == inode->i_uid)
current67fs/namei.cif (dir == current->root)
current122fs/namei.cbase = current->pwd;
current127fs/namei.cbase = current->root;
current204fs/namei.cmode &= 0777 & ~current->umask;
current70fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current92fs/open.cif (current->euid != inode->i_uid &&
current122fs/open.cif (current->uid == inode->i_uid)
current124fs/open.celse if (current->gid == inode->i_gid)
current134fs/open.cif ((!current->uid) &&
current154fs/open.ciput(current->pwd);
current155fs/open.ccurrent->pwd = inode;
current173fs/open.ciput(current->root);
current174fs/open.ccurrent->root = inode;
current183fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current187fs/open.cif ((current->euid != inode->i_uid) && !suser())
current200fs/open.cif ((current->euid != inode->i_uid) && !suser()) {
current215fs/open.cif (fd >= NR_OPEN || !(file = current->filp[fd]))
current219fs/open.cif ((current->euid == inode->i_uid && user == inode->i_uid &&
current236fs/open.cif ((current->euid == inode->i_uid && user == inode->i_uid &&
current256fs/open.cif (!current->filp[fd])
current260fs/open.ccurrent->close_on_exec &= ~(1<<fd);
current266fs/open.c(current->filp[fd] = f)->f_count++;
current268fs/open.ccurrent->filp[fd]=NULL;
current285fs/open.ccurrent->filp[fd]=NULL;
current302fs/open.ccurrent->close_on_exec &= ~(1<<fd);
current303fs/open.cif (!(filp = current->filp[fd]))
current305fs/open.ccurrent->filp[fd] = NULL;
current26fs/pipe.cif (current->signal & ~current->blocked)
current56fs/pipe.ccurrent->signal |= (1<<(SIGPIPE-1));
current59fs/pipe.cif (current->signal & ~current->blocked)
current159fs/pipe.cif (!current->filp[i]) {
current160fs/pipe.ccurrent->filp[ fd[j]=i ] = f[j];
current164fs/pipe.ccurrent->filp[fd[0]]=NULL;
current170fs/pipe.ccurrent->filp[fd[0]] =
current171fs/pipe.ccurrent->filp[fd[1]] = NULL;
current26fs/read_write.cif (fd >= NR_OPEN || !(file = current->filp[fd]) ||
current41fs/read_write.cif (fd >= NR_OPEN || !(file=current->filp[fd]) || !(file->f_inode))
current74fs/read_write.cif (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode))
current92fs/read_write.cif (fd>=NR_OPEN || !(file=current->filp[fd]) || !(inode=file->f_inode))
current49fs/select.ccurrent->next_wait = NULL;
current52fs/select.c*wait_address = current;
current66fs/select.cif (*tpp && ((*tpp)->next_wait == p->current))
current86fs/select.cwake_up(&p->current);
current104fs/select.cminor = current->tty;
current194fs/select.cif (!current->filp[i])
current196fs/select.cif (!current->filp[i]->f_inode)
current198fs/select.cif (current->filp[i]->f_inode->i_pipe)
current200fs/select.cif (S_ISCHR(current->filp[i]->f_inode->i_mode))
current202fs/select.cif (S_ISFIFO(current->filp[i]->f_inode->i_mode))
current204fs/select.cif (S_ISSOCK(current->filp[i]->f_inode->i_mode))
current211fs/select.cwait_table.current = current;
current216fs/select.ccurrent->state = TASK_INTERRUPTIBLE;
current220fs/select.cif (check_in(&wait_table,current->filp[i]->f_inode)) {
current225fs/select.cif (check_out(&wait_table,current->filp[i]->f_inode)) {
current230fs/select.cif (check_ex(&wait_table,current->filp[i]->f_inode)) {
current235fs/select.cif (!(current->signal & ~current->blocked) &&
current236fs/select.ccurrent->timeout && !count) {
current242fs/select.ccurrent->state = TASK_RUNNING;
current284fs/select.ccurrent->timeout = timeout;
current286fs/select.cif (current->timeout > jiffies)
current287fs/select.ctimeout = current->timeout - jiffies;
current290fs/select.ccurrent->timeout = 0;
current314fs/select.cif (current->signal & ~current->blocked)
current63fs/stat.cif (fd >= NR_OPEN || !(f=current->filp[fd]) || !(inode=f->f_inode))
current263fs/super.ccurrent->pwd = mi;
current264fs/super.ccurrent->root = mi;
current132include/linux/fs.hstruct task_struct * current;
current20include/linux/kernel.h#define suser() (current->euid == 0)
current103include/linux/math_emu.h#define I387 (current->tss.i387)
current216include/linux/sched.hextern struct task_struct *current;
current217kernel/blk_drv/ll_rw_blk.creq->waiting = current;
current220kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_UNINTERRUPTIBLE;
current283kernel/blk_drv/ll_rw_blk.creq->waiting = current;
current286kernel/blk_drv/ll_rw_blk.ccurrent->state = TASK_UNINTERRUPTIBLE;
current34kernel/chr_drv/pty.cif (current->signal & ~current->blocked)
current78kernel/chr_drv/tty_io.cwhile (!(current->signal & ~current->blocked) && EMPTY(queue))
current102kernel/chr_drv/tty_io.cif (tty->secondary->proc_list != current)
current103kernel/chr_drv/tty_io.ccurrent->counter = 0;
current209kernel/chr_drv/tty_io.creturn ((current->blocked & (1<<(sig-1))) ||
current210kernel/chr_drv/tty_io.c(current->sigaction[sig-1].sa_handler == SIG_IGN));
current230kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp,sig,1);
current231kernel/chr_drv/tty_io.cif (current->sigaction[sig-1].sa_handler)
current252kernel/chr_drv/tty_io.c(current->tty == channel) &&
current253kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
current254kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
current264kernel/chr_drv/tty_io.ccurrent->timeout = 0xffffffff;
current267kernel/chr_drv/tty_io.ccurrent->timeout = 0xffffffff;
current271kernel/chr_drv/tty_io.ccurrent->timeout = time + jiffies;
current275kernel/chr_drv/tty_io.ctime = current->timeout = 0;
current285kernel/chr_drv/tty_io.cif (!current->timeout)
current287kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked) 
current317kernel/chr_drv/tty_io.ccurrent->timeout = time+jiffies;
current323kernel/chr_drv/tty_io.ccurrent->timeout = 0;
current326kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current343kernel/chr_drv/tty_io.c(current->tty == channel) && (tty->pgrp != current->pgrp)) {
current358kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current393kernel/chr_drv/tty_io.cif (current->signal & ~current->blocked)
current402kernel/chr_drv/tty_io.ci = read_chan(current->tty,file,buf,count);
current422kernel/chr_drv/tty_io.ci = write_chan(current->tty,file,buf,count);
current458kernel/chr_drv/tty_io.cdev = current->tty;
current470kernel/chr_drv/tty_io.ccurrent->leader &&
current471kernel/chr_drv/tty_io.ccurrent->tty<0 &&
current473kernel/chr_drv/tty_io.ccurrent->tty = dev;
current474kernel/chr_drv/tty_io.ctty->session = current->session;
current475kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
current490kernel/chr_drv/tty_io.cdev = current->tty;
current57kernel/chr_drv/tty_ioctl.cwhile (!(current->signal & ~current->blocked) && !EMPTY(tty->write_q)) {
current59kernel/chr_drv/tty_ioctl.ccurrent->counter = 0;
current77kernel/chr_drv/tty_ioctl.ccurrent->state = TASK_INTERRUPTIBLE;
current78kernel/chr_drv/tty_ioctl.ccurrent->timeout = jiffies + 25;
current130kernel/chr_drv/tty_ioctl.cif ((current->tty == channel) &&
current131kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
current132kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
current170kernel/chr_drv/tty_ioctl.cif ((current->tty == channel) &&
current172kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
current173kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
current235kernel/chr_drv/tty_ioctl.cdev = current->tty;
current328kernel/chr_drv/tty_ioctl.cif ((current->tty < 0) ||
current329kernel/chr_drv/tty_ioctl.c(current->tty != dev) ||
current330kernel/chr_drv/tty_ioctl.c(tty->session != current->session))
current335kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
current24kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
current25kernel/exit.c(current->euid != p->euid) && !suser())
current62kernel/exit.cif (p == current) {
current233kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
current236kernel/exit.cif (*p && (*p)->pid > 1 && *p != current) {
current292kernel/exit.cfree_page_tables(get_base(current->ldt[1]),get_limit(0x0f));
current293kernel/exit.cfree_page_tables(get_base(current->ldt[2]),get_limit(0x17));
current295kernel/exit.cif (current->filp[i])
current297kernel/exit.ciput(current->pwd);
current298kernel/exit.ccurrent->pwd = NULL;
current299kernel/exit.ciput(current->root);
current300kernel/exit.ccurrent->root = NULL;
current301kernel/exit.ciput(current->executable);
current302kernel/exit.ccurrent->executable = NULL;
current303kernel/exit.cfor (i=0; i < current->numlibraries; i++) {
current304kernel/exit.ciput(current->libraries[i].library);
current305kernel/exit.ccurrent->libraries[i].library = NULL;
current307kernel/exit.ccurrent->state = TASK_ZOMBIE;
current308kernel/exit.ccurrent->exit_code = code;
current309kernel/exit.ccurrent->rss = 0;
current319kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
current320kernel/exit.c(current->p_pptr->session == current->session) &&
current321kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
current322kernel/exit.chas_stopped_jobs(current->pgrp)) {
current323kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
current324kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
current327kernel/exit.csend_sig (SIGCHLD, current->p_pptr, 1);
current337kernel/exit.cwhile (p = current->p_cptr) {
current338kernel/exit.ccurrent->p_cptr = p->p_osptr;
current353kernel/exit.cif ((p->pgrp != current->pgrp) &&
current354kernel/exit.c(p->session == current->session) &&
current361kernel/exit.cif (current->leader) {
current365kernel/exit.cif (current->tty >= 0) {
current366kernel/exit.ctty = TTY_TABLE(current->tty);
current373kernel/exit.cif (*p && (*p)->session == current->session)
current376kernel/exit.cif (last_task_used_math == current)
current399kernel/exit.cfor (p = current->p_cptr ; p ; p = p->p_osptr) {
current404kernel/exit.cif (p->pgrp != current->pgrp)
current422kernel/exit.ccurrent->cutime += p->utime + p->cutime;
current423kernel/exit.ccurrent->cstime += p->stime + p->cstime;
current424kernel/exit.ccurrent->cmin_flt += p->min_flt + p->cmin_flt;
current425kernel/exit.ccurrent->cmaj_flt += p->maj_flt + p->cmaj_flt;
current442kernel/exit.ccurrent->state=TASK_INTERRUPTIBLE;
current443kernel/exit.coldblocked = current->blocked;
current444kernel/exit.ccurrent->blocked &= ~(1<<(SIGCHLD-1));
current446kernel/exit.ccurrent->blocked = oldblocked;
current447kernel/exit.cif (current->signal & ~(current->blocked | (1<<(SIGCHLD-1))))
current32kernel/fork.cstart += get_base(current->ldt[2]);
current47kernel/fork.cold_code_base = get_base(current->ldt[1]);
current48kernel/fork.cold_data_base = get_base(current->ldt[2]);
current50kernel/fork.cprintk("ldt[0]: %08x %08x\n",current->ldt[0].a,current->ldt[0].b);
current51kernel/fork.cprintk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b);
current52kernel/fork.cprintk("ldt[2]: %08x %08x\n",current->ldt[2].a,current->ldt[2].b);
current108kernel/fork.c*p = *current;  /* NOTE! this doesn't copy the supervisor stack */
current111kernel/fork.cp->p_pptr = current;
current114kernel/fork.cif (p->p_osptr = current->p_cptr)
current116kernel/fork.ccurrent->p_cptr = p;
current149kernel/fork.cif (last_task_used_math == current)
current165kernel/fork.cif (current->pwd)
current166kernel/fork.ccurrent->pwd->i_count++;
current167kernel/fork.cif (current->root)
current168kernel/fork.ccurrent->root->i_count++;
current169kernel/fork.cif (current->executable)
current170kernel/fork.ccurrent->executable->i_count++;
current171kernel/fork.cfor (i=0; i < current->numlibraries ; i++)
current172kernel/fork.cif (current->libraries[i].library)
current173kernel/fork.ccurrent->libraries[i].library->i_count++;
current31kernel/ioport.cint numl = sizeof(current->tss.io_bitmap) >> 2;
current36kernel/ioport.cprintk("%s ", ios(current->tss.io_bitmap[j++]));
current38kernel/ioport.cprintk("%s", ios(current->tss.io_bitmap[j++]));
current60kernel/ioport.cif (froml * 32 + tnum > sizeof(current->tss.io_bitmap) * 8 - 8)
current68kernel/ioport.ciop = (unsigned long *)current->tss.io_bitmap + froml;
current482kernel/math/emulate.cif (!current->used_math) {
current483kernel/math/emulate.ccurrent->used_math = 1;
current494kernel/math/emulate.ccurrent->signal |= signal;
current541kernel/math/emulate.ccurrent->signal |= 1<<(SIGFPE-1);
current19kernel/panic.cif (current == task[0])
current60kernel/printk.cif (current->signal & ~current->blocked)
current229kernel/ptrace.ccurrent->flags |= PF_PTRACED;
current240kernel/ptrace.cif (child->p_pptr != current || !(child->flags & PF_PTRACED) ||
current81kernel/sched.cstruct task_struct *current = &(init_task.task);
current98kernel/sched.cif (last_task_used_math == current)
current104kernel/sched.clast_task_used_math=current;
current105kernel/sched.cif (current->used_math) {
current106kernel/sched.c__asm__("frstor %0"::"m" (current->tss.i387));
current109kernel/sched.ccurrent->used_math=1;
current172kernel/sched.cstruct sigaction * sa = current->sigaction;
current174kernel/sched.cold_blocked = current->blocked;
current177kernel/sched.ccurrent->blocked |= mask;
current178kernel/sched.ccurrent->state = TASK_INTERRUPTIBLE;
current180kernel/sched.ccurrent->blocked = old_blocked;
current200kernel/sched.cif (wakeup_ptr->counter > current->counter)
current216kernel/sched.cif (current == task[0])
current219kernel/sched.ccurrent->next_wait = *p;
current221kernel/sched.c*p = current;
current222kernel/sched.ccurrent->state = state;
current225kernel/sched.cif (current->next_wait != task[0])
current227kernel/sched.ccurrent->next_wait = NULL;
current394kernel/sched.ccurrent->utime++;
current396kernel/sched.ccurrent->stime++;
current415kernel/sched.cif ((--current->counter)<=0) {
current416kernel/sched.ccurrent->counter=0;
current423kernel/sched.cint old = current->alarm;
current427kernel/sched.ccurrent->alarm = (seconds>0)?(jiffies+HZ*seconds):0;
current433kernel/sched.creturn current->pid;
current438kernel/sched.creturn current->p_pptr->pid;
current443kernel/sched.creturn current->uid;
current448kernel/sched.creturn current->euid;
current453kernel/sched.creturn current->gid;
current458kernel/sched.creturn current->egid;
current465kernel/sched.cif (increment >= current->priority)
current466kernel/sched.cincrement = current->priority-1;
current467kernel/sched.ccurrent->priority -= increment;
current17kernel/signal.creturn current->blocked;
current22kernel/signal.cint old=current->blocked;
current24kernel/signal.ccurrent->blocked = newmask & ~(1<<(SIGKILL-1)) & ~(1<<(SIGSTOP-1));
current32kernel/signal.cput_fs_long(current->blocked & current->signal, (unsigned long *)set);
current55kernel/signal.ccurrent->blocked = old_mask;
current60kernel/signal.c*(&old_mask) = current->blocked;
current61kernel/signal.ccurrent->blocked = set;
current96kernel/signal.chandler = (long) current->sigaction[signum-1].sa_handler;
current97kernel/signal.ccurrent->sigaction[signum-1] = tmp;
current108kernel/signal.ctmp = current->sigaction[signum-1];
current110kernel/signal.c(char *) (signum-1+current->sigaction));
current113kernel/signal.cif (current->sigaction[signum-1].sa_flags & SA_NOMASK)
current114kernel/signal.ccurrent->sigaction[signum-1].sa_mask = 0;
current116kernel/signal.ccurrent->sigaction[signum-1].sa_mask |= (1<<(signum-1));
current140kernel/signal.cstruct sigaction * sa = current->sigaction + signr - 1;
current147kernel/signal.ccurrent->pid, signr, eax, orig_eax, 
current179kernel/signal.ccurrent->state = TASK_STOPPED;
current180kernel/signal.ccurrent->exit_code = signr;
current181kernel/signal.cif (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags & 
current183kernel/signal.csend_sig(SIGCHLD, current->p_pptr, 1);
current214kernel/signal.cput_fs_long(current->blocked,tmp_esp++);
current220kernel/signal.ccurrent->blocked |= sa->sa_mask;
current39kernel/sys.cif (!who && p == current)
current44kernel/sys.cwho = current->pgrp;
current48kernel/sys.cwho = current->uid;
current69kernel/sys.cif ((*p)->uid != current->euid &&
current70kernel/sys.c(*p)->uid != current->uid && !suser()) {
current184kernel/sys.cif ((current->gid == rgid) || 
current186kernel/sys.ccurrent->gid = rgid;
current191kernel/sys.cif ((current->gid == egid) ||
current192kernel/sys.c(current->egid == egid) ||
current194kernel/sys.ccurrent->egid = egid;
current195kernel/sys.ccurrent->sgid = egid;
current208kernel/sys.ccurrent->gid = current->egid = current->sgid = gid;
current209kernel/sys.celse if ((gid == current->gid) || (gid == current->sgid))
current210kernel/sys.ccurrent->egid = gid;
current268kernel/sys.cint old_ruid = current->uid;
current271kernel/sys.cif ((current->euid==ruid) ||
current274kernel/sys.ccurrent->uid = ruid;
current280kernel/sys.c(current->euid == euid) ||
current282kernel/sys.ccurrent->euid = euid;
current283kernel/sys.ccurrent->suid = euid;
current285kernel/sys.ccurrent->uid = old_ruid;
current306kernel/sys.ccurrent->uid = current->euid = current->suid = uid;
current307kernel/sys.celse if ((uid == current->uid) || (uid == current->suid))
current308kernel/sys.ccurrent->euid = uid;
current327kernel/sys.cput_fs_long(current->utime,(unsigned long *)&tbuf->tms_utime);
current328kernel/sys.cput_fs_long(current->stime,(unsigned long *)&tbuf->tms_stime);
current329kernel/sys.cput_fs_long(current->cutime,(unsigned long *)&tbuf->tms_cutime);
current330kernel/sys.cput_fs_long(current->cstime,(unsigned long *)&tbuf->tms_cstime);
current337kernel/sys.cif (end_data_seg >= current->end_code &&
current338kernel/sys.cend_data_seg < current->start_stack - 16384)
current339kernel/sys.ccurrent->brk = end_data_seg;
current340kernel/sys.creturn current->brk;
current357kernel/sys.cpid = current->pid;
current359kernel/sys.cpgid = current->pid;
current364kernel/sys.c((task[i]->p_pptr == current) || 
current365kernel/sys.c(task[i] == current))) {
current368kernel/sys.cif ((task[i]->session != current->session) ||
current370kernel/sys.c(session_of_pgrp(pgid) != current->session)))
current380kernel/sys.creturn current->pgrp;
current385kernel/sys.cif (current->leader && !suser())
current387kernel/sys.ccurrent->leader = 1;
current388kernel/sys.ccurrent->session = current->pgrp = current->pid;
current389kernel/sys.ccurrent->tty = -1;
current390kernel/sys.creturn current->pgrp;
current403kernel/sys.cfor (i = 0; (i < NGROUPS) && (current->groups[i] != NOGROUP);
current408kernel/sys.cput_fs_word(current->groups[i], (short *) grouplist);
current423kernel/sys.ccurrent->groups[i] = get_fs_word((unsigned short *) grouplist);
current426kernel/sys.ccurrent->groups[i] = NOGROUP;
current434kernel/sys.cif (grp == current->egid)
current438kernel/sys.cif (current->groups[i] == NOGROUP)
current440kernel/sys.cif (current->groups[i] == grp)
current488kernel/sys.cput_fs_long(current->rlim[resource].rlim_cur, 
current490kernel/sys.cput_fs_long(current->rlim[resource].rlim_max, 
current501kernel/sys.cold = current->rlim + resource;
current530kernel/sys.cr.ru_utime.tv_sec = CT_TO_SECS(current->utime);
current531kernel/sys.cr.ru_utime.tv_usec = CT_TO_USECS(current->utime);
current532kernel/sys.cr.ru_stime.tv_sec = CT_TO_SECS(current->stime);
current533kernel/sys.cr.ru_stime.tv_usec = CT_TO_USECS(current->stime);
current534kernel/sys.cr.ru_minflt = current->min_flt;
current535kernel/sys.cr.ru_majflt = current->maj_flt;
current537kernel/sys.cr.ru_utime.tv_sec = CT_TO_SECS(current->cutime);
current538kernel/sys.cr.ru_utime.tv_usec = CT_TO_USECS(current->cutime);
current539kernel/sys.cr.ru_stime.tv_sec = CT_TO_SECS(current->cstime);
current540kernel/sys.cr.ru_stime.tv_usec = CT_TO_USECS(current->cstime);
current541kernel/sys.cr.ru_minflt = current->cmin_flt;
current542kernel/sys.cr.ru_majflt = current->cmaj_flt;
current629kernel/sys.cint old = current->umask;
current631kernel/sys.ccurrent->umask = mask & 0777;
current74kernel/traps.cprintk("base: %p, limit: %p\n",get_base(current->ldt[1]),get_limit(0x17));
current82kernel/traps.cprintk("Pid: %d, process nr: %d\n\r",current->pid,0xffff & i);
current87kernel/traps.csend_sig(SIGSEGV, current, 0);
current114kernel/traps.csend_sig(SIGTRAP, current, 0);
current124kernel/traps.csend_sig(SIGTRAP, current, 0);
current169kernel/traps.cif (last_task_used_math != current)
current40mm/memory.ccurrent->start_code + current->end_code)
current168mm/memory.c++current->rss;
current226mm/memory.c--current->rss;
current305mm/memory.c--current->rss;
current322mm/memory.c++current->rss;
current469mm/memory.cif (address - current->start_code >= TASK_SIZE) {
current473mm/memory.c++current->min_flt;
current520mm/memory.cto_page += ((current->start_code>>20) & 0xffc);
current573mm/memory.cif (current == *p)
current629mm/memory.ccurrent->counter = 0;
current681mm/memory.cif (tsk != current)
current690mm/memory.cif (tsk == current)
current795mm/memory.cdo_no_page(error_code, address, current, user_esp);
current38mm/mmap.ccurrent->start_code + current->end_code)
current103mm/mmap.cif (fd >= NR_OPEN || fd < 0 || !(file = current->filp[fd]))
current135mm/mmap.cbase = get_base(current->ldt[1]);  /* cs */
current138mm/mmap.cbase = get_base(current->ldt[2]);  /* ds */
current187mm/mmap.cbase = get_base(current->ldt[2]);  /* map into ds */
current82net/socket.cif (!current->filp[fd])
current86net/socket.ccurrent->close_on_exec &= ~(1 << fd);
current92net/socket.ccurrent->filp[fd] = file;
current110net/socket.ccurrent->filp[fd]->f_inode = NULL;  /* safe from iput */
current130net/socket.cif (fd < 0 || fd >= NR_OPEN || !(file = current->filp[fd]))
current178net/socket.cif (current->signal & ~current->blocked) {
current588net/socket.cif (current->signal & ~current->blocked) {
current268net/unix.cold_euid = current->euid;
current269net/unix.ccurrent->euid = 0;
current271net/unix.ccurrent->euid = old_euid;
current413net/unix.cif (current->signal & ~current->blocked) {
current432net/unix.ccurrent->signal |= (1 << (SIGKILL-1));
current470net/unix.ccurrent->signal |= (1 << (SIGPIPE-1));
current482net/unix.cif (current->signal & ~current->blocked) {
current488net/unix.ccurrent->signal |= (1 << (SIGPIPE-1));
current502net/unix.ccurrent->signal |= (1 << (SIGKILL-1));
current511net/unix.ccurrent->signal |= (1 << (SIGPIPE-1));