tag | line | file | source code |
dump | 74 | fs/exec.c | struct user dump; |
dump | 104 | fs/exec.c | dump.magic = CMAGIC; |
dump | 105 | fs/exec.c | dump.u_tsize = current->end_code / PAGE_SIZE; |
dump | 106 | fs/exec.c | dump.u_dsize = (current->brk - current->end_code) / PAGE_SIZE; |
dump | 107 | fs/exec.c | dump.u_ssize =((current->start_stack +(PAGE_SIZE-1)) / PAGE_SIZE) - |
dump | 111 | fs/exec.c | if ((dump.u_dsize+dump.u_ssize+1) * PAGE_SIZE/1024 > |
dump | 113 | fs/exec.c | dump.u_dsize = 0; |
dump | 115 | fs/exec.c | if ((dump.u_ssize+1) * PAGE_SIZE / 1024 > |
dump | 117 | fs/exec.c | dump.u_ssize = 0; |
dump | 118 | fs/exec.c | dump.u_comm = 0; |
dump | 119 | fs/exec.c | dump.u_ar0 = (struct pt_regs *)(((int)(&dump.regs)) -((int)(&dump))); |
dump | 120 | fs/exec.c | dump.signal = signr; |
dump | 121 | fs/exec.c | dump.regs = *regs; |
dump | 122 | fs/exec.c | dump.start_code = 0; |
dump | 123 | fs/exec.c | dump.start_stack = regs->esp & ~(PAGE_SIZE - 1); |
dump | 125 | fs/exec.c | if (dump.u_fpvalid = current->used_math) { |
dump | 127 | fs/exec.c | __asm__("clts ; fnsave %0"::"m" (dump.i387)); |
dump | 129 | fs/exec.c | memcpy(&dump.i387,¤t->tss.i387,sizeof(dump.i387)); |
dump | 131 | fs/exec.c | DUMP_WRITE(&dump,sizeof(dump)); |
dump | 132 | fs/exec.c | DUMP_SEEK(sizeof(dump)); |
dump | 140 | fs/exec.c | if (dump.u_dsize != 0) { |
dump | 146 | fs/exec.c | if (dump.u_ssize != 0) { |
dump | 148 | fs/exec.c | dump_size = dump.u_ssize * PAGE_SIZE; |