Class: OsCtl::Lib::KernelKeyring::KeyUser
- Inherits:
-
Struct
- Object
- Struct
- OsCtl::Lib::KernelKeyring::KeyUser
- Defined in:
- lib/libosctl/kernel_keyring.rb
Instance Attribute Summary collapse
-
#maxbytes ⇒ Integer
readonly
The upper limit on the number of bytes in key payloads for the user.
-
#maxkeys ⇒ Integer
readonly
The maximum number of keys that the user may own.
-
#nikeys ⇒ Integer
readonly
The number of ‘nkeys` that have been instantiated.
-
#nkeys ⇒ Integer
readonly
The total number of keys owned by the user.
-
#qnbytes ⇒ Integer
readonly
The number of bytes consumed in payloads of the keys owned by this user.
-
#qnkeys ⇒ Integer
readonly
The number of keys owned by the user.
-
#uid ⇒ Integer
readonly
User ID.
-
#usage ⇒ Integer
readonly
Kernel-internal usage count.
Instance Attribute Details
#maxbytes ⇒ Integer (readonly)
Returns The upper limit on the number of bytes in key payloads for the user.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#maxkeys ⇒ Integer (readonly)
Returns The maximum number of keys that the user may own.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#nikeys ⇒ Integer (readonly)
Returns The number of ‘nkeys` that have been instantiated.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#nkeys ⇒ Integer (readonly)
Returns The total number of keys owned by the user.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#qnbytes ⇒ Integer (readonly)
Returns The number of bytes consumed in payloads of the keys owned by this user.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#qnkeys ⇒ Integer (readonly)
Returns The number of keys owned by the user.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#uid ⇒ Integer (readonly)
Returns User ID.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |
#usage ⇒ Integer (readonly)
Returns Kernel-internal usage count.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/libosctl/kernel_keyring.rb', line 20 KeyUser = Struct.new( :uid, :usage, :nkeys, :nikeys, :qnkeys, :maxkeys, :qnbytes, :maxbytes ) |