[ptp-helper] set none as permission opt 62/213662/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.010500 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063720 accepted/tizen/unified/20190916.043529 submit/tizen/20190911.030136 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 tizen_5.5.m2_release
authorEunhye Choi <eunhae1.choi@samsung.com>
Tue, 10 Sep 2019 03:41:20 +0000 (12:41 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Tue, 10 Sep 2019 03:41:22 +0000 (12:41 +0900)
- setuid bit is enabled by the default permission opt.
- set none for permission option to resolve security issue

Change-Id: Ic809b971a9a2f235a6905a8772b37a76a26cda1b

packaging/gstreamer.spec

index 15752a4..647ca61 100644 (file)
@@ -72,7 +72,7 @@ export CFLAGS="%{optflags} \
        -DTIZEN_FEATURE_MQ_MODIFICATION_EXTRA_SIZE_TIME\
        -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
        -DTIZEN_FEATURE_QUEUE_MODIFICATION\
-        -DTIZEN_FEATURE_FAKESINK_MODIFICATION\
+       -DTIZEN_FEATURE_FAKESINK_MODIFICATION\
 %if "%{tizen_profile_name}" == "tv"
        -DTIZEN_PROFILE_TV\
        -DTIZEN_FEATURE_TRUSTZONE\
@@ -95,7 +95,9 @@ export CFLAGS="%{optflags} \
         --enable-tv-profile\
 %endif
         --disable-examples\
-        --disable-tests
+        --disable-tests\
+        --with-ptp-helper-permissions=none
+
 make %{?_smp_mflags}
 
 %install