Dashboard › opencode › Distillation
9b56e67c-e8d2-40ec-8f26-aea51ee002b8["lore_tm_v1_4BxX9GGRaBoVY4eQQHZ_20JvOVHaqQP62_q5nOZV_xM","lore_tm_v1_YlyYM-3NppOjb-8D8aoMQvJNq7dEFcGmZCvlZXVqfq4","lore_tm_v1_No2-uMHYA_34bge_Z_saWnRVpelKhSMSvHuBzhxA4b0"]
struct sockaddr_un.sun_family always contains AF_UNIX; on Linux, sun_path is 108 bytes.unix(7) documentation distinguishes 3 sockaddr_un address types: pathname sockets use a null-terminated filesystem path; unnamed sockets return length sizeof(sa_family_t) and sun_path must not be inspected; abstract sockets have sun_path[0] == '\0', are independent of the filesystem, and are a nonportable Linux extension.sun_path, a pathname including its terminator no larger than sun_path, and addrlen >= offsetof(struct sockaddr_un, sun_path)+strlen(addr.sun_path)+1 (or sizeof(struct sockaddr_un)). Returned addresses may lack a terminator if returned addrlen exceeds the input size; valid pathname length can be bounded with strnlen(addr.sun_path, addrlen - offsetof(sockaddr_un, sun_path)).SOCK_STREAM, reliable ordered SOCK_DGRAM, and, since Linux 2.6.4, connection-oriented message-preserving SOCK_SEQPACKET. UNIX-domain sockets can pass file descriptors and process credentials through ancillary data.SCM_RIGHTS passes references to open file descriptions via an integer file-descriptor array, semantically like dup(2) into another process. SCM_MAX_FD is 253, formerly 255 before Linux 2.6.38; excess received descriptors are automatically closed when ancillary storage is too small or RLIMIT_NOFILE would be exceeded.sendmsg(2)/recvmsg(2) with cmsg_level=SOL_SOCKET; only one item of each supported type (SCM_RIGHTS, SCM_CREDENTIALS, SCM_SECURITY) may appear per sent message. At least 1 byte of ordinary data is required for ancillary data over Linux SOCK_STREAM and recommended for portable datagram use. Missing or undersized msg_control discards/truncates ancillary data and sets MSG_CTRUNC.SO_PEERCRED returns peer credentials captured at connect(2), listen(2), or socketpair(2) and is available for connected AF_UNIX stream sockets plus AF_UNIX stream/datagram socket pairs. SO_PASSCRED enables receiving SCM_CREDENTIALS; default credentials include sender PID, real UID, and real GID.unlink(2). Abstract socket permissions and umask(2) have no access-control effect.2^20 addresses; Linux 2.1.15 originally used 8 bytes (2^32 addresses), changed to 5 bytes in Linux 2.3.15.SO_SNDBUF limits outgoing datagram size to the doubled socket-option value minus 32 bytes of overhead; SO_RCVBUF has no effect. AF_UNIX does not support MSG_OOB or MSG_MORE, and did not support MSG_TRUNC in recv(2) before Linux 3.4.EXEC files with no dynamic section. Each has 5 program headers, 22 section headers, section-header string-table index 19, 64-byte ELF headers, 56-byte program headers, 64-byte section headers, and a non-executable GNU_STACK mapped RW./tmp/opencode/pty-review-fresh-c/opencode-pty-supervisor has SHA-256 c5c09ece21c802868721dfc3e2610496ad9630c1b3a4c258104bc92b2bd9aca1; its ELF entry point is 0x46dda0, with LOAD segments 0x000000→0x400000 (FileSiz/MemSiz 0x147760, R E), 0x148000→0x548000 (0x163ab8, R), and 0x2ac000→0x6ac000 (FileSiz 0x01ae20, MemSiz 0x07f060, RW)./tmp/opencode/pty-review-fresh-c/opencode-pty-launcher has SHA-256 d833c859476f021565e8f425e6ee51353909060fa5f64ce629fb07d3411987dd; its ELF entry point is 0x464d00, with LOAD segments 0x000000→0x400000 (FileSiz/MemSiz 0x08a96c, R E), 0x08b000→0x48b000 (0x0aa4e8, R), and 0x136000→0x536000 (FileSiz 0x0099a0, MemSiz 0x06cfa0, RW)./tmp/opencode/pty-review-fresh-c/opencode-pty-client has SHA-256 fb8739d98ff7882782005e04ef731b6120e8daf0719e606362a1fe620adc2cde; its ELF entry point is 0x463980, with LOAD segments 0x000000→0x400000 (FileSiz/MemSiz 0x089e06, R E), 0x08a000→0x48a000 (0x0adb10, R), and 0x138000→0x538000 (FileSiz 0x009a20, MemSiz 0x06cfe0, RW).