diff options
| author | Nick Kralevich <nnk@google.com> | 2013-05-07 10:38:21 -0700 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2013-05-07 10:38:21 -0700 |
| commit | bc42132c0657ece8bb55c38f9c1a687835632103 (patch) | |
| tree | 3582ccbdc46c04d3dfd689e7702be51e454b92b5 /vm/compiler/codegen/x86/CodegenInterface.cpp | |
| parent | 17761d3bbb786efc9588f4a8e4f95e3eb9db7a66 (diff) | |
Don't emit a warning message on missing PR_SET_NO_NEW_PRIVS
If the kernel doesn't support PR_SET_NO_NEW_PRIVS, then
don't print a warning message. The warning message only serves
to confuse other people.
This change assumes that, if EINVAL is returned, the kernel is an
old kernel. Newer kernels have no option to disable PR_SET_NO_NEW_PRIVS,
so IMHO, this is a fair assumption.
Change-Id: I77b4769e1d93a9b2412ba5365227283761940fdc
Diffstat (limited to 'vm/compiler/codegen/x86/CodegenInterface.cpp')
0 files changed, 0 insertions, 0 deletions
