Never install weston setuid
We don't support this anymore. weston requires a setuid helper (such as weston-launch) to run under kms, and should never run as root itself. Disabe the setuid warning in configure.ac since we now only install the minimal weston-launch as setuid.
This commit is contained in:
@@ -247,13 +247,3 @@ AC_CONFIG_FILES([Makefile
|
|||||||
protocol/Makefile
|
protocol/Makefile
|
||||||
tests/Makefile])
|
tests/Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
if test "x$enable_setuid_install" = xyes; then
|
|
||||||
AC_MSG_WARN([
|
|
||||||
|
|
||||||
*** You've enabled the setuid install hook. Weston is still a
|
|
||||||
*** pre-alpha project and may have bugs and issues that make a
|
|
||||||
*** setuid install unsafe. Proceed at your own risk.
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|||||||
@@ -62,14 +62,6 @@ install-exec-hook:
|
|||||||
chmod u+s $(DESTDIR)$(bindir)/weston-launch
|
chmod u+s $(DESTDIR)$(bindir)/weston-launch
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else # BUILD_WESTON_LAUNCH
|
|
||||||
|
|
||||||
if ENABLE_SETUID_INSTALL
|
|
||||||
install-exec-hook:
|
|
||||||
chown root $(DESTDIR)$(bindir)/weston
|
|
||||||
chmod u+s $(DESTDIR)$(bindir)/weston
|
|
||||||
endif
|
|
||||||
|
|
||||||
endif # BUILD_WESTON_LAUNCH
|
endif # BUILD_WESTON_LAUNCH
|
||||||
|
|
||||||
moduledir = @libdir@/weston
|
moduledir = @libdir@/weston
|
||||||
|
|||||||
Reference in New Issue
Block a user