Remove kaslr_enabled? method
parent
a1a4c636fb
commit
5bc24d048c
|
@ -110,17 +110,6 @@ module Kernel
|
||||||
raise 'Could not determine userns status'
|
raise 'Could not determine userns status'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
# Returns true if Kernel Address Space Layout Randomization (KASLR) is enabled
|
|
||||||
#
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
def kaslr_enabled?
|
|
||||||
cmd_exec('cat /proc/cmdline').include? 'kaslr'
|
|
||||||
rescue
|
|
||||||
raise 'Could not determine KASLR status'
|
|
||||||
end
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns true if Address Space Layout Randomization (ASLR) is enabled
|
# Returns true if Address Space Layout Randomization (ASLR) is enabled
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue