kmx git
  • login
  • register

kc3-lang/libbsd/src

Diff

  • Show log

    Commit

  • Hash : 47013bc9
    Author : Guillem Jover
    Date : 2017-06-14T01:49:25

    Fix broken mmap() usage in nlist() by switching to pread()
    
    The offset is not page aligned, which makes mmap() return EINVAL on
    Linux. Switch to use pread() which handles unaligned offset and non-page
    sized reads, and because we are already loading parts of the executable
    by read() calls, so there's not much point in using mmap() anyway.
    

  • Files

  • Makefile.am
  • arc4random.c
  • arc4random.h
  • arc4random_openbsd.h
  • arc4random_uniform.c
  • arc4random_unix.h
  • bsd_getopt.c
  • chacha_private.h
  • closefrom.c
  • dehumanize_number.c
  • err.c
  • expand_number.c
  • explicit_bzero.c
  • fgetln.c
  • fgetwln.c
  • flopen.c
  • fmtcheck.c
  • fparseln.c
  • fpurge.c
  • funopen.c
  • getbsize.c
  • getentropy.c
  • getentropy_aix.c
  • getentropy_bsd.c
  • getentropy_hpux.c
  • getentropy_hurd.c
  • getentropy_linux.c
  • getentropy_osx.c
  • getentropy_solaris.c
  • getpeereid.c
  • hash/
  • heapsort.c
  • humanize_number.c
  • inet_net_pton.c
  • libbsd-ctor.pc.in
  • libbsd-overlay.pc.in
  • libbsd.map
  • libbsd.pc.in
  • local-elf.h
  • local-link.h
  • merge.c
  • nlist.c
  • pidfile.c
  • progname.c
  • radixsort.c
  • readpassphrase.c
  • reallocarray.c
  • reallocf.c
  • setmode.c
  • setproctitle.c
  • setproctitle_ctor.c
  • stringlist.c
  • strlcat.c
  • strlcpy.c
  • strmode.c
  • strnstr.c
  • strtonum.c
  • timeconv.c
  • unvis.c
  • vis.c
  • wcslcat.c
  • wcslcpy.c

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libbsd.git
    Git SSH git@git.kmx.io:kc3-lang/libbsd.git
    Public access ? public
    Description
    • Upstream
      • Homepage
      • Github
      • Gitlab
    • Fork
      • Github
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags
    • 0.9.1
    • 0.9.0
    • 0.8.7
    • 0.8.6
    • 0.8.5
    • 0.8.4
    • 0.8.3
    • 0.8.2
    • 0.8.1
    • 0.8.0
    • 0.7.0
    • 0.6.0
    • 0.5.2
    • 0.5.1
    • 0.5.0
    • 0.4.2
    • 0.4.1
    • 0.4.0
    • 0.3.0
    • 0.2.0
    • 0.11.7
    • 0.11.6
    • 0.11.5
    • 0.11.4
    • 0.11.3
    • 0.11.2
    • 0.11.1
    • 0.11.0
    • 0.10.0
    • 0.1.6
    • 0.1.5
    • 0.1.4
    • 0.1.3
    • 0.1.2
    • 0.1.1
    • 0.1.0
    • 0.0.1
    • 0.0

kmx.io     mail     discord kmxgit v0.4.0