From: rread Date: Thu, 22 Aug 2002 21:38:56 +0000 (+0000) Subject: - don't touch /proc/sys/portals/debug_path in noexec mode X-Git-Tag: 0.5.5~74 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3875754597ffb7c201907b7844903724d8fa9163;p=fs%2Flustre-release.git - don't touch /proc/sys/portals/debug_path in noexec mode --- diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 328d418..6629347 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -1025,6 +1025,8 @@ def setupModulePath(cmd): def setDebugPath(): debug("debug path: ", config.debug_path()) + if config.noexec(): + return fp = open('/proc/sys/portals/debug_path', 'w') fp.write(config.debug_path()) fp.close()