요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/tee/tee{,priv}X/rpmb_routing_model
2
Date: May 2024
3
KernelVersion: 6.10
4
Contact: op-tee@lists.trustedfirmware.org
5
Description:
6
RPMB frames can be routed to the RPMB device via the
7
user-space daemon tee-supplicant or the RPMB subsystem
8
in the kernel. The value "user" means that the driver
9
will route the RPMB frames via user space. Conversely,
10
"kernel" means that the frames are routed via the RPMB
11
subsystem without assistance from tee-supplicant. It
12
should be assumed that RPMB frames are routed via user
13
space if the variable is absent. The primary purpose
14
of this variable is to let systemd know whether
15
tee-supplicant is needed in the early boot with initramfs.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
RPMB frame routing model
1-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/tee/tee{,priv}X/rpmb_routing_model |
| Date | 2024년 5월 |
| KernelVersion | 6.10 |
| Contact | op-tee@lists.trustedfirmware.org |
| Description | RPMB frame은 userspace daemon tee-supplicant 또는 kernel의 RPMB subsystem을 통해 RPMB device로 route될 수 있습니다. "user" 값은 driver가 RPMB frame을 userspace를 통해 route한다는 뜻입니다. 반대로 "kernel"은 tee-supplicant의 도움 없이 RPMB subsystem을 통해 frame을 route한다는 뜻입니다. 이 variable이 없으면 RPMB frame이 userspace를 통해 route된다고 가정해야 합니다. 이 variable의 주 목적은 initramfs를 사용하는 early boot에서 tee-supplicant가 필요한지 systemd가 알 수 있게 하는 것입니다. |
값/상태RPMB 경로tee-supplicant
userDriver -> userspace -> RPMB device필요
kernelDriver -> kernel RPMB subsystem -> RPMB device불필요
Attribute absentuserspace route로 가정필요한 것으로 간주
Attribute value와 RPMB frame 경로, tee-supplicant 필요 여부의 관계입니다.
rpmb_routing_model 확인→"kernel"이면 kernel RPMB subsystem 사용→"user"이거나 attribute가 없으면 userspace route→Userspace route이면 early boot tee-supplicant 준비
systemd가 initramfs에서 tee-supplicant 필요 여부를 판단하는 흐름입니다.
RPMB frame routing model
sysfs-class-tee:1-15rpmb_routing_model의 user와 kernel 값은 RPMB frame 경로를 구분하며, attribute가 없으면 userspace 경로로 간주합니다. systemd는 이를 보고 initramfs early boot에 tee-supplicant가 필요한지 판단할 수 있습니다.