Sha256: 7cd66136546634adacff599516dc7730e93d6cffb41a33f0cbed5d03516fdedf

Contents?: true

Size: 418 Bytes

Versions: 20

Compression:

Stored size: 418 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

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.3.0 lib/puppet/ffi/posix/constants.rb
puppet-8.3.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.3.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.3.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.3.1 lib/puppet/ffi/posix/constants.rb
puppet-8.3.1-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.3.1-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.3.1-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.2.0 lib/puppet/ffi/posix/constants.rb
puppet-8.2.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.2.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.2.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.1.0 lib/puppet/ffi/posix/constants.rb
puppet-8.1.0-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.1.0-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.1.0-universal-darwin lib/puppet/ffi/posix/constants.rb
puppet-8.0.1 lib/puppet/ffi/posix/constants.rb
puppet-8.0.1-x86-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.0.1-x64-mingw32 lib/puppet/ffi/posix/constants.rb
puppet-8.0.1-universal-darwin lib/puppet/ffi/posix/constants.rb