# unix_sock的sock_stream_code **Repository Path**: suiren/unix-socks-sock-stream-code ## Basic Information - **Project Name**: unix_sock的sock_stream_code - **Description**: unix_sock的sock_stream 的代码阅读 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-07-06 - **Last Updated**: 2024-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 使用uml(user mode linux, 用户模式LINUX) 进行unix_sock的内核代码阅读. 编译linux kernel 1. 进入 linux-6.3.5 目录. 2. 执行 make menuconfig ARCH=um 3. 执行 make ARCH=um 编译 unix_socket的测试例程 1. 进入 unix_app目录 2. 执行 make.sh 3. 测试, 执行 test_unix.sh linux 访问主机文件 1. uml 内 执行, 意为 将主机目录 挂载到 uml的root目录下. mount none /root -t hostfs -o /主机目录