2013년 1월 26일 토요일

selinux 006 둘러보기


lSELinux Homepage: www.nsa.gov/selinuxlSELinux Mailing list: http://www.nsa.gov/selinux/info/list.cfm?MenuID=41.1.1.9lRedhat SELinux Mailing List: http://www.redhat.com/mailman/listinfo/fedora-selinux-listlFedora SELinux Wiki: http://fedoraproject.org/wiki/SELinuxlFedora Core 3 and laterlDebianlGentoolSuSelSE-BSDlSE-MACHlSELinux Management and policy analysis tools-audit2allow-audit2why-load_policy-newrole-restorecon-semanage-semodule-sestatus-setbool-etc...lInterface between userspace and kernellUsed by libselinux and libsemanage to communicate requests with the kernellProvides a quick and easy interface for humanslUsually not used directly from programslInterface between userspace and kernellUsed by libselinux and libsemanage to communicate requests with the kernellProvides a quick and easy interface for humanslUsually not used directly from programs빠르고 쉬운 인터페이스며 프로그램에 의해서 바로 쓰여지지는 않는다는...lcheckpolicyllibselinuxllibsemanagellibsepollpolicycoreutils로 이루어져 있는 갑다.젤 중요한 놈이 libselinuxAVC 계산하고 context를 만들고 정하고 가져온다.policy 엔진에 쿼리를 날릴 수 있는 API를 제공한다.libsemanager도 중요한데 로긴 이름이나 유저 네트웍 포트, 인터페이스파일 컨텍스트, 레벨 체인지, 역할 등...의 기능을 제공한다.libselinux가 베이스라면 libsemanager는 좀 더 향상된 기능을 제공한다고 해야 하나...이 둘을 나누는 정책이 약간 감은 온다.



다 인터넷에 있는 내용들.
selinux의 경우 policy를 재부팅없이 바꿀 수 있는데 그것이 semodule이다.
그리고 중요한 selinux file system.
커널과 유저단의 인터페이스 역할을 하고 libselinux와 libsemanager를 통해 쓰여지고
...



둘러보기 4 댓글 이동

ttp://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/
에서는 안드로이드 소스 탐색이 버전별로 가능하다.
커널 소스를 보려면 git를 이용해서 받아야 한다.

안드로이드의 공개된 소스 트리를 보고 싶으면 
git ls-remote -h http://android.googlesource.com/platform/manifest.git

받고 싶으면 
curl http://android.git.kernel.org/repo > ./repo
리포{리파지토리(저장소)} 스크립트를 받고
repo init -u https://android.googlesource.com/platform/manifest -b android-4.2.1_r1
repo sync 
요렇게.

커널소스는
git clone https://android.googlesource.com/kernel/common.git .


git branch -a

git checkout -b android-3.0 remotes/origin/android-3.0



https://groups.google.com/forum/?fromgroups#!topic/android-building/7Mg52A9eP4s

여기에 잘 정리되어 있다.

댓글 3개:

  1. 삼성 커널은 요걸로... git clone https://android.googlesource.com/kernel/samsung.git

    답글삭제
  2. repo 받는 곳이 이쪽이네

    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo


    답글삭제
    답글
    1. git 최신 버전은

      http://git-scm.com/download/linux

      여기서 확인

      삭제

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...