FREEDOM. FRIENDS. FEATURES. FIRST. 페도라 한국 사용자 모임

VDSO (Virutal Dynamic Shared Object)

게시판 Tech/Tip VDSO (Virutal Dynamic Shared Object)

태그: 

  • This topic has 1개 답변, 2명 참여, and was last updated 15 years, 8 months 전에 by
    ELem. This post has been viewed 1274 times
  • #12042
    인베인
    참가자
      게시글147 댓글411 총합558
    @leemgs
     


    * 외국얘들과 IRC으로 논의하면서 정리했던 노트입니다.

    About VDSO (Virutal Dynamic Shared Object)


    * http://mail.nl.linux.org/kernelnewbies/2008-02/msg00257.html
    * http://lwn.net/Articles/190139/
    * http://www.trilithium.com/johan/2005/08/linux-gate/
    * http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-01/msg03739.html
     (Roland MCGrath's VDSO Linux Patch)

    Virtual Dynamically-linked Shared Object, a kernel-provided shared library that helps userspace
    perform a few kernel actions without the overhead of a system call, as well as automatically
    choosing the most efficient syscall mechanism. Also called the "vsyscall page".

    vDSO is virtual Dynamic Shared Object and the vdso32 is designed to prevent stack overflow.
    A shared object exposed by the kernel at a fixed address in every process' memory.
    We can verify  vDSO map information via "#>cat /proc//maps".
    So that instead doing int80 or SYSCALL, the app can simply jump to vDSO address and
    passing required parameters. the vDSO will decide which one will be used,
    newer SYSCALL/SYSENTER or int 0x80 depending on machine capability or other settings.
    Actually "lib/modules/vdso" are part of kernel, but made accessible from user space.

    Roland MCGrath's VDSO Linux Patch is located in
    http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-01/msg03739.html website.
    This patch makes CONFIG_COMPAT_VDSO disable the real vma and  use the fixmap area consistently.
    This makes it actually compatible with what the old vdso implementation did.
    If "/proc/sys/vm/vdso_enabled" turned on, the kernel randomizes the vDSO address as early as possible.

    * 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치

0 답변 글타래를 보이고 있습니다
    • #12595
      ELem
      참가자
        게시글74 댓글709 총합783
      @Bardisch
       

      뭐..뭔가 현업 뛰시는분들은 다르시군요;

       
0 답변 글타래를 보이고 있습니다
  • 답변은 로그인 후 가능합니다.

지금 이 순간


가입인사 드립니다
날씨가 많이 춥내용
크롬 브라우저 질문
외부에서 사내망의 메일서버로 메일을 보내면 다음과 같은 로그가 뜹니다.
답변: no1linux.org 팁 내용 입니다
simmon 님께서 보내주신 감사의 선물
가입인사
메리 크리스마스
패도라12 로그인화면(초기화면) 파워버튼 root권한으로..
최신화된 cockpit 상태