summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-07-08 16:37:48 +0000
committerhrs <hrs@FreeBSD.org>2015-07-08 16:37:48 +0000
commit6a6f4266c7bdb95f45b0f4822b0f7e176a775549 (patch)
tree578a65a227f0ecaf6cfbf24323c2ec4b8d647d84 /contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent3702cad7147f84200a3eb8f9e08870b3dd1e04ba (diff)
downloadFreeBSD-src-6a6f4266c7bdb95f45b0f4822b0f7e176a775549.zip
FreeBSD-src-6a6f4266c7bdb95f45b0f4822b0f7e176a775549.tar.gz
Implement PF_IMMUTABLE flag and apply it to "name" and "jid" in
jail.conf parameters. This flag disallows redefinition of the parameter. "name" and/or "jid" are automatically defined in jail.conf by using the jail names at the front of jail parameter definitions. However, one could override them by using a variable with the same name like $name = "foo". This confused the parser and could end up with SIGSEGV. Note that this change also affects a case when all of parameters are defined in the command line arguments, not in jail.conf. Specifically, "jail -c name=j1 name=j2" no longer works. This should be harmless. PR: 196574 Reviewed by: jamie Differential Revision: https://reviews.freebsd.org/D3017
Diffstat (limited to 'contrib/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud