본문 바로가기
반응형

Security/[리얼] Linux15

[Ubuntu] apt-get install 오류 apt를 이용하여 프로그램을 설치할때 간혹 아래와 같은 에러가 발생하고는 합니다. 저 같은 경우는 jpcap때문에 문제가 생겼지만, 이건 경우마다 다르구요!! You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: jpcap:i386 : Depends: sun-java6-jdk:i386 but it is not installable Depends: libpcap0.8:i386 but it is not installed E: Unmet dependencies. Try using -f. 아무튼 "E: Unmet dependencies. Try using -f"이런 오류가.. 2015. 11. 9.
커널모듈에서 프로세스 이름으로 PID얻기 task구조체의 멤버변수인 comm에 프로세스 이름이 저장되어있으며, strcmp로 비교하여 프로세스명이 동일하게 되면 task->pid를 출력하면 된다. #include int getPID( void ) { unsigned long pid = 0; struct task_struct *task; for_each_process( task ){ if( (strcmp(task->comm, "target")) == 0 ) pid = task->pid; } return pid; } 2015. 10. 23.
4단계 페이지에서의 가상 메모리맵 0000000000000000 - 00007fffffffffff (=47 bits) user space, different per mmhole caused by [48:63] sign extension ffff800000000000 - ffff87ffffffffff (=43 bits) guard hole, reserved for hypervisor ffff880000000000 - ffffc7ffffffffff (=64 TB) direct mapping of all phys. memory ffffc80000000000 - ffffc8ffffffffff (=40 bits) hole ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space f.. 2015. 10. 23.
리눅스 최신 커널에서 발생하는 vmware 설치에러 에러 문구 1. 리눅스 커널 및 vmware 버전 zifan@Z1F4N{~}:uname -a Linux Z1F4N 3.19.8-ckt6 #3 SMP Mon Oct 19 17:12:48 KST 2015 x86\_64 x86\_64 x86\_64 GNU/Linux zifan@Z1F4N{~}:vmware -v VMware Workstation 11.0.0 build-2305329 2. vmware 설치 시 에러 문구 위의 이미지와 같이 vmware 11.0을 설치하게되면 아래의 문구로 경고창이 뜨게됩니다. (조치 후에 포스팅중이라 캡처본이 없네요..) "Before you can run VMware, several modules must be compiled and loaded into the running .. 2015. 10. 19.
728x90