Sha256: 8b86173c1ea5db33e219095169f40fffcdc959feef7fa86a04e92cb3e921fe43

Contents?: true

Size: 417 Bytes

Versions: 28

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require_relative '../../../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

28 entries across 28 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/ffi/posix/constants.rb
puppet-8.10.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.10.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.10.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.9.0 lib/puppet/ffi/posix/constants.rb
puppet-8.9.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.9.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.9.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.8.1 lib/puppet/ffi/posix/constants.rb
puppet-8.8.1-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.8.1-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.8.1-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.7.0 lib/puppet/ffi/posix/constants.rb
puppet-8.7.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.7.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.7.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.6.0 lib/puppet/ffi/posix/constants.rb
puppet-8.6.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.6.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.6.0-universal-darwin lib/puppet/ffi/posix/constants.rb