1. 09 9月, 2020 1 次提交
  2. 17 8月, 2020 1 次提交
  3. 02 8月, 2019 2 次提交
    • R
      move IPC_STAT definition to a new bits/ipcstat.h file · 006a75a9
      Rich Felker 提交于
      otherwise, 32-bit archs that could otherwise share the generic
      bits/ipc.h would need to duplicate the struct ipc_perm definition,
      obscuring the fact that it's the same. sysvipc is not widely used and
      these headers are not commonly included, so there is no performance
      gain to be had by limiting the number of indirectly included files
      here.
      
      files with the existing time32 definition of IPC_STAT are added to all
      current 32-bit archs now, so that when it's changed the change will
      show up as a change rather than addition of a new file where it's less
      obvious that the value is changing vs the generic one that was used
      before.
      006a75a9
    • R
      allow archs to define IPC_STAT, propagate time64 bit to other macros · 3c02bacf
      Rich Felker 提交于
      to make use of {sem,shm,msg}ctl IPC_STAT functionality to provide
      64-bit time_t on 32-bit archs, IPC_STAT and related macros must be
      defined with bit 8 (0x100) set. allow archs to define IPC_STAT in
      bits/ipc.h, and define the other macros in terms of it so that they
      all get the same value of the time64 bit.
      3c02bacf
  4. 11 12月, 2012 1 次提交
    • R
      fix regressions in app compatibility from previous sys/ipc.h changes · 490d4a0e
      Rich Felker 提交于
      despite glibc using __key and __seq rather than key and seq, some
      applications, notably busybox, assume the names are key and seq unless
      glibc is being used. and the names key and seq are really the ones
      that _should_ be exposed when not attempting to present a
      standards-conforming namespace; apps should not be using names that
      begin with double-underscore. thus, the optimal fix is to use key and
      seq as the actual names of the members when in bsd/gnu source profile,
      and define macros for __key and __seq that redirect to plain key and
      seq.
      490d4a0e
  5. 07 12月, 2012 2 次提交
    • R
      fix names of ipc_perm __key/__seq elements · d1b6fc6e
      Rich Felker 提交于
      previously the names were exposed as key/seq with _GNU_SOURCE and
      __ipc_perm_key/__ipc_perm/seq otherwise, whereas glibc always uses
      __key and __seq for the names. thus, the old behavior never matched
      glibc, and the new behavior always does, regardless of feature test
      macros.
      
      for now, i'm leaving the renaming here in sys/ipc.h where it's easy to
      change globally for all archs, in case something turns out to be
      wrong, but eventually the names could just be incorporated directly
      into the bits headers for each arch and the renaming removed.
      d1b6fc6e
    • R
      ipc.h: fix gnu aliases for key and seq in struct ipc_perm · f1bb7834
      rofl0r 提交于
      the macro was the wrong way round, additionally GNU defines
      __ prefixed versions, which are used by qemu.
      f1bb7834
  6. 08 9月, 2012 1 次提交
    • R
      default features: make musl usable without feature test macros · c1a9658b
      Rich Felker 提交于
      the old behavior of exposing nothing except plain ISO C can be
      obtained by defining __STRICT_ANSI__ or using a compiler option (such
      as -std=c99) that predefines it. the new default featureset is POSIX
      with XSI plus _BSD_SOURCE. any explicit feature test macros will
      inhibit the default.
      
      installation docs have also been updated to reflect this change.
      c1a9658b
  7. 14 4月, 2011 1 次提交
    • R
      numerous fixes to sysv ipc · 07e865cc
      Rich Felker 提交于
      some of these definitions were just plain wrong, others based on
      outdated ancient "non-64" versions of the kernel interface.
      
      as much as possible has now been moved out of bits/*
      
      these changes break abi (the old abi for these functions was wrong),
      but since they were not working anyway it can hardly matter.
      07e865cc
  8. 12 2月, 2011 1 次提交