whoami7 - Manager
:
/
proc
/
self
/
root
/
usr
/
local
/
rvm
/
patches
/
ruby
/
2.4.0
/
Upload File:
files >> //proc/self/root/usr/local/rvm/patches/ruby/2.4.0/random_c_using_NR_prefix.patch
--- a/random.c +++ b/random.c @@ -505,7 +505,7 @@ CryptGenRandom(prov, size, seed); return 0; } -#elif defined __linux__ && defined SYS_getrandom +#elif defined __linux__ && defined __NR_getrandom #include <linux/random.h> # ifndef GRND_NONBLOCK @@ -522,7 +522,7 @@ if (!need_secure) flags = GRND_NONBLOCK; errno = 0; - ret = syscall(SYS_getrandom, seed, size, flags); + ret = syscall(__NR_getrandom, seed, size, flags); if (errno == ENOSYS) { ATOMIC_SET(try_syscall, 0); return -1;
Copyright ©2021 || Defacer Indonesia