Fork me on GitHub
current           518 drivers/block/ide.c 	if(selected == ide->current) {
current           534 drivers/block/ide.c 	ide->current = selected;
current           498 drivers/char/memdev.c 			if(!map_page(current, (vma->start + addr) & PAGE_MASK, (vma->offset + addr) & PAGE_MASK, PROT_READ | PROT_WRITE)) {
current           221 drivers/char/tty.c 		if(!current->ctty) {
current           224 drivers/char/tty.c 		dev = current->ctty->dev;
current           248 drivers/char/tty.c 		if(p->sid == current->sid) {
current           253 drivers/char/tty.c 	kill_pgrp(current->pgid, SIGHUP);
current           254 drivers/char/tty.c 	kill_pgrp(current->pgid, SIGCONT);
current           428 drivers/char/tty.c 		if(!current->ctty) {
current           451 drivers/char/tty.c 	if(SESS_LEADER(current) && !current->ctty && !noctty_flag && !tty->sid) {
current           452 drivers/char/tty.c 		current->ctty = tty;
current           453 drivers/char/tty.c 		tty->sid = current->sid;
current           454 drivers/char/tty.c 		tty->pgid = current->pgid;
current           505 drivers/char/tty.c 	if(current->ctty == tty && current->pgid != tty->pgid) {
current           506 drivers/char/tty.c 		if(current->sigaction[SIGTTIN - 1].sa_handler == SIG_IGN || current->sigblocked & (1 << (SIGTTIN - 1)) || is_orphaned_pgrp(current->pgid)) {
current           509 drivers/char/tty.c 		kill_pgrp(current->pgid, SIGTTIN);
current           651 drivers/char/tty.c 	if(current->ctty == tty && current->pgid != tty->pgid) {
current           653 drivers/char/tty.c 			if(current->sigaction[SIGTTIN - 1].sa_handler != SIG_IGN && !(current->sigblocked & (1 << (SIGTTIN - 1)))) {
current           654 drivers/char/tty.c 				if(is_orphaned_pgrp(current->pgid)) {
current           657 drivers/char/tty.c 				kill_pgrp(current->pgid, SIGTTOU);
current           665 drivers/char/tty.c 		if(current->sigpending & ~current->sigblocked) {
current           836 drivers/char/tty.c 			if(SESS_LEADER(current) && (current->sid == tty->sid)) {
current           839 drivers/char/tty.c 			if(!SESS_LEADER(current) || current->ctty) {
current           854 drivers/char/tty.c 			current->ctty = tty;
current           855 drivers/char/tty.c 			tty->sid = current->sid;
current           856 drivers/char/tty.c 			tty->pgid = current->pgid;
current           936 drivers/char/tty.c 			if(current->ctty != tty) {
current           939 drivers/char/tty.c 			if(SESS_LEADER(current)) {
current           151 drivers/char/vt.c 			tty->pid = current->pid;
current            96 fs/elf.c       	current->argc = barg->argc;
current           104 fs/elf.c       	current->argv = (char **)sp;
current           123 fs/elf.c       	current->envc = barg->envc;
current           124 fs/elf.c       	current->envp = (char **)sp;
current           236 fs/elf.c       		memcpy_l((void *)sp, &current->uid, 1);
current           248 fs/elf.c       		memcpy_l((void *)sp, &current->euid, 1);
current           260 fs/elf.c       		memcpy_l((void *)sp, &current->gid, 1);
current           272 fs/elf.c       		memcpy_l((void *)sp, &current->egid, 1);
current           292 fs/elf.c       		printk("at 0x%08x -> argv[%d] = '%s'\n", current->argv[n], n, current->argv[n]);
current           295 fs/elf.c       		printk("at 0x%08x -> envp[%d] = '%s'\n", current->envp[n], n, current->envp[n]);
current           365 fs/elf.c       				send_sig(current, SIGSEGV);
current           394 fs/elf.c       		send_sig(current, SIGSEGV);
current           417 fs/elf.c       		if(current->pid == INIT) {
current           439 fs/elf.c       				send_sig(current, SIGSEGV);
current           474 fs/elf.c       	current->rss = 0;
current           476 fs/elf.c       	current->entry_address = elf32_h->e_entry;
current           482 fs/elf.c       			send_sig(current, SIGKILL);
current           485 fs/elf.c       		current->entry_address = errno;
current           512 fs/elf.c       				send_sig(current, SIGSEGV);
current           537 fs/elf.c       		send_sig(current, SIGSEGV);
current           540 fs/elf.c       	current->brk_lower = start;
current           548 fs/elf.c       		send_sig(current, SIGSEGV);
current           551 fs/elf.c       	current->brk = start;
current           563 fs/elf.c       		send_sig(current, SIGSEGV);
current           572 fs/elf.c       	sc->eip = current->entry_address;
current           393 fs/ext2/namei.c 	i->i_uid = current->euid;
current           394 fs/ext2/namei.c 	i->i_gid = current->egid;
current           479 fs/ext2/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
current           481 fs/ext2/namei.c 	i->i_uid = current->euid;
current           482 fs/ext2/namei.c 	i->i_gid = current->egid;
current           588 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
current           589 fs/ext2/namei.c 	i->i_uid = current->euid;
current           590 fs/ext2/namei.c 	i->i_gid = current->egid;
current           666 fs/ext2/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
current           668 fs/ext2/namei.c 	i->i_uid = current->euid;
current           669 fs/ext2/namei.c 	i->i_gid = current->egid;
current           108 fs/ext2/symlink.c 	if(current->loopcnt > MAX_SYMLINKS) {
current           126 fs/ext2/symlink.c 	current->loopcnt++;
current           132 fs/ext2/symlink.c 	current->loopcnt--;
current            75 fs/locks.c     	i = fd_table[current->fd[ufd]].inode;
current           129 fs/locks.c     		if(ff->proc != current) {
current           144 fs/locks.c     		if((ff = get_flock_file(i, op, current))) {
current           161 fs/locks.c     				if(ff->proc == current) {
current           177 fs/locks.c     			if(ff->proc == current) {
current           200 fs/locks.c     	new->proc = current;
current           340 fs/minix/namei.c 	i->i_uid = current->euid;
current           341 fs/minix/namei.c 	i->i_gid = current->egid;
current           429 fs/minix/namei.c 	i->i_mode = ((mode & (S_IRWXU | S_IRWXG | S_IRWXO)) & ~current->umask);
current           431 fs/minix/namei.c 	i->i_uid = current->euid;
current           432 fs/minix/namei.c 	i->i_gid = current->egid;
current           531 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
current           532 fs/minix/namei.c 	i->i_uid = current->euid;
current           533 fs/minix/namei.c 	i->i_gid = current->egid;
current           604 fs/minix/namei.c 	i->i_mode = (mode & ~current->umask) & ~S_IFMT;
current           606 fs/minix/namei.c 	i->i_uid = current->euid;
current           607 fs/minix/namei.c 	i->i_gid = current->egid;
current           110 fs/minix/symlink.c 	if(current->loopcnt > MAX_SYMLINKS) {
current           130 fs/minix/symlink.c 	current->loopcnt++;
current           134 fs/minix/symlink.c 	current->loopcnt--;
current           155 fs/namei.c     		dir = current->pwd;
current           160 fs/namei.c     		dir = current->root;
current           122 fs/pipefs/pipe.c 			send_sig(current, SIGPIPE);
current            52 fs/procfs/data.c 	return sprintk(buffer, "%s", current->pidstr);
current           143 fs/procfs/symlink.c 			if((errno = parse_namei(current->pidstr, dir, i_res, NULL, FOLLOW_LINKS))) {
current           214 fs/super.c     	current->root = mt->sb.root;
current           215 fs/super.c     	current->root->count++;
current           216 fs/super.c     	current->pwd = mt->sb.root;
current           217 fs/super.c     	current->pwd->count++;
current            16 include/fiwix/fs.h 	if((ufd) > OPEN_MAX || current->fd[(ufd)] == 0)	 {		\
current           243 include/fiwix/ide.h 	int current;			/* avoids re-select the drive */
current            42 include/fiwix/process.h #define IS_SUPERUSER	(current->euid == 0)
current           162 include/fiwix/process.h extern struct proc *current;
current            80 kernel/init.c  	init->root = current->root;
current            81 kernel/init.c  	init->pwd = current->pwd;
current            92 kernel/main.c  	current = get_proc_free();
current            93 kernel/main.c  	proc_slot_init(current);
current            94 kernel/main.c  	set_tss(current);
current            96 kernel/main.c  	current->tss.cr3 = (unsigned int)kpage_dir;
current            97 kernel/main.c  	current->flags |= PF_KPROC;
current            98 kernel/main.c  	sprintk(current->argv0, "%s", "idle");
current           144 kernel/main.c  	if(current) {
current            19 kernel/process.c struct proc *current;
current           105 kernel/process.c 	if(current->sigaction[SIGCHLD - 1].sa_handler == SIG_IGN) {
current           119 kernel/process.c 	current->cusage.ru_utime.tv_sec += cru.ru_utime.tv_sec;
current           120 kernel/process.c 	current->cusage.ru_utime.tv_usec += cru.ru_utime.tv_usec;
current           121 kernel/process.c 	if(current->cusage.ru_utime.tv_usec >= 1000000) {
current           122 kernel/process.c 		current->cusage.ru_utime.tv_sec++;
current           123 kernel/process.c 		current->cusage.ru_utime.tv_usec -= 1000000;
current           125 kernel/process.c 	current->cusage.ru_stime.tv_sec += cru.ru_stime.tv_sec;
current           126 kernel/process.c 	current->cusage.ru_stime.tv_usec += cru.ru_stime.tv_usec;
current           127 kernel/process.c 	if(current->cusage.ru_stime.tv_usec >= 1000000) {
current           128 kernel/process.c 		current->cusage.ru_stime.tv_sec++;
current           129 kernel/process.c 		current->cusage.ru_stime.tv_usec -= 1000000;
current           131 kernel/process.c 	current->cusage.ru_maxrss += cru.ru_maxrss;
current           132 kernel/process.c 	current->cusage.ru_ixrss += cru.ru_ixrss;
current           133 kernel/process.c 	current->cusage.ru_idrss += cru.ru_idrss;
current           134 kernel/process.c 	current->cusage.ru_isrss += cru.ru_isrss;
current           135 kernel/process.c 	current->cusage.ru_minflt += cru.ru_minflt;
current           136 kernel/process.c 	current->cusage.ru_majflt += cru.ru_majflt;
current           137 kernel/process.c 	current->cusage.ru_nswap += cru.ru_nswap;
current           138 kernel/process.c 	current->cusage.ru_inblock += cru.ru_inblock;
current           139 kernel/process.c 	current->cusage.ru_oublock += cru.ru_oublock;
current           140 kernel/process.c 	current->cusage.ru_msgsnd += cru.ru_msgsnd;
current           141 kernel/process.c 	current->cusage.ru_msgrcv += cru.ru_msgrcv;
current           142 kernel/process.c 	current->cusage.ru_nsignals += cru.ru_nsignals;
current           143 kernel/process.c 	current->cusage.ru_nvcsw += cru.ru_nvcsw;
current           144 kernel/process.c 	current->cusage.ru_nivcsw += cru.ru_nivcsw;
current           316 kernel/process.c 	for(n = fd; n < OPEN_MAX && n < current->rlim[RLIMIT_NOFILE].rlim_cur; n++) {
current           317 kernel/process.c 		if(current->fd[n] == 0) {
current           318 kernel/process.c 			current->fd[n] = -1;
current           319 kernel/process.c 			current->fd_flags[n] = 0;
current           329 kernel/process.c 	current->fd[ufd] = 0;
current            28 kernel/sched.c 	prev = current;
current            30 kernel/sched.c 	current = next;
current            53 kernel/sched.c 	if(!need_resched && current->state == PROC_RUNNING && current->cpu_count > 0) {
current            79 kernel/sched.c 	if(current != selected) {
current            27 kernel/signal.c 	if(!IS_SUPERUSER && current->euid != p->euid && current->sid != p->sid) {
current           118 kernel/signal.c 	if(!(current->sigpending & ~current->sigblocked)) {
current           123 kernel/signal.c 		if(current->sigpending & mask) {
current           125 kernel/signal.c 				if(current->sigaction[signum - 1].sa_handler == SIG_IGN) {
current           127 kernel/signal.c 					while((p = get_next_zombie(current))) {
current           131 kernel/signal.c 					if(current->sigaction[signum - 1].sa_handler != SIG_DFL) {
current           136 kernel/signal.c 				if(current->sigaction[signum - 1].sa_handler != SIG_IGN) {
current           140 kernel/signal.c 			current->sigpending &= ~mask;
current           156 kernel/signal.c 		if(current->sigpending & mask) {
current           157 kernel/signal.c 			current->sigpending &= ~mask;
current           159 kernel/signal.c 			if((unsigned int)current->sigaction[signum - 1].sa_handler) {
current           160 kernel/signal.c 				current->sigexecuting = mask;
current           161 kernel/signal.c 				if(!(current->sigaction[signum - 1].sa_flags & SA_NODEFER)) {
current           162 kernel/signal.c 					current->sigblocked |= mask;
current           166 kernel/signal.c 				memcpy_b(&current->sc[signum - 1], sc, sizeof(struct sigcontext));
current           173 kernel/signal.c 				sc->ecx = (unsigned int)current->sigaction[signum - 1].sa_handler;
current           177 kernel/signal.c 				if(current->sigaction[signum - 1].sa_flags & SA_RESETHAND) {
current           178 kernel/signal.c 					current->sigaction[signum - 1].sa_handler = SIG_DFL;
current           182 kernel/signal.c 			if(current->sigaction[signum - 1].sa_handler == SIG_DFL) {
current           185 kernel/signal.c 						runnable(current);
current           192 kernel/signal.c 						current->exit_code = signum;
current           193 kernel/signal.c 						not_runnable(current, PROC_STOPPED);
current           194 kernel/signal.c 						if(!(current->sigaction[signum - 1].sa_flags & SA_NOCLDSTOP)) {
current           195 kernel/signal.c 							if((p = get_proc_by_pid(current->ppid))) {
current            68 kernel/sleep.c 	if(current->state == PROC_SLEEPING) {
current            69 kernel/sleep.c 		printk("WARNING: %s(): process with pid '%d' is already sleeping!\n", __FUNCTION__, current->pid);
current            79 kernel/sleep.c 		*h = current;
current            82 kernel/sleep.c 		current->prev_sleep = NULL;
current            83 kernel/sleep.c 		current->next_sleep = *h;
current            84 kernel/sleep.c 		(*h)->prev_sleep = current;
current            85 kernel/sleep.c 		*h = current;
current            87 kernel/sleep.c 	current->sleep_address = address;
current            88 kernel/sleep.c 	not_runnable(current, PROC_SLEEPING);
current            41 kernel/syscalls.c 	if(current->vma[0].s_type != 0) {
current            82 kernel/syscalls.c 		if(current->euid != i->i_uid) {
current            94 kernel/syscalls.c 	if(current->flags & PF_USEREAL) {
current            95 kernel/syscalls.c 		gid = current->gid;
current            97 kernel/syscalls.c 		gid = current->egid;
current           105 kernel/syscalls.c 		if(current->groups[n] == -1) {
current           108 kernel/syscalls.c 		if(current->groups[n] == i->i_gid) {
current           125 kernel/syscalls.c 	if(current->vma[0].s_type != 0) {
current           157 kernel/syscalls.c 	if(current->flags & PF_USEREAL) {
current           158 kernel/syscalls.c 		uid = current->uid;
current           160 kernel/syscalls.c 		uid = current->euid;
current           382 kernel/syscalls.c 	printk("***** (pid %d) system call %d not supported yet *****\n", current->pid, num);
current           405 kernel/syscalls.c 	current->sp = (unsigned int)&sc;
current            26 kernel/syscalls/access.c 	printk("(pid %d) sys_access('%s', %d)", current->pid, filename, mode);
current            35 kernel/syscalls/access.c 	current->flags |= PF_USEREAL;
current            37 kernel/syscalls/access.c 		current->flags &= ~PF_USEREAL;
current            44 kernel/syscalls/access.c 				current->flags &= ~PF_USEREAL;
current            57 kernel/syscalls/access.c 	current->flags &= ~PF_USEREAL;
current            21 kernel/syscalls/alarm.c 	printk("(pid %d) sys_alarm(%d)\n", current->pid, secs);
current            22 kernel/syscalls/brk.c 	printk("(pid %d) sys_brk(0x%08x) -> ", current->pid, brk);
current            25 kernel/syscalls/brk.c 	if(!brk || brk < current->brk_lower) {
current            27 kernel/syscalls/brk.c 		printk("0x%08x\n", current->brk);
current            29 kernel/syscalls/brk.c 		return current->brk;
current            33 kernel/syscalls/brk.c 	if(newbrk == current->brk || newbrk < current->brk_lower) {
current            35 kernel/syscalls/brk.c 		printk("0x%08x\n", current->brk);
current            40 kernel/syscalls/brk.c 	if(brk < current->brk) {
current            41 kernel/syscalls/brk.c 		do_munmap(newbrk, current->brk - newbrk);
current            42 kernel/syscalls/brk.c 		current->brk = brk;
current            46 kernel/syscalls/brk.c 		current->brk = brk;
current            51 kernel/syscalls/brk.c 	printk("0x%08x\n", current->brk);
current            53 kernel/syscalls/brk.c 	return current->brk;
current            25 kernel/syscalls/chdir.c 	printk("(pid %d) sys_chdir('%s')\n", current->pid, dirname);
current            45 kernel/syscalls/chdir.c 	iput(current->pwd);
current            46 kernel/syscalls/chdir.c 	current->pwd = i;
current            27 kernel/syscalls/chmod.c 	printk("(pid %d) sys_chmod('%s', %d)\n", current->pid, filename, mode);
current            27 kernel/syscalls/chown.c 	printk("(pid %d) sys_chown('%s', %d, %d)\n", current->pid, filename, owner, group);
current            25 kernel/syscalls/chroot.c 	printk("(pid %d) sys_chroot('%s')\n", current->pid, dirname);
current            40 kernel/syscalls/chroot.c 	iput(current->root);
current            41 kernel/syscalls/chroot.c 	current->root = i;
current            19 kernel/syscalls/close.c 	printk("(pid %d) sys_close(%d)\n", current->pid, ufd);
current            23 kernel/syscalls/close.c 	fd = current->fd[ufd];
current            20 kernel/syscalls/creat.c 	printk("(pid %d) sys_creat('%s', %d)\n", current->pid, filename, mode);
current            22 kernel/syscalls/dup.c 	printk("(pid %d) sys_dup(%d)", current->pid, ufd);
current            34 kernel/syscalls/dup.c 	current->fd[new_ufd] = current->fd[ufd];
current            35 kernel/syscalls/dup.c 	fd_table[current->fd[new_ufd]].count++;
current            19 kernel/syscalls/dup2.c 	printk("(pid %d) sys_dup2(%d, %d)", current->pid, old_ufd, new_ufd);
current            29 kernel/syscalls/dup2.c 	if(current->fd[new_ufd]) {
current            35 kernel/syscalls/dup2.c 	current->fd[new_ufd] = current->fd[old_ufd];
current            36 kernel/syscalls/dup2.c 	fd_table[current->fd[new_ufd]].count++;
current           329 kernel/syscalls/execve.c 			current->euid = i->i_uid;
current           332 kernel/syscalls/execve.c 			current->egid = i->i_gid;
current           348 kernel/syscalls/execve.c 	printk("(pid %d) sys_execve('%s', ...)\n", current->pid, filename);
current           357 kernel/syscalls/execve.c 	strncpy(current->argv0, argv0, NAME_MAX);
current           359 kernel/syscalls/execve.c 		if(current->fd[n] && (current->fd_flags[n] & FD_CLOEXEC)) {
current           364 kernel/syscalls/execve.c 	current->suid = current->euid;
current           365 kernel/syscalls/execve.c 	current->sgid = current->egid;
current           366 kernel/syscalls/execve.c 	current->sigpending = 0;
current           367 kernel/syscalls/execve.c 	current->sigexecuting = 0;
current           369 kernel/syscalls/execve.c 		current->sigaction[n].sa_mask = 0;
current           370 kernel/syscalls/execve.c 		current->sigaction[n].sa_flags = 0;
current           371 kernel/syscalls/execve.c 		if(current->sigaction[n].sa_handler != SIG_IGN) {
current           372 kernel/syscalls/execve.c 			current->sigaction[n].sa_handler = SIG_DFL;
current           375 kernel/syscalls/execve.c 	current->sleep_address = NULL;
current           376 kernel/syscalls/execve.c 	current->flags |= PF_PEXEC;
current            25 kernel/syscalls/exit.c 	printk("sys_exit(pid %d, ppid %d)\n", current->pid, current->ppid);
current            30 kernel/syscalls/exit.c 	current->argv = NULL;
current            31 kernel/syscalls/exit.c 	current->envp = NULL;
current            35 kernel/syscalls/exit.c 		if(SESS_LEADER(current)) {
current            36 kernel/syscalls/exit.c 			if(p->sid == current->sid && p->state != PROC_ZOMBIE) {
current            46 kernel/syscalls/exit.c 		if(p->ppid == current->pid) {
current            49 kernel/syscalls/exit.c 			current->children--;
current            60 kernel/syscalls/exit.c 	if(SESS_LEADER(current)) {
current            61 kernel/syscalls/exit.c 		disassociate_ctty(current->ctty);
current            65 kernel/syscalls/exit.c 		if(current->fd[n]) {
current            70 kernel/syscalls/exit.c 	iput(current->root);
current            71 kernel/syscalls/exit.c 	current->root = NULL;
current            72 kernel/syscalls/exit.c 	iput(current->pwd);
current            73 kernel/syscalls/exit.c 	current->pwd = NULL;
current            74 kernel/syscalls/exit.c 	current->exit_code = exit_code;
current            82 kernel/syscalls/exit.c 	if((p = get_proc_by_pid(current->ppid))) {
current            89 kernel/syscalls/exit.c 	current->sigpending = 0;
current            90 kernel/syscalls/exit.c 	current->sigblocked = 0;
current            91 kernel/syscalls/exit.c 	current->sigexecuting = 0;
current            93 kernel/syscalls/exit.c 		current->sigaction[n].sa_mask = 0;
current            94 kernel/syscalls/exit.c 		current->sigaction[n].sa_flags = 0;
current            95 kernel/syscalls/exit.c 		current->sigaction[n].sa_handler = SIG_IGN;
current            98 kernel/syscalls/exit.c 	not_runnable(current, PROC_ZOMBIE);
current           106 kernel/syscalls/exit.c 	printk("(pid %d) sys_exit()\n", current->pid);
current            22 kernel/syscalls/fchdir.c 	printk("(pid %d) sys_fchdir(%d)\n", current->pid, ufd);
current            26 kernel/syscalls/fchdir.c 	i = fd_table[current->fd[ufd]].inode;
current            30 kernel/syscalls/fchdir.c 	iput(current->pwd);
current            31 kernel/syscalls/fchdir.c 	current->pwd = i;
current            32 kernel/syscalls/fchdir.c 	current->pwd->count++;
current            24 kernel/syscalls/fchmod.c 	printk("(pid %d) sys_fchmod(%d, %d)\n", current->pid, ufd, mode);
current            28 kernel/syscalls/fchmod.c 	i = fd_table[current->fd[ufd]].inode;
current            24 kernel/syscalls/fchown.c 	printk("(pid %d) sys_fchown(%d, %d, %d)\n", current->pid, ufd, owner, group);
current            28 kernel/syscalls/fchown.c 	i = fd_table[current->fd[ufd]].inode;
current            23 kernel/syscalls/fcntl.c 	printk("(pid %d) sys_fcntl(%d, %d, 0x%08x)\n", current->pid, ufd, cmd, arg);
current            36 kernel/syscalls/fcntl.c 			current->fd[new_ufd] = current->fd[ufd];
current            37 kernel/syscalls/fcntl.c 			fd_table[current->fd[new_ufd]].count++;
current            43 kernel/syscalls/fcntl.c 			return (current->fd_flags[ufd] & FD_CLOEXEC);
current            45 kernel/syscalls/fcntl.c 			current->fd_flags[ufd] = (arg & FD_CLOEXEC);
current            48 kernel/syscalls/fcntl.c 			return fd_table[current->fd[ufd]].flags;
current            50 kernel/syscalls/fcntl.c 			fd_table[current->fd[ufd]].flags &= ~(O_APPEND | O_NONBLOCK);
current            51 kernel/syscalls/fcntl.c 			fd_table[current->fd[ufd]].flags |= arg & (O_APPEND | O_NONBLOCK);
current            18 kernel/syscalls/fdatasync.c 	printk("(pid %d) sys_fdatasync(%d)\n", current->pid, ufd);
current            22 kernel/syscalls/flock.c 	printk("(pid %d) sys_flock(%d, %d)\n", current->pid, ufd, op);
current            26 kernel/syscalls/flock.c 	i = fd_table[current->fd[ufd]].inode;
current            32 kernel/syscalls/fork.c 	printk("(pid %d) sys_fork()\n", current->pid);
current            38 kernel/syscalls/fork.c 		if(p->uid == current->uid) {
current            43 kernel/syscalls/fork.c 	if(count > current->rlim[RLIMIT_NPROC].rlim_cur) {
current            59 kernel/syscalls/fork.c 	memcpy_b(child, current, sizeof(struct proc));
current            74 kernel/syscalls/fork.c 	child->ppid = current->pid;
current            81 kernel/syscalls/fork.c 	memcpy_b(child->vma, current->vma, sizeof(child->vma));
current           132 kernel/syscalls/fork.c 		if(current->fd[n]) {
current           133 kernel/syscalls/fork.c 			fd_table[current->fd[n]].count++;
current           136 kernel/syscalls/fork.c 	if(current->root) {
current           137 kernel/syscalls/fork.c 		current->root->count++;
current           139 kernel/syscalls/fork.c 	if(current->pwd) {
current           140 kernel/syscalls/fork.c 		current->pwd->count++;
current           145 kernel/syscalls/fork.c 	current->children++;
current            24 kernel/syscalls/fstat.c 	printk("(pid %d) sys_fstat(%d, 0x%08x) -> returning structure\n", current->pid, ufd, (unsigned int )statbuf);
current            31 kernel/syscalls/fstat.c 	i = fd_table[current->fd[ufd]].inode;
current            23 kernel/syscalls/fstatfs.c 	printk("(pid %d) sys_fstatfs(%d, 0x%08x)\n", current->pid, ufd, (unsigned int)statfsbuf);
current            30 kernel/syscalls/fstatfs.c 	i = fd_table[current->fd[ufd]].inode;
current            24 kernel/syscalls/fsync.c 	printk("(pid %d) sys_fsync(%d)\n", current->pid, ufd);
current            28 kernel/syscalls/fsync.c 	i = fd_table[current->fd[ufd]].inode;
current            23 kernel/syscalls/ftime.c 	printk("(pid %d) sys_ftime()\n", current->pid);
current            25 kernel/syscalls/ftruncate.c 	printk("(pid %d) sys_ftruncate(%d, %d)\n", current->pid, ufd, length);
current            29 kernel/syscalls/ftruncate.c 	i = fd_table[current->fd[ufd]].inode;
current            30 kernel/syscalls/ftruncate.c 	if((fd_table[current->fd[ufd]].flags & O_ACCMODE) == O_RDONLY) {
current            22 kernel/syscalls/getcwd.c 	printk("(pid %d) sys_getcwd(0x%08x, %d)\n", current->pid, (unsigned int)buf, size);
current            24 kernel/syscalls/getdents.c 	printk("(pid %d) sys_getdents(%d, 0x%08x, %d)", current->pid, ufd, (unsigned int)dirent, count);
current            31 kernel/syscalls/getdents.c 	i = fd_table[current->fd[ufd]].inode;
current            38 kernel/syscalls/getdents.c 		errno = i->fsop->readdir(i, &fd_table[current->fd[ufd]], dirent, count);
current            17 kernel/syscalls/getegid.c 	printk("(pid %d) sys_getegid() -> %d\n", current->pid, current->egid);
current            19 kernel/syscalls/getegid.c 	return current->egid;
current            17 kernel/syscalls/geteuid.c 	printk("(pid %d) sys_geteuid() -> %d\n", current->pid, current->euid);
current            19 kernel/syscalls/geteuid.c 	return current->euid;
current            17 kernel/syscalls/getgid.c 	printk("(pid %d) sys_getgid() -> %d\n", current->pid, current->gid);
current            19 kernel/syscalls/getgid.c 	return current->gid;
current            22 kernel/syscalls/getgroups.c 	printk("(pid %d) sys_getgroups(%d, 0x%08x)\n", current->pid, size, (unsigned int)list);
current            32 kernel/syscalls/getgroups.c 			if(current->groups[n] == -1) {
current            43 kernel/syscalls/getgroups.c 		if(current->groups[n] == -1) {
current            50 kernel/syscalls/getgroups.c 			list[n] = (__gid_t)current->groups[n];
current            22 kernel/syscalls/getitimer.c 	printk("(pid %d) sys_getitimer(%d, 0x%08x) -> \n", current->pid, which, (unsigned int)curr_value);
current            33 kernel/syscalls/getitimer.c 			ticks2tv(current->it_real_interval, &curr_value->it_interval);
current            34 kernel/syscalls/getitimer.c 			ticks2tv(current->it_real_value, &curr_value->it_value);
current            37 kernel/syscalls/getitimer.c 			ticks2tv(current->it_virt_interval, &curr_value->it_interval);
current            38 kernel/syscalls/getitimer.c 			ticks2tv(current->it_virt_value, &curr_value->it_value);
current            41 kernel/syscalls/getitimer.c 			ticks2tv(current->it_prof_interval, &curr_value->it_interval);
current            42 kernel/syscalls/getitimer.c 			ticks2tv(current->it_prof_value, &curr_value->it_value);
current            22 kernel/syscalls/getpgid.c 	printk("(pid %d) sys_getpgid(%d)\n", current->pid, pid);
current            29 kernel/syscalls/getpgid.c 		return current->pgid;
current            17 kernel/syscalls/getpgrp.c 	printk("(pid %d) sys_getpgrp() -> %d\n", current->pid, current->pgid);
current            19 kernel/syscalls/getpgrp.c 	return current->pgid;
current            17 kernel/syscalls/getpid.c 	printk("(pid %d) sys_getpid() -> %d\n", current->pid, current->pid);
current            19 kernel/syscalls/getpid.c 	return current->pid;
current            17 kernel/syscalls/getppid.c 	printk("(pid %d) sys_getppid() -> %d\n", current->pid, current->ppid);
current            19 kernel/syscalls/getppid.c 	return current->ppid;
current            22 kernel/syscalls/getrlimit.c 	printk("(pid %d) sys_getrlimit(%d, 0x%08x)\n", current->pid, resource, (unsigned int)rlim);
current            32 kernel/syscalls/getrlimit.c 	rlim->rlim_cur = current->rlim[resource].rlim_cur;
current            33 kernel/syscalls/getrlimit.c 	rlim->rlim_max = current->rlim[resource].rlim_max;
current            23 kernel/syscalls/getrusage.c 	printk("(pid %d) sys_getrusage(%d, 0x%08x)\n", current->pid, who, (unsigned int)usage);
current            31 kernel/syscalls/getrusage.c 			memcpy_b(usage, &current->usage, sizeof(struct rusage));
current            34 kernel/syscalls/getrusage.c 			memcpy_b(usage, &current->cusage, sizeof(struct rusage));
current            22 kernel/syscalls/getsid.c 	printk("(pid %d) sys_getsid(%d)\n", current->pid, pid);
current            29 kernel/syscalls/getsid.c 		return current->sid;
current            23 kernel/syscalls/gettimeofday.c 	printk("(pid %d) sys_gettimeofday()\n", current->pid);
current            17 kernel/syscalls/getuid.c 	printk("(pid %d) sys_getuid() -> %d\n", current->pid, current->uid);
current            20 kernel/syscalls/getuid.c 	return current->uid;
current            21 kernel/syscalls/ioctl.c 	printk("(pid %d) sys_ioctl(%d, 0x%x, 0x%08x) -> ", current->pid, fd, cmd, arg);
current            25 kernel/syscalls/ioctl.c 	i = fd_table[current->fd[fd]].inode;
current            18 kernel/syscalls/ioperm.c 	printk("(pid %d) sys_ioperm(0x%08x, 0x%08x, 0x%08x)\n", current->pid, from, num, turn_on);
current            38 kernel/syscalls/iopl.c 	printk("(pid %d) sys_iopl(%d) -> ", current->pid, level);
current            22 kernel/syscalls/kill.c 	printk("(pid %d) sys_kill(%d, %d)\n", current->pid, pid, signum);
current            31 kernel/syscalls/kill.c 			if(p->pid > 1 && p != current) {
current            40 kernel/syscalls/kill.c 		return kill_pgrp(current->pgid, signum);
current            25 kernel/syscalls/link.c 	printk("(pid %d) sys_link('%s', '%s')\n", current->pid, oldname, newname);
current            26 kernel/syscalls/llseek.c 	printk("(pid %d) sys_llseek(%d, %u, %u, %08x, %d)", current->pid, ufd, offset_high, offset_low, result, whence);
current            33 kernel/syscalls/llseek.c 	i = fd_table[current->fd[ufd]].inode;
current            40 kernel/syscalls/llseek.c 			new_offset = fd_table[current->fd[ufd]].offset + offset;
current            48 kernel/syscalls/llseek.c 	fd_table[current->fd[ufd]].offset = new_offset;
current            24 kernel/syscalls/lseek.c 	printk("(pid %d) sys_lseek(%d, %d, %d)", current->pid, ufd, offset, whence);
current            29 kernel/syscalls/lseek.c 	i = fd_table[current->fd[ufd]].inode;
current            35 kernel/syscalls/lseek.c 			new_offset = fd_table[current->fd[ufd]].offset + offset;
current            47 kernel/syscalls/lseek.c 		fd_table[current->fd[ufd]].offset = new_offset;
current            24 kernel/syscalls/lstat.c 	printk("(pid %d) sys_lstat('%s', 0x%08x) -> returning structure\n", current->pid, filename, (unsigned int )statbuf);
current            26 kernel/syscalls/mkdir.c 	printk("(pid %d) sys_mkdir('%s', %o)\n", current->pid, dirname, mode);
current            26 kernel/syscalls/mknod.c 	printk("(pid %d) sys_mknod('%s', %d, %x)\n", current->pid, pathname, mode, dev);
current            34 kernel/syscalls/mount.c 	printk("(pid %d) sys_mount(%s, %s, %s, 0x%08x, 0x%08x\n", current->pid, source, target, (int)fstype ? fstype : "<NULL>", flags, data);
current            24 kernel/syscalls/mprotect.c 	printk("(pid %d) sys_mprotect(0x%08x, %d, %d)\n", current->pid, addr, length, prot);
current            19 kernel/syscalls/munmap.c 	printk("(pid %d) sys_munmap(0x%08x, %d)\n", current->pid, addr, length);
current            27 kernel/syscalls/nanosleep.c 	printk("(pid %d) sys_nanosleep(0x%08x, 0x%08x)\n", current->pid, (unsigned int)req, (unsigned int)rem);
current            47 kernel/syscalls/nanosleep.c 	current->timeout = (req->tv_sec * HZ) + (nsec * HZ / 1000000000L);
current            48 kernel/syscalls/nanosleep.c 	if(current->timeout) {
current            50 kernel/syscalls/nanosleep.c 		if(current->timeout) {
current            55 kernel/syscalls/nanosleep.c 				rem->tv_sec = current->timeout / HZ;
current            56 kernel/syscalls/nanosleep.c 				rem->tv_nsec = (current->timeout % HZ) * 1000000000L / HZ;
current            23 kernel/syscalls/newfstat.c 	printk("(pid %d) sys_newfstat(%d, 0x%08x) -> returning structure\n", current->pid, ufd, (unsigned int )statbuf);
current            30 kernel/syscalls/newfstat.c 	i = fd_table[current->fd[ufd]].inode;
current            24 kernel/syscalls/newlstat.c 	printk("(pid %d) sys_newlstat('%s', 0x%08x) -> returning structure\n", current->pid, filename, (unsigned int )statbuf);
current            24 kernel/syscalls/newstat.c 	printk("(pid %d) sys_newstat('%s', 0x%08x) -> returning structure\n", current->pid, filename, (unsigned int )statbuf);
current            23 kernel/syscalls/newuname.c 	printk("(pid %d) sys_newuname(0x%08x)\n", current->pid, (int)uname);
current            28 kernel/syscalls/old_mmap.c 	printk("(pid %d) old_mmap(0x%08x, %d, 0x%02x, 0x%02x, %d, 0x%08x) -> ", current->pid, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->fd, mmap->offset);
current            42 kernel/syscalls/old_mmap.c 		if(!(i = fd_table[current->fd[mmap->fd]].inode)) {
current            45 kernel/syscalls/old_mmap.c 		flags = fd_table[current->fd[mmap->fd]].flags & O_ACCMODE;
current            29 kernel/syscalls/old_select.c 	printk("(pid %d) old_select(0x%08x)\n", current->pid, (int)params);
current            22 kernel/syscalls/olduname.c 	printk("(pid %d) sys_olduname(0x%0x)", current->pid, uname);
current            24 kernel/syscalls/open.c 	printk("(pid %d) sys_open('%s', %o, %o)\n", current->pid, filename, flags, mode);
current           130 kernel/syscalls/open.c 	current->fd[ufd] = fd;
current            21 kernel/syscalls/pause.c 	printk("(pid %d) sys_pause()\n", current->pid);
current            16 kernel/syscalls/personality.c 	printk("(pid %d) sys_personality(%d) -> %d\n", current->pid, persona, persona);
current            24 kernel/syscalls/pipe.c 	printk("(pid %d) sys_pipe()", current->pid);
current            62 kernel/syscalls/pipe.c 	current->fd[rufd] = rfd;
current            63 kernel/syscalls/pipe.c 	current->fd[wufd] = wfd;
current            23 kernel/syscalls/read.c 	printk("(pid %d) sys_read(%d, 0x%08x, %d) -> ", current->pid, ufd, buf, count);
current            30 kernel/syscalls/read.c 	if(fd_table[current->fd[ufd]].flags & O_WRONLY) {
current            40 kernel/syscalls/read.c 	i = fd_table[current->fd[ufd]].inode;
current            42 kernel/syscalls/read.c 		errno = i->fsop->read(i, &fd_table[current->fd[ufd]], buf, count);
current            26 kernel/syscalls/readlink.c 	printk("(pid %d) sys_readlink(%s, 0x%08x, %d)\n", current->pid, filename, (unsigned int)buffer, bufsize);
current            22 kernel/syscalls/reboot.c 	printk("(pid %d) sys_reboot(0x%08x, %d, 0x%08x)\n", current->pid, magic1, magic2, flag);
current            26 kernel/syscalls/rename.c 	printk("(pid %d) sys_rename('%s', '%s')\n", current->pid, oldpath, newpath);
current            24 kernel/syscalls/rmdir.c 	printk("(pid %d) sys_rmdir(%s)\n", current->pid, dirname);
current            43 kernel/syscalls/rmdir.c 	if(i == current->root || i->mount_point || i->count > 1) {
current            59 kernel/syscalls/select.c 			if(!current->fd[n]) {
current            62 kernel/syscalls/select.c 			i = fd_table[current->fd[n]].inode;
current            83 kernel/syscalls/select.c 		if(count || !current->timeout || current->sigpending & ~current->sigblocked) {
current           100 kernel/syscalls/select.c 	printk("(pid %d) sys_select(%d, 0x%08x, 0x%08x, 0x%08x, 0x%08x [%d])\n", current->pid, nfds, (int)readfds, (int)writefds, (int)exceptfds, (int)timeout, (int)timeout ? tv2ticks(timeout): 0);
current           150 kernel/syscalls/select.c 	current->timeout = t;
current           154 kernel/syscalls/select.c 	current->timeout = 0;
current            23 kernel/syscalls/setdomainname.c 	printk("(pid %d) sys_setdomainname('%s', %d)\n", current->pid, name, length);
current            18 kernel/syscalls/setfsgid.c 	printk("(pid %d) sys_setfsgid(%d) -> %d\n", current->pid, fsgid);
current            18 kernel/syscalls/setfsuid.c 	printk("(pid %d) sys_setfsuid(%d) -> %d\n", current->pid, fsuid);
current            19 kernel/syscalls/setgid.c 	printk("(pid %d) sys_setgid(%d)\n", current->pid, gid);
current            23 kernel/syscalls/setgid.c 		current->gid = current->egid = current->sgid = gid;
current            25 kernel/syscalls/setgid.c 		if((current->gid == gid) || (current->sgid == gid)) {
current            26 kernel/syscalls/setgid.c 			current->egid = gid;
current            22 kernel/syscalls/setgroups.c 	printk("(pid %d) sys_setgroups(%d, 0x%08x)\n", current->pid, size, (unsigned int)list);
current            35 kernel/syscalls/setgroups.c 		current->groups[n] = -1;
current            37 kernel/syscalls/setgroups.c 			current->groups[n] = list[n];
current            24 kernel/syscalls/sethostname.c 	printk("(pid %d) sys_sethostname('%s', %d)\n", current->pid, name, length);
current            21 kernel/syscalls/setitimer.c 	printk("(pid %d) sys_setitimer(%d, 0x%08x, 0x%08x) -> \n", current->pid, which, (unsigned int)new_value, (unsigned int)old_value);
current            22 kernel/syscalls/setpgid.c 	printk("(pid %d) sys_setpgid(%d, %d)", current->pid, pid, pgid);
current            29 kernel/syscalls/setpgid.c 		pid = current->pid;
current            39 kernel/syscalls/setpgid.c 	if(p != current && p->ppid != current->pid) {
current            42 kernel/syscalls/setpgid.c 	if(p->sid == p->pid || p->sid != current->sid) {
current            50 kernel/syscalls/setpgid.c 			if(p->pgid == pgid && p->sid != current->sid) {
current            57 kernel/syscalls/setpgid.c 	if(p != current && p->flags & PF_PEXEC) {
current            19 kernel/syscalls/setregid.c 	printk("(pid %d) sys_setregid(%d, %d) -> ", current->pid, gid, egid);
current            24 kernel/syscalls/setregid.c 			if(gid != (__uid_t)-1 || (current->egid >= 0 && current->gid != egid)) {
current            25 kernel/syscalls/setregid.c 				current->sgid = egid;
current            27 kernel/syscalls/setregid.c 			current->egid = egid;
current            30 kernel/syscalls/setregid.c 			current->gid = gid;
current            33 kernel/syscalls/setregid.c 		if(egid != (__uid_t)-1 && (current->gid == egid || current->egid == egid || current->sgid == egid)) {
current            34 kernel/syscalls/setregid.c 			if(gid != (__uid_t)-1 || (current->egid >= 0 && current->gid != egid)) {
current            35 kernel/syscalls/setregid.c 				current->sgid = egid;
current            37 kernel/syscalls/setregid.c 			current->egid = egid;
current            41 kernel/syscalls/setregid.c 		if(gid != (__uid_t)-1 && (current->gid == gid || current->egid == gid)) {
current            42 kernel/syscalls/setregid.c 			current->gid = gid;
current            19 kernel/syscalls/setreuid.c 	printk("(pid %d) sys_setreuid(%d, %d) -> ", current->pid, uid, euid);
current            24 kernel/syscalls/setreuid.c 			if(uid != (__uid_t)-1 || (current->euid >= 0 && current->uid != euid)) {
current            25 kernel/syscalls/setreuid.c 				current->suid = euid;
current            27 kernel/syscalls/setreuid.c 			current->euid = euid;
current            30 kernel/syscalls/setreuid.c 			current->uid = uid;
current            33 kernel/syscalls/setreuid.c 		if(euid != (__uid_t)-1 && (current->uid == euid || current->euid == euid || current->suid == euid)) {
current            34 kernel/syscalls/setreuid.c 			if(uid != (__uid_t)-1 || (current->euid >= 0 && current->uid != euid)) {
current            35 kernel/syscalls/setreuid.c 				current->suid = euid;
current            37 kernel/syscalls/setreuid.c 			current->euid = euid;
current            41 kernel/syscalls/setreuid.c 		if(uid != (__uid_t)-1 && (current->uid == uid || current->euid == uid)) {
current            42 kernel/syscalls/setreuid.c 			current->uid = uid;
current            23 kernel/syscalls/setrlimit.c 	printk("(pid %d) sys_setrlimit(%d, 0x%08x)\n", current->pid, resource, (unsigned int)rlim);
current            36 kernel/syscalls/setrlimit.c 		if(rlim->rlim_max > current->rlim[resource].rlim_max) {
current            40 kernel/syscalls/setrlimit.c 	memcpy_b(&current->rlim[resource], rlim, sizeof(struct rlimit));
current            21 kernel/syscalls/setsid.c 	printk("(pid %d) sys_setsid()\n", current->pid);
current            24 kernel/syscalls/setsid.c 	if(PG_LEADER(current)) {
current            28 kernel/syscalls/setsid.c 		if(p != current && p->pgid == current->pid) {
current            34 kernel/syscalls/setsid.c 	current->sid = current->pgid = current->pid;
current            35 kernel/syscalls/setsid.c 	current->ctty = NULL;
current            36 kernel/syscalls/setsid.c 	return current->sid;
current            24 kernel/syscalls/settimeofday.c 	printk("(pid %d) sys_settimeofday()\n", current->pid);
current            19 kernel/syscalls/setuid.c 	printk("(pid %d) sys_setuid(%d)\n", current->pid, uid);
current            23 kernel/syscalls/setuid.c 		current->uid = current->suid = uid;
current            25 kernel/syscalls/setuid.c 		if((current->uid != uid) && (current->suid != uid)) {
current            29 kernel/syscalls/setuid.c 	current->euid = uid;
current            17 kernel/syscalls/sgetmask.c 	printk("(pid %d) sys_sgetmask() -> \n", current->pid);
current            19 kernel/syscalls/sgetmask.c 	return current->sigblocked;
current            22 kernel/syscalls/sigaction.c 	printk("(pid %d) sys_sigaction(%d, 0x%08x, 0x%08x)\n", current->pid, signum, (unsigned int)newaction, (unsigned int)oldaction);
current            35 kernel/syscalls/sigaction.c 		*oldaction = current->sigaction[signum - 1];
current            41 kernel/syscalls/sigaction.c 		current->sigaction[signum - 1] = *newaction;
current            42 kernel/syscalls/sigaction.c 		if(current->sigaction[signum - 1].sa_handler == SIG_IGN) {
current            44 kernel/syscalls/sigaction.c 				current->sigpending &= SIG_MASK(signum);
current            47 kernel/syscalls/sigaction.c 		if(current->sigaction[signum - 1].sa_handler == SIG_DFL) {
current            49 kernel/syscalls/sigaction.c 				current->sigpending &= SIG_MASK(signum);
current            24 kernel/syscalls/signal.c 	printk("(pid %d) sys_signal()\n", current->pid);
current            43 kernel/syscalls/signal.c 	sighandler = current->sigaction[signum - 1].sa_handler;
current            44 kernel/syscalls/signal.c 	current->sigaction[signum - 1] = s;
current            45 kernel/syscalls/signal.c 	if(current->sigaction[signum - 1].sa_handler == SIG_IGN) {
current            47 kernel/syscalls/signal.c 			current->sigpending &= SIG_MASK(signum);
current            50 kernel/syscalls/signal.c 	if(current->sigaction[signum - 1].sa_handler == SIG_DFL) {
current            52 kernel/syscalls/signal.c 			current->sigpending &= SIG_MASK(signum);
current            22 kernel/syscalls/sigpending.c 	printk("(pid %d) sys_sigpending(0x%08x) -> ", current->pid, set);
current            28 kernel/syscalls/sigpending.c 	memcpy_b(set, &current->sigpending, sizeof(__sigset_t));
current            22 kernel/syscalls/sigprocmask.c 	printk("(pid %d) sys_sigprocmask(%d, 0x%08x, 0x%08x)\n", current->pid, how, set, oldset);
current            29 kernel/syscalls/sigprocmask.c 		*oldset = current->sigblocked;
current            38 kernel/syscalls/sigprocmask.c 				current->sigblocked |= (*set & SIG_BLOCKABLE);
current            41 kernel/syscalls/sigprocmask.c 				current->sigblocked &= ~(*set & SIG_BLOCKABLE);
current            44 kernel/syscalls/sigprocmask.c 				current->sigblocked = (*set & SIG_BLOCKABLE);
current            19 kernel/syscalls/sigreturn.c 	printk("(pid %d) sys_sigreturn(0x%08x)\n", current->pid, signum);
current            22 kernel/syscalls/sigreturn.c 	current->sigblocked &= ~current->sigexecuting;
current            23 kernel/syscalls/sigreturn.c 	current->sigexecuting = 0;
current            24 kernel/syscalls/sigreturn.c 	memcpy_b(sc, &current->sc[signum - 1], sizeof(struct sigcontext));
current            30 kernel/syscalls/sigreturn.c 	return current->sc[signum - 1].eax;
current            24 kernel/syscalls/sigsuspend.c 	printk("(pid %d) sys_sigsuspend(0x%08x) -> ", current->pid, mask);
current            27 kernel/syscalls/sigsuspend.c 	old_mask = current->sigblocked;
current            32 kernel/syscalls/sigsuspend.c 		current->sigblocked = (int)*mask & SIG_BLOCKABLE;
current            34 kernel/syscalls/sigsuspend.c 		current->sigblocked = 0 & SIG_BLOCKABLE;
current            37 kernel/syscalls/sigsuspend.c 	current->sigblocked = old_mask;
current            18 kernel/syscalls/socketcall.c 	printk("(pid %d) sys_socketcall(%d, 0x%08x) -> ENOENT\n", current->pid, call, args);
current            20 kernel/syscalls/ssetmask.c 	printk("(pid %d) sys_ssetmask(0x%08x) -> \n", current->pid, newmask);
current            23 kernel/syscalls/ssetmask.c 	oldmask = current->sigblocked;
current            24 kernel/syscalls/ssetmask.c 	current->sigblocked = newmask & SIG_BLOCKABLE;
current            25 kernel/syscalls/stat.c 	printk("(pid %d) sys_stat(%s, 0x%08x) -> returning structure\n", current->pid, filename, (unsigned int )statbuf);
current            25 kernel/syscalls/statfs.c 	printk("(pid %d) sys_statfs('%s', 0x%08x)\n", current->pid, filename, (unsigned int)statfsbuf);
current            23 kernel/syscalls/stime.c 	printk("(pid %d) sys_stime(0x%08x)\n", current->pid, (unsigned int)t);
current            25 kernel/syscalls/symlink.c 	printk("(pid %d) sys_symlink('%s', '%s')\n", current->pid, oldpath, newpath);
current            20 kernel/syscalls/sync.c 	printk("(pid %d) sys_sync()\n", current->pid);
current            27 kernel/syscalls/sysinfo.c 	printk("(pid %d) sys_sysinfo(0x%08x)\n ", current->pid, (unsigned int)info);
current            22 kernel/syscalls/time.c 	printk("(pid %d) sys_time() -> ", current->pid);
current            30 kernel/syscalls/times.c 		buf->tms_utime = tv2ticks(&current->usage.ru_utime);
current            31 kernel/syscalls/times.c 		buf->tms_stime = tv2ticks(&current->usage.ru_stime);
current            32 kernel/syscalls/times.c 		buf->tms_cutime = tv2ticks(&current->cusage.ru_utime);
current            33 kernel/syscalls/times.c 		buf->tms_cstime = tv2ticks(&current->cusage.ru_stime);
current            26 kernel/syscalls/truncate.c 	printk("(pid %d) sys_truncate(%s, %d)\n", current->pid, path, length);
current            21 kernel/syscalls/umask.c 	printk("(pid %d) sys_umask(%d)\n", current->pid, mask);
current            24 kernel/syscalls/umask.c 	old_umask = current->umask;
current            25 kernel/syscalls/umask.c 	current->umask = mask & (S_IRWXU | S_IRWXG | S_IRWXO);
current            18 kernel/syscalls/umount.c 	printk("(pid %d) sys_umount(%s)\n", current->pid, target);
current            34 kernel/syscalls/umount2.c 	printk("(pid %d) sys_umount2(%s, 0x%08x)\n", current->pid, target, flags);
current            22 kernel/syscalls/uname.c 	printk("(pid %d) sys_uname(0x%08x) -> returning ", current->pid, (unsigned int)uname);
current            26 kernel/syscalls/unlink.c 	printk("(pid %d) sys_unlink('%s')\n", current->pid, filename);
current            28 kernel/syscalls/ustat.c 	printk("(pid %d) sys_ustat(%d, 0x%08x)\n", current->pid, dev, (int)ubuf);
current            27 kernel/syscalls/utime.c 	printk("(pid %d) sys_utime('%s', 0x%08x)\n", current->pid, filename, (int)times);
current            27 kernel/syscalls/wait4.c 	printk("(pid %d) sys_wait4(%d, status, %d)\n", current->pid, pid, options);
current            35 kernel/syscalls/wait4.c 	while(current->children) {
current            38 kernel/syscalls/wait4.c 			if(p->ppid != current->pid) {
current            48 kernel/syscalls/wait4.c 				if(p->pgid == current->pgid) {
current            96 kernel/syscalls/wait4.c 		current->sigpending &= SIG_MASK(SIGCHLD);
current            20 kernel/syscalls/waitpid.c 	printk("(pid %d) sys_waitpid(%d, 0x%08x, %d)\n", current->pid, pid,  status ? *status : 0, options);
current            24 kernel/syscalls/write.c 	printk("(pid %d) sys_write(%d, 0x%08x, %d) -> ", current->pid, ufd, buf, count);
current            31 kernel/syscalls/write.c 	if(fd_table[current->fd[ufd]].flags & O_RDONLY) {
current            40 kernel/syscalls/write.c 	i = fd_table[current->fd[ufd]].inode;
current            42 kernel/syscalls/write.c 		errno = i->fsop->write(i, &fd_table[current->fd[ufd]], buf, count);
current           183 kernel/timer.c 		current->usage.ru_stime.tv_usec += TICK;
current           184 kernel/timer.c 		if(current->usage.ru_stime.tv_usec >= 1000000) {
current           185 kernel/timer.c 			current->usage.ru_stime.tv_sec++;
current           186 kernel/timer.c 			current->usage.ru_stime.tv_usec -= 1000000;
current           188 kernel/timer.c 		if(current->pid != IDLE) {
current           192 kernel/timer.c 		current->usage.ru_utime.tv_usec += TICK;
current           193 kernel/timer.c 		if(current->usage.ru_utime.tv_usec >= 1000000) {
current           194 kernel/timer.c 			current->usage.ru_utime.tv_sec++;
current           195 kernel/timer.c 			current->usage.ru_utime.tv_usec -= 1000000;
current           197 kernel/timer.c 		if(current->pid != IDLE) {
current           200 kernel/timer.c 		if(current->it_virt_value > 0) {
current           201 kernel/timer.c 			current->it_virt_value--;
current           202 kernel/timer.c 			if(!current->it_virt_value) {
current           203 kernel/timer.c 				current->it_virt_value = current->it_virt_interval;
current           204 kernel/timer.c 				send_sig(current, SIGVTALRM);
current           226 kernel/timer.c 				ticks2tv(current->it_real_interval, &old_value->it_interval);
current           227 kernel/timer.c 				ticks2tv(current->it_real_value, &old_value->it_value);
current           229 kernel/timer.c 			current->it_real_interval = tv2ticks(&new_value->it_interval);
current           230 kernel/timer.c 			current->it_real_value = tv2ticks(&new_value->it_value);
current           234 kernel/timer.c 				ticks2tv(current->it_virt_interval, &old_value->it_interval);
current           235 kernel/timer.c 				ticks2tv(current->it_virt_value, &old_value->it_value);
current           237 kernel/timer.c 			current->it_virt_interval = tv2ticks(&new_value->it_interval);
current           238 kernel/timer.c 			current->it_virt_value = tv2ticks(&new_value->it_value);
current           242 kernel/timer.c 				ticks2tv(current->it_prof_interval, &old_value->it_interval);
current           243 kernel/timer.c 				ticks2tv(current->it_prof_value, &old_value->it_value);
current           245 kernel/timer.c 			current->it_prof_interval = tv2ticks(&new_value->it_interval);
current           246 kernel/timer.c 			current->it_prof_value = tv2ticks(&new_value->it_value);
current           284 kernel/timer.c 	if(current->usage.ru_utime.tv_sec + current->usage.ru_stime.tv_sec > current->rlim[RLIMIT_CPU].rlim_cur) {
current           285 kernel/timer.c 		send_sig(current, SIGXCPU);
current           288 kernel/timer.c 	if(current->it_prof_value > 0) {
current           289 kernel/timer.c 		current->it_prof_value--;
current           290 kernel/timer.c 		if(!current->it_prof_value) {
current           291 kernel/timer.c 			current->it_prof_value = current->it_prof_interval;
current           292 kernel/timer.c 			send_sig(current, SIGPROF);
current           327 kernel/timer.c 	if(current->pid > IDLE && --current->cpu_count <= 0) {
current           328 kernel/timer.c 		current->cpu_count = 0;
current            73 kernel/traps.c 	send_sig(current, SIGFPE);
current            82 kernel/traps.c 	send_sig(current, SIGTRAP);
current           105 kernel/traps.c 	send_sig(current, SIGSEGV);
current           114 kernel/traps.c 	send_sig(current, SIGTRAP);
current           123 kernel/traps.c 	send_sig(current, SIGSEGV);
current           132 kernel/traps.c 	send_sig(current, SIGSEGV);
current           141 kernel/traps.c 	send_sig(current, SIGILL);
current           152 kernel/traps.c 	send_sig(current, SIGILL);
current           161 kernel/traps.c 	send_sig(current, SIGSEGV);
current           170 kernel/traps.c 	send_sig(current, SIGFPE);
current           179 kernel/traps.c 	send_sig(current, SIGSEGV);
current           188 kernel/traps.c 	send_sig(current, SIGBUS);
current           197 kernel/traps.c 	send_sig(current, SIGBUS);
current           206 kernel/traps.c 	send_sig(current, SIGSEGV);
current           217 kernel/traps.c 	send_sig(current, SIGSEGV);
current           226 kernel/traps.c 	send_sig(current, SIGFPE);
current           235 kernel/traps.c 	send_sig(current, SIGSEGV);
current           244 kernel/traps.c 	send_sig(current, SIGSEGV);
current           253 kernel/traps.c 	send_sig(current, SIGSEGV);
current           327 kernel/traps.c 	printk("Process '%s' with pid %d", current->argv0, current->pid);
current           343 kernel/traps.c 	if(current->flags & PF_KPROC || sc->cs == KERNEL_CS) {
current            27 mm/fault.c     	show_vma_regions(current);
current            29 mm/fault.c     	send_sig(current, SIGSEGV);
current            42 mm/fault.c     	pgdir = (unsigned int *)P2V(current->tss.cr3);
current            60 mm/fault.c     		current->rss++;
current            64 mm/fault.c     		current->rss--;
current            93 mm/fault.c     				printk("WARNING: %s(): process %d doesn't have an stack region in vma!\n", __FUNCTION__, current->pid);
current           119 mm/fault.c     				if(!map_page(current, cr2, (unsigned int)V2P(pg->data), vma->prot)) {
current           127 mm/fault.c     			if(!(addr = map_page(current, cr2, 0, vma->prot))) {
current           136 mm/fault.c     			current->usage.ru_majflt++;
current           139 mm/fault.c     		current->usage.ru_minflt++;
current           145 mm/fault.c     			if(!(addr = map_page(current, cr2, 0, vma->prot))) {
current           213 mm/fault.c     						send_sig(current, SIGKILL);
current           220 mm/fault.c     					send_sig(current, SIGKILL);
current           233 mm/fault.c     					send_sig(current, SIGKILL);
current           234 mm/fault.c     					printk("%s(): kernel was unable to read a page of process '%s' (pid %d).\n", __FUNCTION__, current->argv0, current->pid);
current           240 mm/fault.c     					send_sig(current, SIGKILL);
current           241 mm/fault.c     					printk("%s(): kernel was unable to write a page of process '%s' (pid %d).\n", __FUNCTION__, current->argv0, current->pid);
current           253 mm/fault.c     					send_sig(current, SIGKILL);
current           261 mm/fault.c     	show_vma_regions(current);
current           137 mm/memory.c    	src_pgdir = (unsigned int *)P2V(current->tss.cr3);
current           139 mm/memory.c    	vma = current->vma;
current           155 mm/memory.c    					current->rss++;
current           242 mm/memory.c    	pgdir = (unsigned int *)P2V(current->tss.cr3);
current           259 mm/memory.c    	current->rss--;
current            79 mm/mmap.c      	vma = current->vma;
current            98 mm/mmap.c      	vma = current->vma;
current           145 mm/mmap.c      		vma = current->vma;
current           196 mm/mmap.c      	vma = current->vma;
current           218 mm/mmap.c      	pgdir = (unsigned int *)P2V(current->tss.cr3);
current           240 mm/mmap.c      				current->rss--;
current           251 mm/mmap.c      					current->rss--;
current           296 mm/mmap.c      	vma = current->vma;
current           317 mm/mmap.c      	vma = current->vma;
current           332 mm/mmap.c      	vma = current->vma;
current           169 mm/page.c      			printk("%s(): pid %d ran out of memory. OOM killer needed!\n", __FUNCTION__, current->pid);