Arm Linux Kernel Hacks

rousalome.egloos.com

포토로그 Kernel Crash


통계 위젯 (화이트)

740
557
422269


[라즈베리파이] 시그널 - 커널 공간 시그널 함수 분석 - do_sigaction() 12. 시그널

다음으로 살펴볼 코드는 do_sigaction() 함수입니다. 먼저 do_sigaction() 함수는 선언부를 봅시다.

int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact);

do_sigaction() 함수에 전달하는 인자 속성은 다음과 같은데 sys_rt_sigaction() 함수에 전달된 인자 유형과 같습니다.

int sig: 설정한 시그널 번호
struct k_sigaction *act: 새롭게 설정하는 시그널 속성
struct k_sigaction *oact: 이전에 설정했던 시그널 속성

do_sigaction() 함수 인자를 알아봤으니 코드를 분석할 차례입니다.
 
#Referene 시그널
시그널이란
시그널 설정은 어떻게 할까
시그널 생성 과정 함수 분석
프로세스는 언제 시그널을 받을까
시그널 전달과 처리는 어떻게 할까?
시그널 제어 suspend() 함수 분석 
시그널 ftrace 디버깅

"혹시 궁금점이 있으면 댓글로 질문 남겨주세요. 아는 한 성실히 답글 올려드리겠습니다!" 

 # Reference: For more information on 'Linux Kernel';

디버깅을 통해 배우는 리눅스 커널의 구조와 원리. 1

디버깅을 통해 배우는 리눅스 커널의 구조와 원리. 2


repository:
http://rousalome.egloos.com/10025756


 

핑백

덧글

댓글 입력 영역