dbus/tools
Hieu Van Nguyen eac87979dc dbus-uuidgen: Enable stack memory protection
Use "return" instead of "exit()" at the end of the main() function to
enable runtime stack overflow checks.

Using "return" allows the program to exit normally from main(), letting
the compiler perform necessary cleanup operations, including stack
canary verification.

When using "exit()" at the end of main(), the __stack_chk_fail function
is not invoked.

$ objdump -T ./util/.libs/mtp-hotplug | grep __stack_chk_fail
(This returns empty.)

Signed-off-by: Hieu Nguyen <nvhieudt11@gmail.com>
2025-10-09 11:39:10 +09:00
..
docker/windows CI: Build a newer GLib on Windows 2025-02-27 15:30:27 +00:00
.gitignore .gitignore: Ignore many more generated files 2018-12-14 13:28:50 +00:00
build-timestamp.py build: Add machine-readable licensing markers to the Meson build system 2022-07-13 20:36:13 +01:00
check-runstatedir.sh build: Show a warning if the system bus socket is not interoperable 2022-10-11 17:14:11 +01:00
ci-build.sh CI: Never run the test suites of subprojects 2025-02-27 19:27:06 +00:00
ci-install.sh CI: Install meson from bookworm-backports when using GLib subproject 2025-02-27 19:27:06 +00:00
cmake-format tools/cmake-format: Relicense to BSD-3-Clause 2022-11-29 13:33:53 +00:00
CMakeLists.txt tools/dbus-run-session: fix race between manual and automatically started dbus-daemon on Windows 2021-11-23 08:38:14 +01:00
dbus-cleanup-sockets.c tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
dbus-echo.c tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
dbus-launch-win.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-launch-x11.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-launch.c Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-launch.h Add SPDX license marker for the AFL-2.1 OR GPL-2.0-or-later license 2023-01-04 07:53:44 +00:00
dbus-monitor.c time: use dbus_int64_t for seconds instead of long 2023-08-23 14:42:05 +02:00
dbus-print-message.c time: use dbus_int64_t for seconds instead of long 2023-08-23 14:42:05 +02:00
dbus-print-message.h time: use dbus_int64_t for seconds instead of long 2023-08-23 14:42:05 +02:00
dbus-run-session.c time: use dbus_int64_t for seconds instead of long 2023-08-23 14:42:05 +02:00
dbus-send.c time: use dbus_int64_t for seconds instead of long 2023-08-23 14:42:05 +02:00
dbus-spam.c dbus-spam: Ensure that payload_len is always initialized 2024-09-25 14:42:15 +01:00
dbus-update-activation-environment.c Add SPDX license tags for the MIT (Expat) license, where straightforward 2023-08-14 17:18:04 +00:00
dbus-uuidgen.c dbus-uuidgen: Enable stack memory protection 2025-10-09 11:39:10 +09:00
disable-uac.rc Add Meson build system 2022-07-13 20:36:13 +01:00
GetAllMatchRules.py GetAllMatchRules: provide an example how it could be used 2014-10-06 12:10:51 +01:00
meson-compat-install-emptydirs.py meson: Allow sudo meson install, which doesn't set DESTDIR 2023-08-15 12:14:57 +00:00
meson-compat-install-symlink.py meson: Allow sudo meson install, which doesn't set DESTDIR 2023-08-15 12:14:57 +00:00
meson.build build: add -lsocket -lnsl if needed on illumos and older Solaris 2025-08-19 12:34:00 +00:00
run-with-tmp-session-bus.sh Use separate bus configuration files for executing test cases with a temporary session bus 2018-10-18 20:06:43 +02:00
test-tool.c tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
test-tool.h tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
tool-common.c tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
tool-common.h tools: Mark GPL-only files with SPDX license identifier 2022-11-29 13:33:53 +00:00
user-path.reg.in CI: Add running test cases for cross builds 2020-05-29 16:43:45 +02:00
Win32.Manifest Add Windows manifest to dbus-update-activation-environment.exe 2017-09-27 22:05:13 +02:00