Collect Moments not Things

고정 헤더 영역

글 제목

메뉴 레이어

Collect Moments not Things

메뉴 리스트

  • HOME
  • TAG
  • MEDIA LOG
  • LOCATION LOG
  • GUEST BOOK
  • ADMIN
  • WRITE
  • 분류 전체보기
    • F.REE
    • T.RAVELER
      • 11' 북경
      • 12' Korea
      • 13' Korea
      • 13' Luangprabang
      • 14' Taipei
      • 14' Korea
      • 15' Korea
      • 25' 괌 준비
    • B.RAINY
    • Chef
    • Greedy
    • Grouchy
    • Handy
      • [linuxunix]
      • [utils]
      • [etc]
    • Jokey[behind.the.world]
      • [story]
      • [movie]
      • [book]
    • Hefty
    • Vanity

검색 레이어

Collect Moments not Things

검색 영역

컨텐츠 검색

Handy/[linuxunix]

  • dereferencing pointer to incomplete type

    2014.06.22 by Astro Smurf

  • [glibc] double free or corruption (!prev)

    2014.05.27 by Astro Smurf

  • Dynamic loading under Linux "-rdynamic"

    2014.04.29 by Astro Smurf

  • [linux/unix] sudo 할 때 문제 : no valid sudoers sources found, quitting

    2014.04.20 by Astro Smurf

  • 우분투 버전 확인 하기 Ubuntu Version

    2014.04.19 by Astro Smurf

  • 매크로 container_of

    2014.04.16 by Astro Smurf

dereferencing pointer to incomplete type

dereferencing pointer to incomplete type 이 에러가 난다면해당 라인에 해당하는 데이터 타입에 대한 정의가 빠져있기 때문이다. 알맞은 헤더를 include하거나아니면 새로 데이터 타입에 대한 정의를 하거나.

Handy/[linuxunix] 2014. 6. 22. 16:34

[glibc] double free or corruption (!prev)

[glibc] double free or corruption (!prev) glibc 를 이용하여, test app 을 하나 만들고, 수행을 하는 순간, 아래와 같이, 에러가 발생했다. *** Error in `test_egl': double free or corruption (!prev): 0x00012100 ***======= Backtrace: =========/lib/libc.so.6[0x45549030]/lib/libc.so.6[0x45549ed4]/usr/lib/libEGL.so(ion_dev_free+0x34)[0xb6f9cba8]/usr/lib/libEGL.so(destroy_buffers+0x20)[0xb6f9c12c] 원인은 이것이었다. malloc 을 한 메모리 영역을 넘어서, mem..

Handy/[linuxunix] 2014. 5. 27. 19:41

Dynamic loading under Linux "-rdynamic"

Dynamic loading under Linux There is a function in the dynamic linker interface library, _dlinfo. It lists all modules currently mapped in by the executable and each shared library opened via dlopen. The output may look like: List of loaded modules 00000000 50006163 50006200 Exe 1 50007000 5000620c 50006200 Lib 1 /lib/elf/libdl.so.1 5000a000 500062c8 50006200 Lib 2 /lib/elf/libc.so.4 50000000 50..

Handy/[linuxunix] 2014. 4. 29. 19:32

[linux/unix] sudo 할 때 문제 : no valid sudoers sources found, quitting

sudo 할 때 문제 : no valid sudoers sources found, quitting $ sudo stunnel4 sudo: /etc/sudoers is owned by uid 1000, should be 0 sudo: no valid sudoers sources found, quitting solved using $ pkexec chmod 0440 /etc/sudoers

Handy/[linuxunix] 2014. 4. 20. 17:07

우분투 버전 확인 하기 Ubuntu Version

출처 : https://help.ubuntu.com/community/CheckingYourUbuntuVersion 우분투 버전을 확인하는 방법은 두가지가 있는데, 한가지는 Unity 에서 확인할 수 있고, 다른 한가지는 터미널창에서 command 를 입력하여 확인할 수 있습니다. 여기에서는 터미널에서 확인할 수 있는 방법을 알려드립니다. In the Terminal 1. 터미널을 엽니다. 2. lsb_release -a 를 입력합니다. 아래와 같이 우분투 버전에 대한 정보가 보일 것입니다. handy.smurf@-v:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Rele..

Handy/[linuxunix] 2014. 4. 19. 13:06

매크로 container_of

container_of(ptr, type, member) // include/linux/kernel.h 에 아래와 같이 정의되어 있다. #define offsetof(type, member) ((size_t) &((type *)0)->member) #define container_of(ptr, type, member) ({ \ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ (type *)( (char *)__mptr - offsetof(type,member) );}) prt : 임의의 포인터값. type : ptr 을 멤버로 갖는 자료구조형(구하고자 하는 자료구조의 형) member : 자료구조형에서 ptr 의 멤머 이름 이름에서 말하는 것과 같이, 구..

Handy/[linuxunix] 2014. 4. 16. 20:49

추가 정보

인기글

최신글

페이징

이전
1
다음
TISTORY
Collect Moments not Things © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바