← Documents Documentation/ABI/testing/procfs-attr-current GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

procfs current LSM security attribute ABI

SELinux·Smack·AppArmor가 제공하는 /proc/*/attr/current의 task current security information, LSM-dependent read·write permission과 format, self-only write 제약을 설명합니다.

Source pathDocumentation/ABI/testing/procfs-attr-current
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Current task security state

procfs-attr-current:1-20

Active LSM이 사용하는 task의 current security information을 제공합니다. Read permission·format은 LSM별이고 process는 자기 자신을 가리키는 interface에만 write할 수 있으며 추가 write permission도 LSM이 결정합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /proc/*/attr/current
2 Contact: linux-security-module@vger.kernel.org,
3 selinux@vger.kernel.org,
4 apparmor@lists.ubuntu.com
5 Description: The current security information used by a Linux
6 security module (LSM) that is active on the system.
7 The details of permissions required to read from
8 this interface and hence obtain the security state
9 of the task identified is LSM dependent.
10 A process cannot write to this interface unless it
11 refers to itself.
12 The other details of permissions required to write to
13 this interface and hence change the security state of
14 the task identified are LSM dependent.
15 The format of the data used by this interface is LSM
16 dependent.
17 SELinux, Smack and AppArmor provide this interface.
18 Users: SELinux user-space
19 Smack user-space
20 AppArmor user-space
21

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Task의 현재 LSM security information

1-20
항목내용
What/proc/*/attr/current
Contactlinux-security-module@vger.kernel.org, selinux@vger.kernel.org, apparmor@lists.ubuntu.com
DescriptionSystem에서 active인 Linux security module(LSM)이 사용하는 현재 security information입니다.
Read permission이 interface에서 읽어 식별된 task의 security state를 얻는 데 필요한 permission의 상세 내용은 LSM에 따라 다릅니다.
Write targetProcess는 이 interface가 자기 자신을 가리키지 않는 한 write할 수 없습니다.
Write permission이 interface에 write해 식별된 task의 security state를 바꾸는 데 필요한 다른 permission의 상세 내용은 LSM에 따라 다릅니다.
Data format이 interface가 사용하는 data format은 LSM에 따라 다릅니다.
ProvidersSELinux, Smack, AppArmor가 이 interface를 제공합니다.
UsersSELinux user-space, Smack user-space, AppArmor user-space
/proc/*/attr/current access boundary
Read target /proc/PID/attr/currentLSM-specific read permissionCurrent task security stateLSM-specific format
Write /proc/PID/attr/currentPID must identify calling process itselfLSM-specific additional write permissionChange current security state
SELinux, Smack, or AppArmorDefines semantics and format

Read와 format은 active LSM이 정의하고 write는 self task 조건과 추가 LSM permission을 모두 만족해야 한다.