Sha256: 37f7324af55c8f9a468bbe22283497ac3effcb4c29edd03c2eee58111b989c36

Contents?: true

Size: 370 Bytes

Versions: 72

Compression:

Stored size: 370 Bytes

Contents

require 'puppet/ffi/posix'

module Puppet::FFI::POSIX
  module Constants
    extend FFI::Library
  
    # Maximum number of supplementary groups (groups
    # that a user can be in plus its primary group)
    # (64 + 1 primary group)
    # Chosen a reasonable middle number from the list
    # https://www.j3e.de/ngroups.html
    MAXIMUM_NUMBER_OF_GROUPS = 65
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
puppet-6.29.0 lib/puppet/ffi/posix/constants.rb
puppet-6.29.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.29.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.29.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-6.28.0 lib/puppet/ffi/posix/constants.rb
puppet-6.28.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.28.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.28.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-6.27.0 lib/puppet/ffi/posix/constants.rb
puppet-6.27.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.27.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.27.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-6.26.0 lib/puppet/ffi/posix/constants.rb
puppet-6.26.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.26.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.26.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-6.25.1 lib/puppet/ffi/posix/constants.rb
puppet-6.25.1-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.25.1-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-6.25.1-universal-darwin lib/puppet/ffi/posix/constants.rb