Edit

IABSD.fr/src

Branch :

  • Show log

    Commit

  • Author : deraadt
    Date : 2024-01-22 16:18:06
    Hash : 903e91b4
    Message : When getpwnam(3) reaches out to YP, it calls clntudp_create(3) with a pre-initialized ypconnect(2) socket. That calls clntudp_bufcreate(), which contains code checking if the socket and address are configured.. If not, socket(2) is called, or an address allocation is performed via the portmapper (which calls a whole lot more code). Split clnt_udp.c into two .c files (which will compile as seperate .o files), and create a new libc-private clntudp_bufcreate_simple() function which skips the socket and address work. Result: In most static binaries, this reduces the text segment by ~100K, and removes 5-7 system call stubs -- which might matter for non-pledged binaries with otherwise lack socket(2). ok millert jmatthew

  • Properties
  • Git HTTP https://git.kmx.io/IABSD.fr/src.git
    Git SSH git@git.kmx.io:IABSD.fr/src.git
    Public ? true
    Name IABSD base system sources
    Description

    https://www.iabsd.fr

    Users thodg Baptiste Jeancip
    Tags