summaryrefslogtreecommitdiff
path: root/Kernel/ProcessProcFSTraits.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-01-06 10:08:22 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2023-01-07 03:44:59 +0330
commit04221a753394cf87213551c69c7cd9a7d4a899cd (patch)
treee4f6ea1dac9f9b86502fb68eb2267e15e9a74e9e /Kernel/ProcessProcFSTraits.cpp
parenta03d42b098e3bd8fb1149231b449996ecad3047c (diff)
downloadserenity-04221a753394cf87213551c69c7cd9a7d4a899cd.zip
Kernel: Mark Process::jail() method as const
We really don't want callers of this function to accidentally change the jail, or even worse - remove the Process from an attached jail. To ensure this never happens, we can just declare this method as const so nobody can mutate it this way.
Diffstat (limited to 'Kernel/ProcessProcFSTraits.cpp')
0 files changed, 0 insertions, 0 deletions