tag | line | file | source code |
ldt | 337 | fs/exec.c | code_base = get_base(current->ldt[1]); |
ldt | 339 | fs/exec.c | set_base(current->ldt[1],code_base); |
ldt | 340 | fs/exec.c | set_limit(current->ldt[1],code_limit); |
ldt | 341 | fs/exec.c | set_base(current->ldt[2],data_base); |
ldt | 342 | fs/exec.c | set_limit(current->ldt[2],data_limit); |
ldt | 585 | fs/exec.c | free_page_tables(get_base(current->ldt[1]),get_limit(0x0f)); |
ldt | 586 | fs/exec.c | free_page_tables(get_base(current->ldt[2]),get_limit(0x17)); |
ldt | 104 | include/linux/sched.h | unsigned long ldt; /* 16 high bits zero */ |
ldt | 165 | include/linux/sched.h | struct desc_struct ldt[3]; |
ldt | 306 | include/linux/sched.h | #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , base ) |
ldt | 307 | include/linux/sched.h | #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit-1)>>12 ) |
ldt | 368 | include/linux/sched.h | #define get_base(ldt) _get_base( ((char *)&(ldt)) ) |
ldt | 300 | kernel/exit.c | free_page_tables(get_base(current->ldt[1]),get_limit(0x0f)); |
ldt | 301 | kernel/exit.c | free_page_tables(get_base(current->ldt[2]),get_limit(0x17)); |
ldt | 34 | kernel/fork.c | start += get_base(current->ldt[2]); |
ldt | 49 | kernel/fork.c | old_code_base = get_base(current->ldt[1]); |
ldt | 50 | kernel/fork.c | old_data_base = get_base(current->ldt[2]); |
ldt | 52 | kernel/fork.c | printk("ldt[0]: %08x %08x\n",current->ldt[0].a,current->ldt[0].b); |
ldt | 53 | kernel/fork.c | printk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b); |
ldt | 54 | kernel/fork.c | printk("ldt[2]: %08x %08x\n",current->ldt[2].a,current->ldt[2].b); |
ldt | 61 | kernel/fork.c | set_base(p->ldt[1],new_code_base); |
ldt | 62 | kernel/fork.c | set_base(p->ldt[2],new_data_base); |
ldt | 164 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
ldt | 189 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&(p->ldt)); |
ldt | 516 | kernel/sched.c | set_ldt_desc(gdt+FIRST_LDT_ENTRY,&(init_task.task.ldt)); |
ldt | 71 | kernel/traps.c | printk("base: %p, limit: %p\n",get_base(current->ldt[1]),get_limit(0x17)); |
ldt | 133 | mm/mmap.c | base = get_base(current->ldt[1]); /* cs */ |
ldt | 136 | mm/mmap.c | base = get_base(current->ldt[2]); /* ds */ |
ldt | 185 | mm/mmap.c | base = get_base(current->ldt[2]); /* map into ds */ |