/usr/share/upstart/sessions/untrusted-helper.conf is in upstart-app-launch 0.3+14.04.20140411-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | description "Untrusted Helpers installed from Click Packages"
start on untrusted-helper-start
stop on untrusted-helper-end or desktop-end
instance ${HELPER_TYPE}:${INSTANCE_ID}:${APP_ID}
env APP_ID
env APP_EXEC="echo Error"
env HELPER_TYPE
env INSTANCE_ID=""
env APP_URIS
env UPSTART_APP_LAUNCH_ARCH="x86_64-linux-gnu"
export UPSTART_APP_LAUNCH_ARCH
apparmor switch ${APP_ID}
oom score 800
# This is unconfined
pre-start script
if [ -x "/usr/lib/x86_64-linux-gnu/upstart-app-launch/${HELPER_TYPE}/exec-tool" ] ; then
/usr/lib/x86_64-linux-gnu/upstart-app-launch/${HELPER_TYPE}/exec-tool
else
echo "Unable to find exec tool for ${HELPER_TYPE}"
exit -1
fi
end script
# Remember, this is confined
exec /usr/lib/x86_64-linux-gnu/upstart-app-launch/exec-line-exec
|