remove environment functions for security accepted/tizen/unified/20200514.050646 submit/tizen/20200513.090930
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 May 2020 07:39:58 +0000 (16:39 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 May 2020 07:45:57 +0000 (16:45 +0900)
display/DisplayDenyPalmTouch.cpp

index a3fa98c..010221d 100644 (file)
@@ -33,10 +33,6 @@ DisplayDenyPalmTouch::DisplayDenyPalmTouch()
 
 int DisplayDenyPalmTouch::set(bool val)
 {
-       char *envString = getenv("XDG_RUNTIME_DIR");
-       if (nullptr == envString)
-               setenv("XDG_RUNTIME_DIR", "/run", 1);
-
        ecore_wl2_init();
        Ecore_Wl2_Display *displayHandle = ecore_wl2_display_connect(NULL);
        if (nullptr == displayHandle) {