tag | line | file | source code |
ldt | 364 | fs/exec.c | set_base(current->ldt[1],code_base); |
ldt | 365 | fs/exec.c | set_limit(current->ldt[1],code_limit); |
ldt | 366 | fs/exec.c | set_base(current->ldt[2],data_base); |
ldt | 367 | fs/exec.c | set_limit(current->ldt[2],data_limit); |
ldt | 138 | include/linux/sched.h | unsigned long ldt; /* 16 high bits zero */ |
ldt | 206 | include/linux/sched.h | struct desc_struct ldt[32]; |
ldt | 351 | include/linux/sched.h | #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , base ) |
ldt | 352 | include/linux/sched.h | #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit-1)>>12 ) |
ldt | 450 | include/linux/sched.h | #define get_base(ldt) _get_base( ((char *)&(ldt)) ) |
ldt | 125 | kernel/fork.c | p->tss.ldt = _LDT(nr); |
ldt | 153 | kernel/fork.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,&(p->ldt)); |
ldt | 556 | kernel/sched.c | set_ldt_desc(gdt+FIRST_LDT_ENTRY,&init_task.ldt); |
ldt | 71 | kernel/traps.c | printk("base: %p, limit: %p\n",get_base(current->ldt[1]),get_limit(0x17)); |
ldt | 82 | mm/mmap.c | base = get_base(current->ldt[1]); /* cs */ |
ldt | 85 | mm/mmap.c | base = get_base(current->ldt[2]); /* ds */ |
ldt | 142 | mm/mmap.c | base = get_base(current->ldt[2]); /* map into ds */ |